<?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 andika on Medium]]></title>
        <description><![CDATA[Stories by andika on Medium]]></description>
        <link>https://medium.com/@jeagercoder?source=rss-c7cab645abc2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8qm5H79ekNbPvP6XD7j1Cg.jpeg</url>
            <title>Stories by andika on Medium</title>
            <link>https://medium.com/@jeagercoder?source=rss-c7cab645abc2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 03:04:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jeagercoder/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[Bypass Throttle Django Rest Framework]]></title>
            <link>https://medium.com/@jeagercoder/bypass-throttle-django-rest-framework-3ef5d8eb5c1d?source=rss-c7cab645abc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ef5d8eb5c1d</guid>
            <category><![CDATA[django-rest-framework]]></category>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[throttle-vulnerability]]></category>
            <category><![CDATA[django-throttle]]></category>
            <category><![CDATA[django-vulnerability]]></category>
            <dc:creator><![CDATA[andika]]></dc:creator>
            <pubDate>Sat, 01 Apr 2023 16:37:54 GMT</pubDate>
            <atom:updated>2023-04-01T16:43:03.127Z</atom:updated>
            <content:encoded><![CDATA[<p>Today i want to talk about bypass throttle in DRF. But, before start you should know what is throttle in DRF? you can read <a href="https://www.django-rest-framework.org/api-guide/throttling/">https://www.django-rest-framework.org/api-guide/throttling/</a>, in short you can throttle requests from clients.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-r6nZbVLE12hjttXSo4wMA.png" /></figure><p>But, does this really throttle requests? hmmmm interesting.</p><p>DRF identifies each request based on the client’s IP and caches it within the specified timeframe. Let’s see the code how DRF get IP client</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ycdd_dvgNY-ziQTK6ZVxgg.png" /></figure><p>DRF has two options, first it will check the X-Forwarded-For request header to get the IP, if it isn’t there then it will take the REMOTE_ADDR in the WSGI variable. Now you know where the vuln? yaps, header request can be manipulated by the client. client can change X-Forwarded-For header value every new request, system will detect as unique client so it escapes throttling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-uAQSgJsUB8zEkC1lE8Gmg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ef5d8eb5c1d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Find RCE Via Race Condition]]></title>
            <link>https://medium.com/@jeagercoder/how-i-find-rce-via-race-condition-58c9f3186de4?source=rss-c7cab645abc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/58c9f3186de4</guid>
            <category><![CDATA[race-condition]]></category>
            <category><![CDATA[rce-vulnerability]]></category>
            <category><![CDATA[remote-code-execution]]></category>
            <category><![CDATA[info-sec-writeups]]></category>
            <category><![CDATA[rce]]></category>
            <dc:creator><![CDATA[andika]]></dc:creator>
            <pubDate>Fri, 13 Jan 2023 16:10:16 GMT</pubDate>
            <atom:updated>2023-01-13T16:15:17.305Z</atom:updated>
            <content:encoded><![CDATA[<p>Some time ago, one of my friend asked to me testing a sales web. This web built using wordpress. how i find rce in this web? let’s do it.</p><p>First i use wpscan tool for find any plugins or themes is vuln, but i not find some interesting. then i try to check one by one the feature in the target, let’s call target as target.com.</p><p>I find the post feature without login.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Npxx8LfnofRvIiiJZ25Q0Q.png" /></figure><p>there i can post and upload image files, i uploaded backdoor files there, but it’s filtered. i have tried any baypass method and it’s doesn’t work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-o_TCeK7jI7ORh4HM4ormQ.png" /></figure><p>but there is something interesting, even backend server give failed response, but the post was successfuly intered into database, but when i access the url file in the my post the server give 404 response.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U5Td8z43eP0HQ2avff_fAg.png" /></figure><p>if the file actually failed to upload, why did they provide the url? means the file was successfully uploaded and there on the server for a few milli seconds before being deleted. Look the url, the file name is same with name when i uploaded it.</p><p>Now i want to test it using brupsuite intruder, i send request post(create post/upload the backdoor file) and get file backdoor at the same time.</p><p>request post request:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PrmHLDNqnuvsQbS8DIxawA.png" /></figure><p>request get file backdoor:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yER6PJV8Yi9w6VsWhWwCNQ.png" /></figure><p>let’t open the response in the browser</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WdaivZz_bRgcl7pYXmX1XA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xNfhfdnDZIK09nb9y2fMGg.png" /></figure><p>yeah we got rce 😎</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58c9f3186de4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Earned $1000 From Business Logic Vulnerability (account takeover)]]></title>
            <link>https://medium.com/@jeagercoder/how-i-earned-1000-from-business-logic-vulnerability-account-takeover-f03547950c82?source=rss-c7cab645abc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f03547950c82</guid>
            <category><![CDATA[insecure-design]]></category>
            <category><![CDATA[account-takeover]]></category>
            <category><![CDATA[info-sec-writeups]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[business-logic]]></category>
            <dc:creator><![CDATA[andika]]></dc:creator>
            <pubDate>Tue, 10 Jan 2023 15:46:35 GMT</pubDate>
            <atom:updated>2025-02-06T20:32:08.951Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello security research, now i want to share about my finding on bug bounty program and earned $1000.</p><p>What is Business Logic Vulnerability, if you don’t know, you can read full explain here <a href="https://portswigger.net/web-security/logic-flaws">https://portswigger.net/web-security/logic-flaws</a> because i’m not comfortable to copying people quotes.</p><p>This is a public bug bounty program, i don’t know if it’s ok to share or not, for protect company secret so let’s just call as target.com. Target is platform IT consultation and Target have a subdomain app.target.com that a main application for customer login and manage product what them have.</p><p>app.target.com have a feature team member, every member have a role (owner, admin, user).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zHeYKv5RVxarFYyq24Qr-g.png" /></figure><p>I found two flaw logic in this feature:</p><ol><li>Account with the owner role can edit their member account data including email account</li><li>Account with the owner role can add any other account to him team without any confirmation by account invited.</li></ol><p>I search the account target via email then i found admin account(admin@target.com)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FXx3AOarmuwRak8XNbRvBQ.png" /></figure><p>I add admin account to my team.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dny04Cczp4vuN0n1Kgey7A.png" /></figure><p>Then i change their email to my email and reset password via email.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*bfL3omc059xRd-zOcljaPg.png" /></figure><p>I login with the new password then BOOM!!!, So i immediately made a POC then sent a report, took quite a while to get a reply from them, and finally got a reply</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u_6ATkY3QCl9SOuxjb8MVw.png" /></figure><p>Sorry about my english, is so bad😅</p><p>Poc video https://vt.tiktok.com/ZS6oXLgAb/</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f03547950c82" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>