<?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 Ahmed Qaramany on Medium]]></title>
        <description><![CDATA[Stories by Ahmed Qaramany on Medium]]></description>
        <link>https://medium.com/@c0nqr0r?source=rss-b5c754dd4c5f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*5qvGCxylWNcrNiZPlSpvmA.jpeg</url>
            <title>Stories by Ahmed Qaramany on Medium</title>
            <link>https://medium.com/@c0nqr0r?source=rss-b5c754dd4c5f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 12:03:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@c0nqr0r/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[IDOR and Broken Access Control Risking Private Data Exposure]]></title>
            <link>https://c0nqr0r.medium.com/idor-and-broken-access-control-risking-private-data-exposure-dd808412ed13?source=rss-b5c754dd4c5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd808412ed13</guid>
            <dc:creator><![CDATA[Ahmed Qaramany]]></dc:creator>
            <pubDate>Sun, 13 Oct 2024 20:29:32 GMT</pubDate>
            <atom:updated>2024-10-13T20:29:32.247Z</atom:updated>
            <content:encoded><![CDATA[<h3>السَّلامُ عَلَيْكُم ورَحْمَةُ اللهِ وَبَرَكاتُه</h3><p>Hello, guys! Hope you’re all doing well. It’s Ahmed Qaramany @c0nqr0r here, and I’m excited to be back logging some fresh write-ups. I hope you find something useful and enjoy the content! Let’s dive in!</p><p><strong>Lab Setup:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AtReCCPv8Eryb3gd7n-HdQ.png" /><figcaption>Pwnfox tool in burpsuite</figcaption></figure><p>When testing for <strong>Insecure Direct Object Reference (IDOR)</strong> vulnerabilities, I use a combination of tools to ensure I don’t miss any issues. Here’s how I approach it:</p><p><strong>Setting Up Firefox and Pwnfox:</strong></p><ul><li>I use <strong>Firefox</strong> as my browser, with the <strong>Pwnfox extension</strong> installed. Pwnfox allows me to isolate and manage different browsing contexts, making it easier to switch between test accounts.</li><li>I connect Firefox to <strong>BurpSuite</strong>, which captures and monitors all the web traffic between my browser and the application I’m testing. This setup helps me inspect requests and responses in detail.</li></ul><p><strong>Using the Autorize Tool in the Background:</strong></p><ul><li>At the same time, I run the <strong>Autorize</strong> tool in the background. This tool continuously checks for any missing access control issues that I might overlook while manually testing. Autorize is particularly helpful because it flags any unauthorized access it detects, even after I’ve moved on from a request.</li><li>I manually check the app through <strong>BurpSuite’s HTTP History tab</strong>, which shows all the requests and responses that have passed through the proxy.</li></ul><p><strong>Tracking IDs and Objects:</strong></p><ul><li>During the testing process, I make sure to check every part of the application for <strong>IDs and objects</strong> (like post IDs, user IDs, etc.), as these are often the key to finding IDOR vulnerabilities.</li><li>To stay organized, I store all the IDs and objects I find in an app called <strong>Obsidian</strong>. Obsidian helps me keep detailed notes about my findings in a structured way.</li><li>I create a specific file in Obsidian for each application I’m testing, where I store important details like the IDs for two test accounts I’m using, as well as any cookies or <strong>JWT tokens</strong> if the app uses them for authentication.</li></ul><p><strong>Testing Features:</strong></p><p>While using the application, I test it thoroughly for <strong>IDOR vulnerabilities</strong>. This means trying out all possible ways a user might access or manipulate resources they shouldn’t have permission to touch.</p><p>For example, the application might allow users to perform <strong>CRUD operations</strong> (Create, Read, Update, Delete) on posts. I test each of these operations to see if an unauthorized user can exploit them:</p><ul><li><strong>Create:</strong> Can I create a post as another user?</li><li><strong>Read:</strong> Can I read another user’s post by modifying the post ID?</li><li><strong>Update:</strong> Can I change the content of a post that doesn’t belong to me?</li><li><strong>Delete:</strong> Can I delete someone else’s post?</li></ul><p>Even though the app seems to have some access control in place, it wasn’t well-implemented across all features. This lack of proper access control allowed me to find a vulnerability related to generating reports for posts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*46DSigG1UI3VlsboLYX3oA.png" /></figure><p>During testing, I noticed that the platform allowed users to <strong>Create, Read, Update, and Delete (CRUD)</strong> posts. Naturally, I tested all of these operations for IDOR vulnerabilities, focusing on whether the access controls were properly implemented. Unfortunately, it became clear that access control wasn’t well enforced across the board.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bRTU6926C2K2AllrhFrg_A.png" /></figure><p>One feature I discovered was the ability to generate reports for all the posts. The first thought that crossed my mind was, <strong>“Can I access or export reports for other users&#39; posts?”</strong></p><p>I tried manipulating the request by changing the post ID, hoping to send someone else’s report to my email. However, the system was secure in this case; the report was sent directly to the email associated with the account, making it difficult to hijack reports from other users by simply modifying the ID.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tjJf9MLtYJBjIbsEtf4nKA.png" /></figure><p><strong>After thoroughly clicking through all the buttons and testing each function of the app</strong>, I stumbled upon another export feature. This time, it allowed reports to be exported as PDFs. That’s when I realized there might be another opportunity for IDOR exploitation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fIyY_5j4nGLNAp3gCdTjJw.png" /></figure><p>At first, I wasn’t planning on testing the export feature, but out of curiosity, I clicked the button to download the PDF. After downloading it, I decided to check what was happening behind the scenes. So, I opened <strong>BurpSuite</strong> and navigated to the <strong>HTTP history</strong> tab to see the requests that had been made.</p><p>This was the key moment that led me to investigate further. By reviewing the HTTP requests, I could see how the app handled the PDF generation and the associated parameters. This gave me the opportunity to test whether I could manipulate the request, particularly the <strong>post ID</strong>, to see if I could download someone else’s report.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GdQPgBrNZ2e5pqn8gVIBBQ.png" /></figure><p>Feel that? Those last two requests are perfect for testing IDOR. Let’s send them to Repeater and see what we find!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bdb6sniE3P9sJxyW1jbqPg.png" /></figure><p>In Request (1), I found two interesting IDs with a <strong>CREATED</strong> status:</p><pre>“backgroundJobId”:”d69047b7–3a7a-4784–96be-6633b6d8bd45&quot;,”status”:”CREATED”</pre><p>This ID caught my attention, so I stored it in <strong>Obsidian</strong> for reference.</p><p>Then I opened the other request and found there’s more to explore…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Uj1UpMUS2vQXtP0AeIGzA.png" /></figure><p>In <strong>Request (2)</strong>, I noticed it was using the same <strong>backgroundJobId</strong> that I had already stored in my <strong>Obsidian</strong> notes. The response contained the URL to download the content for just <strong>one single post</strong> (not all my posts). This got me thinking — what if I could access other people’s reports?</p><p>To try this, I went back to the request that returned the <strong>backgroundJobId</strong> and sent it to <strong>BurpSuite’s Intruder</strong>. Since the platform uses sequential numbers for IDs, I set up a bruteforce attack with a range from <strong>0 to 9,999,999</strong>. The goal was to retrieve all the valid post IDs by testing each number in sequence.</p><p>Once I got the valid <strong>backgroundJobId</strong> values for other users’ posts, I manually inserted them into the following URL:</p><pre>https://s3.amazonaws.com/xxxxxcompanyname/report/xxxxxxx/20241013/{backgroundJobId}.pdf</pre><p>By doing this, I could potentially access other users’ PDF reports without authorization, exposing their private posts information, i was able to see all the posts of the application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lhPWshR7DV2Ldcf8azJXsg.png" /></figure><p>By the way, we actually have <strong>two vulnerabilities</strong> here:</p><ol><li><strong>IDOR (Insecure Direct Object Reference):</strong> The first bug is an IDOR vulnerability, where we were able to retrieve the <strong>backgroundJobId</strong> by manipulating post IDs in the request. This allowed us to access other users’ reports.</li><li><strong>Broken Access Control:</strong> The second issue is a <strong>Broken Access Control</strong> vulnerability. The application relies only on using <strong>UUIDs (Universally Unique Identifiers)</strong> for securing access to reports, but that’s not enough. Since there’s no additional security layer — like a signature or proper authorization checks — an attacker can still exploit the system by guessing or bruteforcing the UUIDs. This means unauthorized users can access reports simply by knowing or guessing a valid UUID.</li></ol><p>In short, the application doesn’t implement proper security mechanisms to prevent unauthorized access, making both vulnerabilities dangerous.</p><p>— — — — — — —</p><p>Shoutout to <strong>ChatGPT</strong> for helping me craft this write-up and making it in a clear and readable way.</p><p>I’ve made some videos in Arabic to help you learn about access control, IDOR, and privilege escalation. You can check them out on:</p><ul><li><strong>My YouTube channel:</strong> <a href="https://www.youtube.com/playlist?list=PLT3xpfeVr-PNkAR0AQlnkugAaQ006gYQ4">BugsAR</a></li><li><strong>X (Twitter):</strong> @c0nqr0r</li></ul><p>Thanks for reading, and I hope you found this write-up helpful. See you in the next one!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd808412ed13" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Error based SQL Injection with WAF bypass manual Exploit 100%]]></title>
            <link>https://c0nqr0r.medium.com/error-based-sql-injection-with-waf-bypass-manual-exploit-100-bab36b769005?source=rss-b5c754dd4c5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/bab36b769005</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[hackerone]]></category>
            <category><![CDATA[sql-injection]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <dc:creator><![CDATA[Ahmed Qaramany]]></dc:creator>
            <pubDate>Thu, 06 Oct 2022 08:54:08 GMT</pubDate>
            <atom:updated>2022-10-06T08:54:08.917Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey folks,<br>Back again with SQL injection WAF bypass write-up, I’m gonna share what methodology I used to bypass the WAF block.</p><p>This is an old bug bounty program at h1 like my previous write-up about reading robots.txt</p><p>The difference here is this is a collaboration with my Best Hacker <a href="http://twitter.com/0x__4m">@0x__4m</a> We had great time together and reported it at his h1 account, Looking forward to Hunt together again</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/277/1*FwSSxeQqnpHoOAUNb70YLA.png" /></figure><h3><strong>Hands On</strong></h3><p>Don’t be surprised when you hear that this finding at the main domain of old program, Different here is we don’t use Scanners like Accunitx and SQLmap and other “Spray and Pray” Payloads, Because the program was a Pentest project one day and they used this tools before for sure!</p><h3><strong>Picking Function</strong></h3><p>So after good recon you should play around the functions so for sure the first function you can take a look is the sign in So I got my coffee and was ready to Break it</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FkJ1iL1ZQIyibu%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FkJ1iL1ZQIyibu%2Fgiphy-downsized-large.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FkJ1iL1ZQIyibu%2Fgiphy-downsized-large.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/00e210303c2eca19ca213ed44de1f497/href">https://medium.com/media/00e210303c2eca19ca213ed44de1f497/href</a></iframe><p>lets Play around some functions that send queries to the Database, Login does for sure so lets take a look.</p><p>It takes my data and send it with POST request.</p><p>So I intercept the request and sent it to the repeater, Here I’m sorry that I can’t provide detailed screenshots for each step from my end cause the program applied the fix after 2 hours before the triage team! Actually I got surprised!</p><p>So now what we have here?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*I7y4r5UdcBf8GpJxRZuLzA.png" /></figure><p>As a normal approach for SQL query you need to break it at first with Single quote or Double quote, Here we are doing BlackBox Pentesting so injected it with this value</p><pre>email=qaramany&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*WxxinGhjqqSIZh30LLPqmg.png" /></figure><p>Just was the last line of the request and if you look at response length As you can see we got this error at line 4173 so I just searched for this error to got more information about the Database which I&#39;m interacting with.</p><p>Googling it so fast and got this good article from <a href="https://owasp.org/www-project-web-security-testing-guide/v41/4-Web_Application_Security_Testing/07-Input_Validation_Testing/05-Testing_for_SQL_Injection">OWASP</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oD_3X0KxD31gEN6Ke75HSQ.png" /></figure><p>Now We have Error based SQL Injection with MS-SQL database but Unlucky We couldn’t find any Exploit with The normal scanners like Burp scanner , Accunitx and SQLmap with high level and high risk also for long hours running it but Found nothing!</p><p>because we have here an aggressive Filter for Some Keywords like “ select” or “ order by” and this means “+select” maybe filtered in my case and returns 500 WAF Error ,After more than 50 repeater tabs, Finally I figured out how the WAF logic work and when I get block</p><p>I just start staring at the response and found my name reflected like the previous photo when I typed “qaramany” it reflected in the response so If I couldn’t exploit it with tools, No problems I just opened all my cheat sheets, WAF bypass techniques</p><p>So couldn’t inject a “select” or “order by” or “group by” I or any alternative Error-based vectors just to get the idea here you should understand my case is when you inject Queries containing mentioned expressions are usually blocked by WAFs.</p><p>As a bypass Concatenate a string using the %2b character. The %2B is the code for +</p><p>So use it with the result of specific function calls that trigger a data type conversion error on sought-after data.</p><p>We can now bypass it with some functions.</p><p><strong>Some examples of such functions :</strong></p><ul><li>SUSER_NAME()</li><li>USER_NAME()</li><li>PERMISSIONS()</li><li>DB_NAME()</li><li>FILE_NAME()</li><li>TYPE_NAME()</li><li>COL_NAME()</li></ul><p>Payload :</p><pre>qaramany&#39;%2buser_name(@@version)--so this payload just got me the version of the database</pre><ul><li>qaramany : my name hahahahaha</li><li>‘ : single quote that trigger the error</li><li>%2b : is the code for +</li><li>user_name() : function calls that trigger a data type conversion error on sought-after data</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/1*cxT7kglt2hyPSWhfV4eQPQ.png" /></figure><p>Sometimes we got 500 errors so t based on the same approach Created this Payload</p><pre>qaramany&#39;%2buser_name(convert(int,(SYSTEM_USER)))--</pre><p>This bypassed the WAF for getting The SYSTEM_USER</p><p><strong>Some of my other POC that I sent it is :</strong></p><pre>qaramany’%2buser_name(convert(int,(SESSION_USER))) — <br>qaramany’%2buser_name(UPPER(‘sql+tutorial+is+fun!’)) — <br>qaramany’%2buser_name(IIF(5=4,+’YES’,+’HackedBy_c0nqr0r&amp;0x4m’)) — <br>qaramany’%2buser_name(convert(int,(db_name()))) —</pre><p>I’m finished Here ,Hope you enjoyed reading it</p><p>Thanks for Reading 3&gt;</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F48FhEMYGWji8%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F48FhEMYGWji8%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F48FhEMYGWji8%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/930b7412a3894a11e6de07679b7797ad/href">https://medium.com/media/930b7412a3894a11e6de07679b7797ad/href</a></iframe><p>Don’t Forget to follow us at twitter</p><p><a href="http://twitter.com/c0nqr0r">c0nqror </a>&amp; <a href="http://twitter.com/0x__4m">0x__4m</a></p><p>See You Soon</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bab36b769005" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reading robots.txt got me 4 XSS reports]]></title>
            <link>https://c0nqr0r.medium.com/reading-robots-txt-got-me-4-xss-reports-9fd2234c635f?source=rss-b5c754dd4c5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fd2234c635f</guid>
            <dc:creator><![CDATA[Ahmed Qaramany]]></dc:creator>
            <pubDate>Wed, 31 Aug 2022 11:13:19 GMT</pubDate>
            <atom:updated>2022-08-31T11:13:19.962Z</atom:updated>
            <content:encoded><![CDATA[<h3>How reading robots.txt file got me 4 XSS reports ?</h3><p>Hello mates,<br>Back again with new writeup, I hope it will be useful for you Inshallah , In this write-up, I’m gonna share with you how I was able to score more than 5 XSS<br>at old program private 2019 using recon,</p><p>At first I’m not Full-Time Bounty Hunter until now I hunt when I feel excited to hack or search specific kind of bugs and As you know I’m a top fan of recon so let’s start</p><p><strong>Scope :</strong></p><p>As usual, All people start doing recon when they see *.domain.com or any wide scope, but in my case the scope was 10 or 8 subdomains and not all of them are belongs to one domain there are some different TLDs and domains, so we can’t do any subdomain enumeration here!</p><p><strong>Hands on :</strong></p><p>I tested some functions as a normal user like login and register and tried to see is there any function to play around but couldn’t find anything interesting so there is only one solution, you can do recon process to collect some data like : Endpoints, JS files, Parameters, Links from web archive and any notes that may help me when I came back to the functions to test it again with my recon data</p><p><strong>Recon :</strong></p><p>First : Start doing Google Dorking to see if there anything [Found Nothing] Second : Searched for the domain name at Wayback archive [Found Nothing] Third : Opened robots.txt file to see what the developer hide from us, let’s analyze it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*4ZUH-P2ZSskHWVmvsm6kxg.png" /></figure><p>Here I found /admin but it redirects to /admin/login.asp [302] so I start with it first because other directories not redirecting us to any .asp endpoint</p><p>So what I did is to</p><p><em>Open source code &gt; Search for any secrets or endpoints &gt; [Found Nothing]</em></p><p><em>Open JS files &gt; Use any tool like gospider or Jsscanner to extract secrets and Endpoints from it or manual analyzing too &gt; [Found Nothing]</em></p><p>Hmmmmm Let’s FUZZ ?</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fa5viI92PAF89q%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fa5viI92PAF89q%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia1.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExMGhhZWI4ZjcwOGl4andycHJkY211YXVsdWdkbmpqOXZibXk1ZzhvYiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2Fa5viI92PAF89q%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="300" frameborder="0" scrolling="no"><a href="https://medium.com/media/46a8a563f1ce9e14a0ffa3b5a4662a93/href">https://medium.com/media/46a8a563f1ce9e14a0ffa3b5a4662a93/href</a></iframe><pre>ffuf -u https://sub.domain.com/admin/FUZZ -w aspfiles.txt -mc 200</pre><p>you can find this list at Github <a href="https://github.com/danielmiessler/SecLists/blob/285474cf9bff85f3323c5a1ae436f78acd1cb62c/Discovery/Web-Content/SVNDigger/cat/Language/aspx.txt">SecLists </a>repository.</p><p>Came across this page but look like to be static it’s only HTML and CSS buttons are not working!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/465/1*TSo59pCbml54WvNa-8OH3w.png" /></figure><p>But source code is working HAHA, let’s analyze it so after reading JS files and HTML source code I found this interesting endpoint</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*gmWveUmXQnSi285XIPCZCw.png" /></figure><p>So fastly I changed the endpoint to <a href="https://sub.domain.com/admin/colorpicker_IEPatch.asp">https://sub.domain.com/admin/colorpicker_IEPatch.asp</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sz4O1ZPj6Joimi-9xG3VyA.png" /></figure><p>Nothing take action when I Click to the colors ! Click all the buttons !</p><p>Nothing working, I Hate Bug Bounty!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FZebTmyvw85gnm%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FZebTmyvw85gnm%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FZebTmyvw85gnm%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="407" frameborder="0" scrolling="no"><a href="https://medium.com/media/7d98b5eacd10b85a47ecea04391680c8/href">https://medium.com/media/7d98b5eacd10b85a47ecea04391680c8/href</a></iframe><p>Now I hope I can find parameters that maybe keeps me interact with the server or the client side, so I can insert data to it and see how it works, I left Arjun tool working at this endpoint at the background and during this time I looked for JS files and source code again</p><p><em>Open JS files &gt; Use any tool like gospider or Jsscanner to extract secrets and Endpoints from it or manual analyzing too &gt; [Found Nothing]</em></p><p><em>Open source code &gt; Search for any secrets or endpoints &gt; [Found somthing]</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgfycat.com%2Fifr%2Fearnestsmartgrayreefshark&amp;display_name=Gfycat&amp;url=https%3A%2F%2Fgfycat.com%2Fearnestsmartgrayreefshark&amp;image=https%3A%2F%2Fthumbs.gfycat.com%2FEarnestSmartGrayreefshark-size_restricted.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=gfycat" width="480" height="368" frameborder="0" scrolling="no"><a href="https://medium.com/media/5b7a6c12db04ec1ed587685f6d18269f/href">https://medium.com/media/5b7a6c12db04ec1ed587685f6d18269f/href</a></iframe><p>At same time Arjun got me this from the source code so now we are sure that It reflects data at the body of the page source code</p><pre>arjun -u <a href="https://sub.domain.com/admin/colorpicker_IEPatch.asp">https://sub.domain.com/admin/colorpicker_IEPatch.asp</a></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/1*xlhP1Xp9IV5kxZzTbk5dqQ.png" /></figure><p>If you typed “&gt;qaramany&lt; at any parameter it will be reflected inside the script tag and the characters &gt;&lt; reflects without filtering<br> so lets close the script tag and insert new tag to run our Alert</p><p>Payload :</p><pre>&lt;/script&gt;&lt;img src=x onerror=alert(document.cookie)&gt;</pre><p>Now I got first XSS, With same steps I used other scope subdomains to got the other 4 XSS,</p><p>It starts from something alot of people don’t care about which is robots.txt, Tested the same directory which is /admin and find that developer forgot to remove it , This developer is great and lazy xD I tested the other 4 subdomains and found they are all vulnerable to XSS too</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FxUA7b8xA1hqGNVUFOg%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FxUA7b8xA1hqGNVUFOg%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FxUA7b8xA1hqGNVUFOg%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="269" frameborder="0" scrolling="no"><a href="https://medium.com/media/c96758998d35503d2bd53dc2717d952c/href">https://medium.com/media/c96758998d35503d2bd53dc2717d952c/href</a></iframe><p>See you soon guys hope you enjoyed this writeup,</p><p>Don’t forget to follow me on Twitter <a href="https://twitter.com/C0NQR0R"><strong><em>c0nqr0r</em></strong></a></p><p>Thanks For Reading</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fd2234c635f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>