<?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 hg_real on Medium]]></title>
        <description><![CDATA[Stories by hg_real on Medium]]></description>
        <link>https://medium.com/@hgreal?source=rss-9e62cf31e751------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CdYmWUBMPG-eKVZuGkEtPg.png</url>
            <title>Stories by hg_real on Medium</title>
            <link>https://medium.com/@hgreal?source=rss-9e62cf31e751------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 09:58:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hgreal/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[Why I paid 3.5K to become a TLD registrar reseller when doing bug bounty]]></title>
            <link>https://medium.com/@hgreal/why-i-paid-3-5k-to-become-a-tld-registrar-reseller-when-doing-bug-bounty-d9d407911dce?source=rss-9e62cf31e751------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9d407911dce</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[social-engineering]]></category>
            <category><![CDATA[intigriti]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[hg_real]]></dc:creator>
            <pubDate>Sun, 05 Jul 2020 19:29:35 GMT</pubDate>
            <atom:updated>2020-07-05T19:29:35.352Z</atom:updated>
            <content:encoded><![CDATA[<p>I was looking for a new bug bounty target and found an interesting TLD registrar target, after doing some recon there was no decent scope until I saw that there was some reseller platform, i looked at the prerequisites to become a TLD registrar reseller and my mood went down. You needed the following requirements:</p><ul><li>Have a web hosting company website</li><li>Have a support center so your customers can call you</li><li>Paying an initial 3.5 K upfront</li></ul><p>After some chatting with a 2 other bug bounty hunters on slack we had a great idea! We were joking to set up a web hosting company and to pay for this and split the costs…</p><p>After some discussing we gave up on this idea</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5UzcIjzAmdew5zsK4bruiA.jpeg" /></figure><p>This idea kept in my mind for a few months and I decided to give it a go</p><p>I did set up a website <a href="https://hgrealhosting.com/">https://hgrealhosting.com</a> and bought myself some webhosting company template and I was ready to go</p><p>Signed up and paid the initial 3.5K and got a mail that i would receive my password in my physical mailbox within 2 weeks.<br>2 weeks I patiently waited and then the mailman arrived with a letter containing my password 😎, ready for some bug hunting!</p><p>After doing recon on this reseller dashboard they were very secure<br>But I’m not giving up, doing some more research and went reading the EPP docs</p><p>an example can be found here <a href="https://docs.dnsbelgium.be/gtld/epp/">https://docs.dnsbelgium.be/gtld/epp/</a></p><p>It is basicly an XML based protocol so I sent some XXE payloads and it wasn’t vulnerable.</p><p>When i was giving up on this target I went looking on every page again on this reseller dashboard and then I spotted some /etc/passwd output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*O_G3ioW6HkTFCDLnvMqrDw.jpeg" /></figure><p>Why was this here, how the heck did I trigger this, apparently there is something called Second-order IDOR. when you make an IDOR request you don’t see the results, but you see the results on another page or a few requests later. actually when doing this XXE attack my results where seen on my reseller dashboard</p><p>I wrote a python script to sent XXE payloads to scan their server and web scraping the contents of these files on the reseller dashboard after every XXE request I finally I got some server passwords and much more.</p><p>I told this at my bug bounty comrades and gave them access to my account.<br>We got a few other bugs</p><p>All of a sudden my account got blocked and I got a call from their CISO</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*iykhtRSwkTJwkLhTzprMBA.jpeg" /><figcaption>My reaction</figcaption></figure><blockquote>“Well.. that’s some very strong social engineering you did to get access to our reseller dashboard. We never expected an ethical hacker would pay 3.5K just for new endpoints. Really appreciate this! we will sent this money back of course and thanks for the reports. The developers said it was out of scope but I told them it was in-scope”</blockquote><p>Everthing went better than expected and we got 7.5K for our submissions and a refund.</p><blockquote>My thoughts about paying money for extra untested endpoints</blockquote><blockquote>Just do it, but if you don’t find bugs and don’t get a refund you’re screwed 😆</blockquote><p>Thanks for reading and happy hunting !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9d407911dce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I hacked  a bank their application using it for hacking another bank company — 10 K XSS]]></title>
            <link>https://medium.com/@hgreal/how-i-hacked-a-bank-their-application-using-it-for-hacking-another-bank-company-10-k-xss-b9cc801a675?source=rss-9e62cf31e751------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9cc801a675</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[hackerone]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[intigriti]]></category>
            <dc:creator><![CDATA[hg_real]]></dc:creator>
            <pubDate>Sun, 28 Jun 2020 19:57:53 GMT</pubDate>
            <atom:updated>2020-06-28T19:57:53.120Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I hacked a bank their application using it for hacking another bank company — 10K XSS</h3><p>People often ask me when I would do a write-up of one of my submissions,<br>In most cases I’m not allowed because they are too specific and even when I do redact the company their name it could still cause damage towards the company itself, well so here is my first one and hopefully more to come!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*lxPiaqkihDvnnCqkvovkEw.jpeg" /></figure><p>I was a QA automation engineer for about 2 Years and got my first bounty by accident at <a href="https://hackerone.com/deliveroo">Deliveroo</a>, i submitted it as low and got the max payout 2.5K</p><p>This immediately triggered something within me: “Could I do more of this?”<br>And it did, I tried submitting bugs at the bug bounty platform Intigriti and after noob submissions i was awarded the “Researcher of the week”.</p><p>I couldn’t believe it that people actually do like my findings, but i needed to step up my game and I tried hacking some next level companies without luck. so I took a break of about 2 months. I didn’t enjoy my work anymore and I tried to pick up the bug bounty scene again because it was actually fun.</p><p>The people at Intigriti said: “welcome back and perhaps you can look into this program &lt;redacted&gt;, we really need a big submission at this bank? ”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*wphs7Shw35VNDEaQokb1-w.jpeg" /><figcaption>My initial feeling until 5 days later i was about giving up bug bounty again for always…</figcaption></figure><p>… 5 Days have been passed without a submission, i was on the edge of having a mental breakdown because I did not want to go back doing this QA Job :(</p><p>Wait a minute, what If could abuse a bank that could send XSS to another bank which loads the XSS and when a victim logs into the bank which got the XSS their funds will be transfered to the attackers bank account?</p><p>seems like this scenario would work because I knew a bank that allowed XSS but they could not send XSS towards their own, and I knew also a bank that could send XSS but the XSS could not be exploited on their own website.</p><p>I immediately tried sending a small XSS payload towards the other bank and<br>BINGO, javascript was being executed! but it didn’t pop up the alert I sent?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/1*rpOtQw-4H9TrqU7rSqWlGw.png" /><figcaption>upper case alert… but i knew it could be possible, so no giving up until i tried every edge case!</figcaption></figure><p>another 5 days have been passed and I was really close to popping this XSS<br>some notes of my research so far:</p><ul><li>the XSS payload received could only be 140 characters maximum length</li><li>it uppercases everything, also the &lt;SCRIPT&gt; tag</li><li>breaks the payload every 38 characters with a &lt;BR&gt;tag concatenated</li><li>the characters + and { and } are escaped</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*N9ux4VgxuicZWmwAEYjobA.png" /><figcaption>so the payload would be replacing the O characters</figcaption></figure><p>my first payload was sending an external CSS file, no big issue over here</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*EBG4Ju7ZsS2slx2T653c-g.png" /></figure><p>the single quotes will encapsulate the &lt;BR&gt; tag into the Z attribute<br>But now I encountered a big encoding decoding issue</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*9g-AVVn_vEB7CvW2QBDm0w.png" /><figcaption>Wait a minute, what is this lower cased “load” doing here</figcaption></figure><p>so what the heck is going on here ?</p><p>you can’t execute upper cased javascript as the lower cased version would do<br>so apparently their is something that is called octal formatting which used to happen on the bank their part which translated \ddd to their octal decoded format. i stored ‘load’ into the G variable and replaced with jQuery the HEAD</p><p>$(‘HEAD’)[“load”](“//HGREAL.be”) executed when you did a mouse-over</p><p>Now why would anybody mouse-over something that looks phishy, well because the whole page was injected with the previous CSS payload i sent so whenever you moved your cursor the payload would execute :-)</p><p>The evil javascript that has been executed will not be shown in this Medium post because that will leak the company their name</p><p>but it was a chain that sent €25 towards the attacker because when you go past this €25 you need to enter a pin code ¯\_(ツ)_/¯</p><p>I submitted my finding and was awarded a 10K bounty with my first XSS<br>A few months later I quit my job and became a full time bug bounty hunter</p><p>I hope you enjoyed this write-up and happy hunting !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9cc801a675" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>