<?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 Splintersec on Medium]]></title>
        <description><![CDATA[Stories by Splintersec on Medium]]></description>
        <link>https://medium.com/@splint3rsec?source=rss-56a61d823ffe------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GfW4isI5e-cPs_8-b2gENw@2x.jpeg</url>
            <title>Stories by Splintersec on Medium</title>
            <link>https://medium.com/@splint3rsec?source=rss-56a61d823ffe------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 19:21:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@splint3rsec/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[Russian roulette XSS]]></title>
            <link>https://infosecwriteups.com/russian-roulette-xss-bbba6afd2570?source=rss-56a61d823ffe------2</link>
            <guid isPermaLink="false">https://medium.com/p/bbba6afd2570</guid>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[xss-attack]]></category>
            <dc:creator><![CDATA[Splintersec]]></dc:creator>
            <pubDate>Sat, 19 Nov 2022 13:15:16 GMT</pubDate>
            <atom:updated>2022-11-20T19:00:22.095Z</atom:updated>
            <content:encoded><![CDATA[<h3>Story</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7HVKKC0CQanXhyHmSy5oqA.jpeg" /></figure><p>It all happened during an exhaustive week of studying, the night before having a tough exam in Datascience, where I have to remember all kind of complex math formulas. 10 pm, tired of studying and don’t feel sleepy yet, I decided to hunt on Synack for 1 hour before going to bed. And this was the best decision I made that night!</p><p>The motivation behind choosing Synack over other platforms is that my friend Conda got into the SRT and I remembered that tweet!</p><h3>SplinterSec on Twitter: &quot;Motivate me to hunt on it again! Let&#39;s see your results :D / Twitter&quot;</h3><p>Motivate me to hunt on it again! Let&#39;s see your results :D</p><p>I launched my <a href="https://www.synack.com/blog/introducing-launchpoint-plus-for-trusted-testing/">LP+</a> then I started looking for new targets. I noticed one with a Blitz running so I decided to give it a try. — Blitz is a kind of promotion that runs for a small period of time, where you get extra cash as a bonus depending on the severity of your report. -</p><h3>The hunt</h3><p>I opened my Burpsuite and logged into the website, To my surprise it was in a foreign language that I couldn’t speak <strong>(Tip: foreign language websites are less tested by other hunters because most of them are lazy to translate the content)</strong> So I had a translation extension that allowed me to understand what every section was about. And as every hunter should do, I started clicking around all the possible buttons I see in front of my eyes. Tested different functionalities and became quite familiar with the platform.</p><p>Back to Burpsuite, I had the log of all HTTP requests that went through that period of time, API ones were interesting. So because of the time restriction (exam at 8 am), I decided to start with business logic bugs as this website deals with money transactions, tried all different combinations of paying negative amounts, withdrawing money with a different amount, changing POST requests to GET and so on… But none were successful. I tried to look for IDOR since the requests had numerical IDs, but unfortunately there was a hash value calculated in the cookies that didn’t allow me to do that.</p><h3>The hidden File Upload</h3><p>In a hidden section of the website, where you had to dig through the settings in order to find it, I noticed an upload button, like this one:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/38/1*IhuiEpQ7M4BnimOh7uUOJw.png" /></figure><p>This button was about sending your documents to the website’s administrators, so that they can verify them. And another helpful thing was that this button didn’t disappear after sending my docs, which means I can try resending them as much as I can, but only until the admins approve my documents. Good attack point!</p><p>So I behaved like a normal user and I uploaded a dummy file, then clicked on upload. Went to Burpsuite and saw what happens behind the scenes, the file is sent to the website in a JSON POST request, that contains two keys; <strong>filename </strong>and <strong>data</strong>, obviously the first one is about the name of our document and the second one contains the base64 value of our doc.</p><h3>The final shot, Russian Roulette</h3><p>Here I decided to finish my hunting session and append my Blind XSS payload to the filename, because… Why not, right? Even if it doesn’t work I would still be familiar with the website and test other stuff in the next day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V6vCiXzu7RAbWmLv28ickw.png" /><figcaption>That XSS hunter URL is not mine</figcaption></figure><h3>Disclaimer for SRT members</h3><p>This target allowed to include third party websites such as XSS Hunter to perform the testing, <strong>read the scope!!</strong> and if it’s mentioned that you’re not allowed to include third parties, you should not use similar websites.</p><h3>Next day</h3><p>So that night I went to sleep after sending the payload, and woke up at 6 to revise for the exam, went to the university and I did well! So until now I am on the safe side of not studying again for the retake XD, which means more hunting time in the future!</p><p>My day was normal, nothing in my inbox yet, came back home, had a 1 hour break from school and started studying again for the next exam. Usually I turn off wifi on my phone while studying to not get easily distracted, so when I finished, I turned off my laptop and went to brush my teeth. On my way I decided to turn on the wifi on my phone and check my notifications… And yes, you guessed it right, to my surprise I received 5 consecutive gmail notifications that my payload was fired somewhere in the internet :D</p><p>Without thinking I changed my mind to brush my teeth and started running to my laptop, turned it on and while doing that I was rechecking the phone if it was a false positive, it doesn’t appear to be so! Now I have to be very quick in reporting to avoid falling in the duplicate zone.</p><h3>Reporting</h3><p>It was 11 pm when I sent a very fast report, included the PoC screenshots, cookies and steps, then submitted it. 2 days after, the VO sent a message on the report that I need to elaborate more steps in my submission, like what an attacker can do with the cookies, include XSS Hunter screenshots and so on… I did that knowing that this is definitely not a duplicate report, so I took more than enough time to write the report this time, and be as specific as possible, so that when the client reads it he will understand every small detail.</p><p>The same day in the evening, I received an email stating that my vulnerability was accepted!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*jfxbu9GuAVQLArT5eU-QCA.png" /></figure><p>And if this means something, it means that Synack is a very professional and fast platform, where you get paid on triage, and get professional replies on your reports. And we closed the submission with such a nice reply from the VO</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/427/1*TGZOYz58OQ48PeBdZB5EXw.png" /></figure><h3>Final thoughts</h3><p>Indeed, my friend Conda motivated me to hunt and discover the platform more and more, it is hard with the exams period, but I will try my best to give it some time after that! Next goal is to reach higher levels now.</p><p>I want to also give a big shoutout to <a href="https://twitter.com/IAmMandatory">Matthew Bryant</a> for the amazing platform <a href="https://xsshunter.com/">XS</a>Hunter also it feels sad to see it closing in 2023! Thanks for your efforts!</p><h4>From Infosec Writeups: A lot is coming up in the Infosec every day that it’s hard to keep up with. <a href="https://weekly.infosecwriteups.com/">Join our weekly newsletter</a> to get all the latest Infosec trends in the form of 5 articles, 4 Threads, 3 videos, 2 GitHub Repos and tools, and 1 job alert for FREE!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbba6afd2570" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/russian-roulette-xss-bbba6afd2570">Russian roulette XSS</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Admin Panel? Pwned!]]></title>
            <link>https://infosecwriteups.com/admin-panel-pwned-89db333f3836?source=rss-56a61d823ffe------2</link>
            <guid isPermaLink="false">https://medium.com/p/89db333f3836</guid>
            <category><![CDATA[pwn]]></category>
            <category><![CDATA[hackerone]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Splintersec]]></dc:creator>
            <pubDate>Wed, 02 Jun 2021 20:24:24 GMT</pubDate>
            <atom:updated>2021-07-15T15:42:03.329Z</atom:updated>
            <content:encoded><![CDATA[<h4>The unstoppable power of recon</h4><p>Hello everyone, welcome to my first writeup about a funny story of how some admins store their passwords nowadays.</p><p>Before you start reading, I want to mention that this finding was closed as a duplicate, so kudos to the first researcher who reported it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*vefbLJKErwiFH7FuvpmSHw.png" /></figure><h3>Recon Phase</h3><p>After picking a target on HackerOne (won’t disclose), I started my subdomain enumeration… For this step I don’t like to complicate things, I just follow what everyone does for gathering subdomains (which I don’t recommend, always try to be different than others to avoid dupes lol). Here’s my workflow:</p><p><strong>Assetfinder + subfinder → httpx with title, status code and content length</strong></p><p>So I got around 60 alive unique subdomains, great :) ! Let’s start the active enumeration…</p><h3>Subdomains Analysis</h3><p>Something that experienced bug hunters thaught me is to check the subdomains without doing screenshots, the title and status code plus the content length are more than enough to do the job, and it’s more efficient since you don’t get blank screenshots or redirects and probably miss something…</p><p>Scrolling down through the subdomains list, I saw one of them that got my attention</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*V3tlKg7XUB3rUD1v-G9B8Q.png" /><figcaption>interesting subdomain!</figcaption></figure><p>Hmm… <strong>dashboard.redacted.com</strong> and a <strong>301 redirect</strong> <strong>status </strong>triggered my inner voice; “<em>A 1 minute quick check won’t hurt you :)</em>”. My intention was to intercept the redirection and do some magic there, but when I opened the URL, no it was not the case where you can test your magic tricks, I got an admin login page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*2yd8N__DPeDvgqfW05i8Mg.png" /><figcaption>login panel</figcaption></figure><h3>Pwn Phase</h3><p>At first, I did what everyone of you would do, I started guessing default credentials, looking for hidden unsanitized parameters (XSS), injecting single and double quotes (SQLi)… But nothing worked :/</p><p>That’s okay, now the next step is what the majority of you won’t do, read the source code :) I strongly advice you to do that everytime you’re visiting an endpoint, and as my inner voice said earlier “<em>A 1 minute quick check won’t hurt you :)</em>” sometimes you will be surprised.</p><p>Okay, let’s check the source code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-BrGI-degqIvU-Awv5A1Cw.png" /></figure><p>Of course I won’t close the window and check for another subdomain before looking what’s inside that javascript file! Plus it’s name should reaaally get your attention. So I went to the file and guess what?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*xv4tCM3wrvrognB9-6n10g.png" /></figure><p>Storing your credentials inside a javascript comment? Naah I don’t think they’re valid, let’s see…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*4kF9pMqyirVkcOyf2-v01A.png" /><figcaption>Pwned :D</figcaption></figure><p>We successfully pwned our admin :D</p><p>Note that I can’t screenshot the whole dashboard because you may easily guess the company from it’s design…</p><p>I tried to dig more in the dashboard to check if they have an upload endpoint or something but there’s nothing, all you can do is view data and download it.</p><h3>Key Takeaways</h3><ul><li>Never underestimate the power of recon, just do it properly without wasting time and you will definitely get some results.</li><li>Don’t miss reading the source code and especially javascript files, you may get credentials, API keys or even sensitive hidden endpoints… Just keep looking and open your eyes!</li><li>Always trust your gut, the subconscious mind is triggered based on previous experience and stages of your workflow as a bug hunter.</li><li>Hack properly and never give up, I didn’t after this duplicate and got a very nice bug triaged, which I will share with you once it’s disclosed.</li></ul><p>If you enjoyed reading my 1st writeup, share it with your friends and remind them to read JS files :)</p><p>Thanks for reaching this part of the writeup ❤ and ’til the next one!</p><p><a href="https://twitter.com/splint3rsec">https://twitter.com/splint3rsec</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89db333f3836" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/admin-panel-pwned-89db333f3836">Admin Panel? Pwned!</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>