<?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 Dsonbacker on Medium]]></title>
        <description><![CDATA[Stories by Dsonbacker on Medium]]></description>
        <link>https://medium.com/@dsonbacker?source=rss-244b6467ef41------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ouCuYWmAXtYbW6OrO9_0Qg.jpeg</url>
            <title>Stories by Dsonbacker on Medium</title>
            <link>https://medium.com/@dsonbacker?source=rss-244b6467ef41------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 11:15:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dsonbacker/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[A 250$ CSS Injection — My First Finding on Hackerone!]]></title>
            <link>https://medium.com/@dsonbacker/a-250-css-injection-my-first-finding-on-hackerone-8863ad253560?source=rss-244b6467ef41------2</link>
            <guid isPermaLink="false">https://medium.com/p/8863ad253560</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Dsonbacker]]></dc:creator>
            <pubDate>Thu, 27 Oct 2022 19:42:57 GMT</pubDate>
            <atom:updated>2022-10-27T19:42:57.007Z</atom:updated>
            <content:encoded><![CDATA[<h3>A 250$ CSS Injection — My First Finding on Hackerone!</h3><p>This is my first story on medium, to tell the story of how I found a CSS injection and exploited it, within a hackerone public program. I hope you learn a new attack vector on any real-world site you test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vwaWKyuk9nDMhNNmqEa5aQ.png" /></figure><p>When opening the page I realized that there was a function to change the country’s flag, so I went to analyze how this feature works. And for him to change the country flag, all he had to do was make a GET request to this endpoint:</p><pre><a href="https://redacted.com/">https://redacted.com/search?q=a&amp;country=BR</a></pre><p>So I decide to change the value of the “country” parameter to some random value, and BOOOM!! the value has been reflected. The site calls the country parameter inside the style attribute and adds it after “.svg)”</p><pre>&lt;div class=&quot;language&quot; style=&quot;background-image: url(https://medium.com/BR.svg)&quot;&gt;&lt;div&gt;</pre><p>When I saw this, I started testing various techniques to exploit an XSS unfortunately without effect, but after a while, I remembered when I created CSS, I used “/*” to comment the “.svg)”, so I put this at the end of the load useful and thus gain control of the entire style of that element.</p><p>POC:</p><pre><a href="https://redacted.com/">https://redacted.com/search?q=a&amp;country=);width:100vw;height:100vh;background-image:url(https://myserver/minions.png);/*</a></pre><p>This flaw can be used in phishing attacks, but to steal user information the victim must use an old browser. Unfortunately, I can’t get out of the “style” attribute. So I decided to report it as a low failure, and within a week they triaged it, fixed it, and paid 250$ for the failure.</p><h3>Lessons Learned:</h3><p><em>This endpoint had been available for quite some time and many hackers just passed tools like Dalfox at this point, and since Dalfox found no flaw, they concluded that the feature was safe. So I hope you’ve learned never to trust the tool 100% and always analyze the context for reflection.</em></p><figure><img alt="Espero ter entregado algum insight para vocês" src="https://cdn-images-1.medium.com/max/500/1*oX9Kf4GM0Vqmscoh0SAV8A.gif" /><figcaption>Bye-Bye, Happy Hacking!</figcaption></figure><h4>Thank you for reading!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8863ad253560" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>