<?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 Mohammad Musab Khan on Medium]]></title>
        <description><![CDATA[Stories by Mohammad Musab Khan on Medium]]></description>
        <link>https://medium.com/@imusabkhan?source=rss-441d13110470------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8YehQm55hL_rHC8PHy-yLA.jpeg</url>
            <title>Stories by Mohammad Musab Khan on Medium</title>
            <link>https://medium.com/@imusabkhan?source=rss-441d13110470------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 07:09:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@imusabkhan/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[AT&T Bug Bounty Program Scope]]></title>
            <link>https://medium.com/@imusabkhan/at-t-bug-bounty-program-scope-ae256fbf1bf9?source=rss-441d13110470------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae256fbf1bf9</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[att]]></category>
            <category><![CDATA[writeup]]></category>
            <category><![CDATA[hackerone]]></category>
            <dc:creator><![CDATA[Mohammad Musab Khan]]></dc:creator>
            <pubDate>Tue, 02 Jul 2024 07:47:01 GMT</pubDate>
            <atom:updated>2024-07-02T07:53:51.100Z</atom:updated>
            <content:encoded><![CDATA[<p>Assalam Alaikum everyone! I hope you’re all doing well. I decided to write this article to address a common question about the <strong>scope of AT&amp;T’s bug bounty program</strong>. Many beginners struggle to understand what falls within the scope, leading them to spend time on the wrong assets and often feeling demotivated. In this article, I’ll share my experiences and insights on AT&amp;T’s scope to help you focus your efforts in the right direction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4PALulhGO6JPFQxq2jZm7w.png" /></figure><p>AT&amp;T is one of the large scope programs, meaning that everything that AT&amp;T owns and manages is included within its scope. But what exactly does “everything” mean when I say that? Essentially, it means that almost all of AT&amp;T’s digital assets are in scope, except for those specifically mentioned in the HackerOne scope section as <strong>“Out of scope.”</strong></p><p><strong>Note:</strong> <em>Keep in mind that this article is not about reconnaissance but rather focuses on confirming asset ownership.</em></p><blockquote><a href="https://hackerone.com/att/policy_scopes">https://hackerone.com/att/policy_scopes</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uSO5q0-1J6n1RJ-G3L6Y2w.png" /></figure><p>There are a few assets that are very clear regarding the scope of AT&amp;T with zero doubts, and two of them are <strong><em>*.att.com</em></strong> and <strong><em>*.att.com.mx</em></strong>. All subdomains of these two domains are considered in-scope assets, so you can confidently hunt on any of them without hesitation.</p><p>Let’s discuss how to confirm which assets are owned by AT&amp;T. With its numerous subsidiaries, it can be challenging to pinpoint exactly what belongs to AT&amp;T. <strong>Based on my experience hunting for AT&amp;T, I’ve found a few effective methods to identify unique assets that fall within their scope</strong>.</p><p>In my initial days, one of the first things I learned was to search for assets using the</p><ol><li>Legal name which is <strong>“AT&amp;T SERVICES, INC”</strong></li><li>AT&amp;T Branding — AT&amp;T Logo / Color theme of the Brand</li><li>Copyright notice and trademark attribution</li></ol><p><strong>WHOIS</strong> is very helpful for finding the organization name, which you can use to verify other assets. If they share the same organization name, it confirms the ownership of the asset.</p><p>The following command will provide the organization name if it is publicly visible:</p><pre>whois att.com | grep Org</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6LkJPYucyTFbEcku1_rPUg.png" /></figure><p>Branding can often be confirmed through the official website, but it’s important to note that not all assets will prominently display a logo. Therefore, it’s crucial to stay vigilant when searching for assets.</p><p>For instance, an in-scope asset without a <strong>visible logo</strong> is: <a href="https://miattweb.att.com.mx/">https://miattweb.att.com.mx/</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qqnljIR28wDUH4QkPI3KVw.png" /></figure><p>And finally, there’s the <strong>copyright notice and trademark attribution</strong> mentioned in the footer of websites. While not all assets include this section, branding and domain details can still provide confidence about in-scope assets.</p><p>For instance, an in-scope asset without a copyright notice is: <a href="https://miattweb.att.com.mx/">https://miattweb.att.com.mx/</a>.</p><figure><img alt="https://www.att.com/" src="https://cdn-images-1.medium.com/max/1024/1*B9dx1FsjNUwUAfIoUCJ3Yw.png" /></figure><p>Sometimes, basic Google dorks can help you confirm the asset ownership as well.</p><pre>site:att.com -www &quot;asset.com&quot;</pre><p>If the details are mentioned on the official website, then there’s a good chance that the asset belongs to AT&amp;T.</p><p>To complete the article, let’s refine and summarize the discussion on confirming and finding assets, using the example of <a href="http://att.net/"><strong><em>att.net</em></strong></a><strong><em>:</em></strong></p><p><strong><em>“att.net”</em></strong> is a domain owned by AT&amp;T, primarily serving as a web portal and email service for AT&amp;T customers. While the main domain is owned by AT&amp;T, not all subdomains “<strong><em>*.att.net”</em></strong> are included in their bug bounty program scope.</p><p>In such cases, effective reconnaissance skills are crucial to identify assets beyond the main domain. Here’s an example of the domain with branding and copyright details.</p><p><a href="https://lsreg.att.net/">https://lsreg.att.net/</a><br><a href="https://ipnetwork.bgtmo.ip.att.net/pws/">https://ipnetwork.bgtmo.ip.att.net/pws/</a></p><p>Soon, <strong>Insha Allah</strong>, I will share the detailed article about finding hidden assets through different methods. For now, Allah Hafiz and take care.</p><blockquote><em>If you found this article helpful, show your appreciation by supporting me through </em><a href="https://www.buymeacoffee.com/imusabkhan"><strong><em>Buy Me a Coffee</em></strong></a><em>.</em><strong><em><br></em></strong><a href="https://www.buymeacoffee.com/imusabkhan"><em>https://www.buymeacoffee.com/imusabkhan</em></a></blockquote><p>I hope you found this write-up interesting. If you have any queries, feel free to reach out to me at <em>musabkhan.queries@gmail.com</em>. Also, don’t forget to follow me on my social media profiles for more updates. Thank you for reading!</p><p><strong>Youtube:</strong> <a href="https://www.youtube.com/musabkhan">https://www.youtube.com/musabkhan</a><br><strong>Linkedin:</strong> <a href="https://www.linkedin.com/in/musab1995/">https://www.linkedin.com/in/musab1995/</a><br><strong>Twitter:</strong> <a href="https://twitter.com/Musab1995">https://twitter.com/Musab1995</a><br><strong>Facebook:</strong> <a href="https://www.facebook.com/imusabkhan">https://www.facebook.com/imusabkhan</a><br><strong>Github:</strong> <a href="https://github.com/imusabkhan/">https://github.com/imusabkhan/</a><br><strong>Instagram:</strong> imusabkhan</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*N1hD6Sk527Tf3hcv" /><figcaption>Photo by <a href="https://unsplash.com/@artbyhybrid?utm_source=medium&amp;utm_medium=referral">Madison Oren</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae256fbf1bf9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Wazuh Agent Connectivity Issues on Linode Marketplace Image]]></title>
            <link>https://medium.com/@imusabkhan/wazuh-agent-connectivity-issues-on-linode-marketplace-image-00583819d35f?source=rss-441d13110470------2</link>
            <guid isPermaLink="false">https://medium.com/p/00583819d35f</guid>
            <dc:creator><![CDATA[Mohammad Musab Khan]]></dc:creator>
            <pubDate>Tue, 18 Jun 2024 22:10:51 GMT</pubDate>
            <atom:updated>2024-06-18T22:55:28.307Z</atom:updated>
            <content:encoded><![CDATA[<p>Assalam Alaikum everyone! Welcome to another article after a long time. This article isn’t about bug bounties or vulnerabilities. Instead, it focuses on the challenges of setting up an open-source SIEM solution called Wazuh.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bLAzYtBaz0-Ibcyhn2SABw.png" /></figure><blockquote>I was exploring the capabilities of Wazuh Server and decided to set it up using the Linode Marketplace image for its straightforward setup process. Initially, everything seemed smooth sailing. However, I hit a roadblock when my Wazuh agents wouldn’t show up on the Wazuh Server Dashboard. After spending hours troubleshooting, I finally pinpointed the issue and found a solution. If you’re facing similar problems, don’t worry — I’m here to share what I learned to help you resolve Wazuh agent connectivity issues.</blockquote><p>I found <strong>three (03) potential solutions</strong> for connecting the <strong>Wazuh agent </strong>to the<strong> Wazuh server</strong>. If you’re using the Linode Marketplace Image, the second and third methods will work best for you in sequence.</p><ol><li>Verify Agent Configuration (Client Machine)</li><li>Generate a New Registration Key (Wazuh Server)</li><li>Allow Ports via UFW (Wazuh Server)</li></ol><p>Let’s start with our first method to solve this issue. I didn’t encounter this problem with the <strong>Wazuh Linode Marketplace Image</strong>, but I’m mentioning it here in case it works for you.</p><blockquote><strong>Verify Agent Configuration (Client Machine)</strong></blockquote><p>First, log in to the <strong>client</strong> <strong>machine</strong> via <strong><em>SSH</em></strong> or use the <strong><em>Launch Lish Console</em></strong> option in the Linode Dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N_QVAuxq-FkW5EIG6l14mg.png" /></figure><p>Ensure that the Wazuh agent configuration file <strong>(ossec.conf)</strong> on your Wazuh client machine contains the correct <strong>IP address of the Wazuh manager</strong>. Here’s how to check and update it if necessary:</p><p><strong>Note:</strong> <em>The Wazuh agent must be installed on the client to access the following file; otherwise, the file will not be available.</em></p><pre>sudo nano /var/ossec/etc/ossec.conf<br><br>&lt;client&gt;<br>  &lt;server&gt;<br>    &lt;address&gt;your-wazuh-server-ip&lt;/address&gt;<br>    &lt;port&gt;1514&lt;/port&gt;<br>  &lt;/server&gt;<br>&lt;/client&gt;</pre><p>Look for the <strong><em>&lt;client&gt;</em></strong> section and verify that <strong><em>&lt;address&gt;</em></strong> is set to the <strong><em>IP address of your Wazuh manager (Wazuh server)</em></strong>.</p><blockquote>Generate a New Registration Key (Wazuh Server)</blockquote><p>If the agent is still not connecting, regenerate the registration key for the Wazuh agent. This ensures that the agent configuration is correctly synchronized with the Wazuh server.</p><p><em>I was able to solve the agent connectivity issue on the </em><strong><em>Linode Marketplace Wazuh Image</em></strong><em> using this method.</em></p><p>Here are the step-by-step guide for you:</p><p>1. <em>On your </em><strong><em>Wazuh server</em></strong><em>, run the manage_agents tool:</em></p><pre>sudo /var/ossec/bin/manage_agents</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vYd-Ril3u2m4oMm-u9c2TQ.png" /></figure><blockquote>1. Press ‘R’ to remove the existing agent entry if it exists (optional but recommended to clear any stale configurations)</blockquote><blockquote>2. Press ‘A’ to add a new agent. Provide a descriptive name for the agent and the <strong>IP address</strong> of the <strong>(client Machine)</strong> when prompted.</blockquote><blockquote>3. Press ‘E’ to extract the key for an agent</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ASD0wMnO0qbToDBwcKM-Pg.png" /></figure><blockquote>Press ‘E’ to extract the key for an agent</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xLRcD4q0UVj_JWU7WBWSdQ.png" /></figure><p><strong><em>“manage_agents”</em></strong><em> </em>tool will generate a new registration key for the agent. Note down this key as you will need it in the next step<em>.</em></p><p>So far, we have generated the registration key on the <strong>Wazuh server</strong>. Next, we will add this key to the Wazuh agent on the client machine to enable communication with the Wazuh server. Here’s how to proceed:</p><p>Log in to the client machine where the Wazuh agent is installed, and navigate to the installation directory</p><pre>cd /var/ossec/bin</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SmVUDTtdZK72HaXza9hybg.png" /></figure><p>Now execute the manage_agents utility in the current directory</p><pre>./manage_agents</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JWuaTRU5-ke1abP6_ZWsDA.png" /></figure><p>Once you import the key, the manage_agents utility will display the agent information in the response, confirming the successful registration. This information typically includes details such as the agent ID, name, IP address, and status.</p><p>Now, the final step is to restart the Wazuh agent service, and you’re all set to go.</p><pre>systemctl restart wazuh-agent</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FWJZ3HAIRrpjsBj4leAavQ.png" /></figure><p>At this stage, you’ll need to wait a few minutes for all changes to take effect. Afterward, log back into the Wazuh Dashboard panel.</p><p>If everything has been set up correctly, you should see the <strong><em>‘active agents’</em></strong> displayed on your dashboard. This confirms that the Wazuh agents are successfully connected and communicating with the Wazuh server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_wTgYOFL3PWekkcd5MqvVA.jpeg" /></figure><blockquote>Allow Ports via UFW (Wazuh Server)</blockquote><p>To ensure proper communication between Wazuh agents and the Wazuh server, you need to allow inbound connections on both <strong>ports 1515/tcp and 1514/tcp</strong> through your firewall (such as UFW) on the Wazuh server. This allows the agents to send their logs and security events to the server effectively.</p><p>To verify that a specific port is not allowed (blocked) in the UFW firewall, you can use the following command::</p><pre>sudo ufw status</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4RgtPkmnpdaka-9C4LaVmQ.png" /></figure><p>UFW is very user-friendly for basic tasks; simply use the following command to allow ports:</p><pre>sudo ufw allow 1515/tcp<br>sudo ufw allow 1514/tcp</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*bYffhYwBydn9ce4fsFIpzg.png" /></figure><p>The final status of the firewall should be as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XTZqy6ZkzZgNimPYzHiKrQ.png" /></figure><p>Once the communication port is allowed, all you need to do is visit the Wazuh panel after a few minutes and expect the connectivity issue to be resolved.</p><blockquote><em>If you found this article helpful, show your appreciation by supporting me through </em><a href="https://www.buymeacoffee.com/imusabkhan"><strong><em>Buy Me a Coffee</em></strong></a><em>.</em><strong><em><br></em></strong><a href="https://www.buymeacoffee.com/imusabkhan"><em>https://www.buymeacoffee.com/imusabkhan</em></a></blockquote><p>If you have any queries, feel free to reach out to me at <em>musabkhan.queries@gmail.com</em>. Also, don’t forget to follow me on my social media profiles for more updates. Thank you for reading!</p><p><strong>Youtube:</strong> <a href="https://www.youtube.com/musabkhan">https://www.youtube.com/musabkhan</a><br><strong>Linkedin:</strong> <a href="https://www.linkedin.com/in/musab1995/">https://www.linkedin.com/in/musab1995/</a><br><strong>Twitter:</strong> <a href="https://twitter.com/Musab1995">https://twitter.com/Musab1995</a><br><strong>Facebook:</strong> <a href="https://www.facebook.com/imusabkhan">https://www.facebook.com/imusabkhan</a><br><strong>Github:</strong> <a href="https://github.com/imusabkhan/">https://github.com/imusabkhan/</a><br><strong>Instagram:</strong> imusabkhan</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ETigjI0IugrDvXpp" /><figcaption>Photo by <a href="https://unsplash.com/@minhphamdesign?utm_source=medium&amp;utm_medium=referral">Minh Pham</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=00583819d35f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Struggling RCE on Jenkins Instance]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@imusabkhan/struggling-rce-on-jenkins-instance-8851af98b7e6?source=rss-441d13110470------2"><img src="https://cdn-images-1.medium.com/max/1536/1*dayDD4pijzEukRXKTS0MdQ.jpeg" width="1536"></a></p><p class="medium-feed-snippet">Assalam Alaikum everyone! Welcome to another bug hunting write-up about Jenkins Remote Code Execution, which I reported four years ago on&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@imusabkhan/struggling-rce-on-jenkins-instance-8851af98b7e6?source=rss-441d13110470------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@imusabkhan/struggling-rce-on-jenkins-instance-8851af98b7e6?source=rss-441d13110470------2</link>
            <guid isPermaLink="false">https://medium.com/p/8851af98b7e6</guid>
            <category><![CDATA[hacker]]></category>
            <category><![CDATA[bugs]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[remote-code-execution]]></category>
            <dc:creator><![CDATA[Mohammad Musab Khan]]></dc:creator>
            <pubDate>Wed, 03 Apr 2024 20:02:55 GMT</pubDate>
            <atom:updated>2024-04-07T15:28:20.631Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[A Journey into Unusual Header Injection]]></title>
            <link>https://medium.com/@imusabkhan/a-journey-into-unusual-header-injection-693cc0ddecc6?source=rss-441d13110470------2</link>
            <guid isPermaLink="false">https://medium.com/p/693cc0ddecc6</guid>
            <category><![CDATA[hackerone]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-hunting]]></category>
            <dc:creator><![CDATA[Mohammad Musab Khan]]></dc:creator>
            <pubDate>Sat, 30 Mar 2024 18:49:09 GMT</pubDate>
            <atom:updated>2024-04-07T15:27:58.733Z</atom:updated>
            <content:encoded><![CDATA[<p>Assalam Alaikum everyone! Welcome to another bug hunting write-up. As you all know, especially those who follow me on Twitter, I have been hunting AT&amp;T for a long time.</p><p>This write-up is about my experience with an <em>unusual header injection</em> that earned me a $300 bounty due to its strange behavior. Of course, my target was none other than AT&amp;T! 😄</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Maw-kUJMe3ZOYuij" /><figcaption>Photo by <a href="https://unsplash.com/@clarktibbs?utm_source=medium&amp;utm_medium=referral">Clark Tibbs</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Let’s Unleash the Bug-Hunting Chronicles</h3><p>This bug was reported back in 2020, and the vulnerable site has now been taken down and is no longer accessible to anyone. Therefore, we will not use the term <strong>‘REDACTED’</strong>.</p><p>As part of my regular practice, I first seek out interesting domains. This led me to discover <strong>“</strong><a href="https://sso-test.att.com/"><strong>https://sso-test.att.com/</strong></a><strong>&quot;</strong>, a site with registration and login functionality.</p><p>If you are a penetration tester or bug bounty hunter, then you know that these two functionalities have a lot to test, especially in bug hunting.</p><p>Here are a few examples of vulnerabilities I checked in the registration functionality.</p><ol><li>Host Header Injection</li><li>Input validation (Including all injection attacks like SSTI, XSS, SQLi)</li><li>Rate Limitation</li><li>Password Length Limitation</li></ol><p>Before I start testing any attack vectors, I go through the entire application and observe its behavior so that I can later exploit any vulnerabilities during specific use case.</p><p>It’s a good practice, and <strong><em>I suggest beginners to avoid directly using any payloads without observing the application behavior</em></strong>. This approach helps you discover more vulnerabilities rather than blindly spraying payloads into all input fields.</p><p>After exploring the registration functionality, I proceeded to test for vulnerabilities like Rate Limitation, but unfortunately, it didn’t work out.</p><p>I had expected that such low-hanging fruits would have been reported by other bug hunters.</p><p>Then I moved to Password Reset Poisoning via Host Header Injection. During testing, one of the <em>Burp Suite extensions</em> called <a href="https://portswigger.net/bappstore/2495f6fb364d48c3b6c984e226c02968"><strong>“Collaborator Everywhere”</strong></a> was active in the background.</p><p>I modified the Host Header in the password reset request to something malicious like “hacker.com” .</p><pre>POST /password-reset HTTP/1.1<br>Host: hacker.com</pre><p>But when I received the password reset email, I noticed that the password reset token did not contain the malicious header I had modified in the previous request.</p><pre>https://sso-test.att.com/password/reset?token=1010101010110010</pre><p>This behavior was expected, as these vulnerabilities are considered low-hanging fruit and are often the first targets for many bug hunters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*Y9DOS-ql2tk1UHbCuIJX2Q.jpeg" /></figure><p>Well, it appears that the application is not vulnerable to host header injection. When I clicked on the password reset link from the email, it redirected me to the “<strong>‘password change”</strong> page as expected.</p><figure><img alt="Picture Source: https://backendless.com/how-to-change-users-password-via-api-if-user-cannot-login-paid-plan/" src="https://cdn-images-1.medium.com/max/1024/1*ohwJ7f8WnAxFZYh4NxqeWw.jpeg" /></figure><p>As soon as I updated my password, it quickly redirected me to a domain called <em>“asdqweqw.burpcollaborator.net”</em> <strong>Yes, you read it right.</strong></p><blockquote>“burpcollaborator.net” is a component of <a href="https://www.youtube.com/watch?v=sGe7rHg80-k&amp;ab_channel=MusabKhan">Burp Collaborator</a>, which is often utilized for detecting Out-of-Band (OOB) vulnerabilities.</blockquote><p>At this point, I was certain that <a href="https://portswigger.net/bappstore/2495f6fb364d48c3b6c984e226c02968">“Collaborator Everywhere”</a> had injected something into the password reset request.</p><p>After a thorough investigation, I discovered that the culprit was the “X-Forwarded-Host” header injected by <a href="https://portswigger.net/bappstore/2495f6fb364d48c3b6c984e226c02968">“Collaborator Everywhere”</a> along with its payload.</p><pre>POST /password-reset HTTP/1.1<br>Host: sso-test.att.com<br>X-Forwarded-Host: evil.com</pre><p>I swiftly compiled all evidence and reported this behavior to HackerOne with the following summary:</p><blockquote>The vulnerability exists in the Password Reset Token Functionality. When I attempted to reset my password with the “X-Forwarded-Host: mysite.com” header and submitted the request, I received the normal legitimate request with a secret token to reset my password. However, when I opened the password reset token URL and changed my password to a new one, I was redirected to “mysite.com” as mentioned earlier.</blockquote><blockquote>An attacker could exploit this to steal the secret token and execute a highly effective phishing attack, impersonating “<a href="https://sso-test.test.com/">https://sso-test.att.com/</a>&quot; and leading to an account takeover.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*vOKdTCjAZayDSFVXW3I1xA.jpeg" /></figure><p>The bug was reported on <strong>April 13, 2020</strong>, and was closed as “Informative” by the HackerOne Triage team the very next day <strong>April 14, 2020</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lqvq2118rbagziShRBv0XA.png" /></figure><p>After providing additional details and requesting a review of the attached working proof of concept, I was able to reopen the report, and it was triaged on the same day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WfkdBMcxPCmOiFvj58FLEg.png" /></figure><p>And after two months of triage, I was awarded a $300 bounty by AT&amp;T.</p><p>To conclude the write-up, I have not encountered the same behavior in any other application since then.</p><blockquote>If you found this article helpful, show your appreciation by supporting me through <a href="https://www.buymeacoffee.com/imusabkhan"><strong>Buy Me a Coffee</strong></a>.<strong><br></strong><a href="https://www.buymeacoffee.com/imusabkhan">https://www.buymeacoffee.com/imusabkhan</a></blockquote><p>To conclude the write-up, I have not encountered the same behavior in any other application since then.</p><p>I hope you found this write-up interesting. If you have any queries, feel free to reach out to me at <em>musabkhan.queries@gmail.com</em>. Also, don’t forget to follow me on my social media profiles for more updates. Thank you for reading!</p><p><strong>Youtube:</strong> <br><a href="https://www.youtube.com/musabkhan">https://www.youtube.com/musabkhan</a></p><p><strong>Linkedin:</strong> <br><a href="https://www.linkedin.com/in/musab1995/">https://www.linkedin.com/in/musab1995/</a></p><p><strong>Twitter:</strong> <br><a href="https://twitter.com/Musab1995">https://twitter.com/Musab1995</a></p><p><strong>Facebook:</strong> <br><a href="https://www.facebook.com/imusabkhan">https://www.facebook.com/imusabkhan</a></p><p><strong>Github:</strong> <br><a href="https://github.com/imusabkhan/">https://github.com/imusabkhan/</a></p><p><strong>Instagram:</strong> <br><a href="https://www.instagram.com/imusabkhan/">https://www.instagram.com/imusabkhan/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HCAiy1EK7lMwwx6D" /><figcaption>Photo by <a href="https://unsplash.com/@aaronburden?utm_source=medium&amp;utm_medium=referral">Aaron Burden</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=693cc0ddecc6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unveiling Homoglyph: Silent Culprit of User-Level DOS Attacks]]></title>
            <link>https://medium.com/@imusabkhan/unveiling-homoglyph-silent-culprit-of-user-level-dos-attacks-86a0576bca3a?source=rss-441d13110470------2</link>
            <guid isPermaLink="false">https://medium.com/p/86a0576bca3a</guid>
            <category><![CDATA[bug-hunting]]></category>
            <category><![CDATA[hackerone]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bugcrowd]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <dc:creator><![CDATA[Mohammad Musab Khan]]></dc:creator>
            <pubDate>Mon, 25 Mar 2024 22:04:29 GMT</pubDate>
            <atom:updated>2024-04-07T15:28:46.773Z</atom:updated>
            <content:encoded><![CDATA[<h3>Unveiling Homoglyph Attack: Silent Culprit of User-Level DOS Attacks</h3><p>Assalam Alaikum everyone! Today I’m excited to share my first bug bounty write-up with you. But before we dive into the technical details, let me introduce myself briefly.</p><h3>About Me:</h3><p>I’m Mohammad Musab Khan, and I’ve been working in cybersecurity for 5 years. I specialize in <a href="https://hackerone.com/musabkhan">bug hunting</a>, penetration testing, and <a href="https://www.youtube.com/musabkhan">creating content</a> in this field. One of my favourite hunting grounds is <a href="https://hackerone.com/att">AT&amp;T</a> because of its wide range of opportunities and decent bounty rewards.</p><p>Join me as I take you on a journey into the exciting world of bug hunting and share insights from my experiences in cybersecurity!</p><p>I invest a lot of time in finding new or undiscovered assets. Although it takes time, this makes finding bugs easier because there’s less competition</p><p>While looking for new assets, I found my target domain with a static page. Let’s call it <strong>redacted.com</strong></p><p>I ran ffuf on <strong>redacted.com</strong> and discovered an endpoint that includes both the registration and login pages.</p><pre>ffuf -c -u &quot;https://redacted.com/FUZZ&quot; -r -ac -ic -w raft-large-wordlist.txt</pre><p><a href="https://redacted.com/">https://<strong>redacted.com</strong></a><a href="https://www.mobiletelltd.com/account/my-account">/account/my-account</a></p><p>At that moment, I wasn’t expecting much, but when I encountered the registration functionality, numerous test cases popped into my mind, and one of them was the <strong>Homoglyph attack</strong>.</p><p>For those of you who are not familiar with <strong>Homoglyph, </strong>here is a brief description.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w5zCMYYDMGOOcmorK8N7-Q.jpeg" /></figure><p><strong>Homoglyph characters</strong> are special characters or combinations of characters that look visually similar or identical to other characters, symbols, or numbers. These characters can be deceptive because they appear nearly identical to the human eye, but they represent different Unicode code points.</p><p><strong>Homoglyphs</strong> are often used in phishing attacks, spoofing, and other malicious activities to trick users into thinking they are interacting with legitimate content or entities.</p><p><strong>For Example<br></strong><a href="https://www.irongeek.com/homoglyph-attack-generator.php">https://www.irongeek.com/homoglyph-attack-generator.php</a></p><pre>+=======================+=======================+================================================+<br>|   &quot;Original Email&quot;    | &quot;Homoglyph Email(s)&quot;  |                 &quot;Differences&quot;                  |<br>+=======================+=======================+================================================+<br>| musab+poc@example.com | musab+рoc@example.com | &quot;p&quot; replaced with Cyrillic &quot;р&quot;                 |<br>+-----------------------+-----------------------+------------------------------------------------+<br>|                       | musab+pоc@example.com | &quot;o&quot; replaced with Cyrillic &quot;о&quot;                 |<br>+-----------------------+-----------------------+------------------------------------------------+<br>|                       | musab+pοc@example.com | &quot;o&quot; replaced with Greek &quot;ο&quot;                    |<br>+-----------------------+-----------------------+------------------------------------------------+             <br>|                       | musаb+pоc@example.com | &quot;a&quot; replaced with Cyrillic &quot;а&quot;                 |<br>+-----------------------+-----------------------+------------------------------------------------+<br>|                       | musаb+pос@example.com | &quot;a&quot; and &quot;o&quot; replaced with Cyrillic &quot;а&quot; and &quot;с&quot; |<br>+-----------------------+-----------------------+------------------------------------------------+<br>| musab+poc@example.com | musab+póc@example.com | &quot;ó&quot; replaced with Cyrillic &quot;o&quot;                 |<br>+-----------------------+-----------------------+------------------------------------------------+</pre><p>I quickly attempted an account takeover using a <a href="https://www.irongeek.com/homoglyph-attack-generator.php">Homoglyph attack generator</a>. Here are the steps I tried and the outcome:</p><ol><li>I attempted to create an account using the original email address:<br><strong>Original email address:</strong> musab+poc@example.com</li><li>Next, I tried to register the same email address using a homoglyph character: <br><strong>Homoglyph email address:</strong> musab+póс@example.com</li><li>Unfortunately, I was not able to create an account with the <strong>homoglyph email address</strong> because the email address is already in use.</li><li>I then attempted to reset the password using the homoglyph email address <strong>“musab+póс@example.com”</strong>, but the application sent the password reset link to the original email address.</li></ol><p>At this point, I was confident that the application was performing some kind of conversion, such as <strong>homoglyph to ASCII</strong>. This is why the password reset link was generated with the <strong><em>homoglyph email address </em>“musab+póс@example.com”</strong> but sent to the <strong><em>original email address </em>“musab+poс@example.com”</strong>.</p><p><strong>It looks like the first method failed successfully! </strong>😞</p><p>Well, Step #4 provided me with enough hints to try something else 🤔. This time, I reversed the account registration process 🔍.</p><ol><li>I attempted to create an account using the <strong>homoglyph</strong> email address:<br><strong>Homoglyph email address:</strong> musab+póс@example.com</li><li>Next, I tried to register with the original email address <br><strong>Original email address:</strong> musab+poс@example.com</li><li>As expected, I was not able to create an account with the Original email address because the email address is already in use because of first step.</li><li>I then attempted to reset the password using the homoglyph email address <strong>“musab+póс@example.com”</strong>, but this time, I didn’t receive any password reset link on my registered email. <strong><em>This was very surprising, because when i tried first time, i got the password reset link on original email address.</em></strong></li><li>I quickly attempted to reset the password with the original email address again, but this time, I didn’t receive the password reset link on any email address.</li></ol><blockquote>Congratulations! 🎉👏 We’ve got something here! 😄</blockquote><p>This behavior opens up a potential vulnerability that could be exploited by attackers to disrupt the registration and password reset process for legitimate users.<br>Imagine a situation where an attacker intentionally blocks users from registering or resetting passwords.</p><p>The only factor that reduces the severity of this vulnerability is that it requires the attacker to register before the legitimate user registers on the platform.</p><p>I reported this vulnerability along with the <strong>Captcha Bypass</strong> to demonstrate the impact of this vulnerability, which we will discuss another day. Until then, take care and don’t forget to follow me here. 😊</p><blockquote>If you found this article helpful, show your appreciation by supporting me through <a href="https://www.buymeacoffee.com/imusabkhan"><strong>Buy Me a Coffee</strong></a>.<strong><br></strong><a href="https://www.buymeacoffee.com/imusabkhan">https://www.buymeacoffee.com/imusabkhan</a></blockquote><p>You can also reach out to me via email at <a href="http://musabkhan.queries@gmail.com/">musabkhan.queries@gmail.com</a></p><p><strong>Youtube:</strong> <a href="https://www.youtube.com/musabkhan">https://www.youtube.com/musabkhan</a><br><strong>Linkedin:</strong> <a href="https://www.linkedin.com/in/musab1995/">https://www.linkedin.com/in/musab1995/</a><br><strong>Twitter:</strong> <a href="https://twitter.com/Musab1995">https://twitter.com/Musab1995</a><br><strong>Facebook:</strong> <a href="https://www.facebook.com/imusabkhan">https://www.facebook.com/imusabkhan</a><br><strong>Github:</strong> <a href="https://github.com/imusabkhan/">https://github.com/imusabkhan/</a><br><strong>Instagram:</strong> imusabkhan</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86a0576bca3a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>