<?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 Leke on Medium]]></title>
        <description><![CDATA[Stories by Leke on Medium]]></description>
        <link>https://medium.com/@GOcyberfun?source=rss-813894c72a78------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*PclYBvXQPkUeRg2khVdnnw@2x.jpeg</url>
            <title>Stories by Leke on Medium</title>
            <link>https://medium.com/@GOcyberfun?source=rss-813894c72a78------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 11:16:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@GOcyberfun/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[User role controlled by request parameter exploitation]]></title>
            <link>https://medium.com/@GOcyberfun/user-role-controlled-by-request-parameter-exploitation-32723bfae63f?source=rss-813894c72a78------2</link>
            <guid isPermaLink="false">https://medium.com/p/32723bfae63f</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[burpsuite]]></category>
            <dc:creator><![CDATA[Leke]]></dc:creator>
            <pubDate>Sun, 30 Jun 2024 01:46:49 GMT</pubDate>
            <atom:updated>2024-06-30T01:53:31.879Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/834/0*lqebNeh9wQNLBJTN.jpg" /></figure><p>Burpsuite is an application that is used for security testing of web applications and that is what we will be using in this lab.</p><p>This is the link to the installation of burpsuite - <a href="https://portswigger.net/burp/documentation/enterprise/setup/self-hosted/standard/install-app-standard">https://portswigger.net/burp/documentation/enterprise/setup/self-hosted/standard/install-app-standard</a></p><p>Thanks to everyone who has followed me so far and i hope you all enjoy reading this tutorial😆.</p><p>I will also be posting demonstrations on how to deploy and access virtual machines in the future so stay tuned!</p><p>I will be using burps built in browser for this lab.</p><p>I will be accessing this lab and showing you how to exploit this vulnerability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F6xGzbG7L1mgEld6nYgR6A.png" /></figure><p>Navigate to the my account tab at the top right of the screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0s6cgp18ek9gWQ_liTU4cA.png" /></figure><p>Login with the credentials shown at the top of the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pXp_0mvOokSru27NJzEiyw.png" /></figure><p>Now navigate to the burpsuite application, please make that intercept is off during this entire process and that would ensure that the pages load successfully as when intercept is on, burp does not allow request to go through.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*4yjKX-c7q722y_O1pgSY6g.png" /></figure><p>Now navigate to the HTTP history tab under proxy to view the requests and look for the column that says url and find the username that you used to login and click on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qFYNPR1n6w3QKh-vVykRvg.png" /></figure><p>The cookie checks for if admin is true or false to gauge whether or not you should have access to the admin panel on the website.</p><p>Choose to send the request to the repeater by right clicking on the request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zNXoL_xOCmgmx_M9_s3Szg.png" /></figure><p>Click on send and that will send the request back to the server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qH6_cxmFdGyCot5R1sy6OA.png" /></figure><p>If you search for Admin on the response tab from the search bar at the bottom of the screen you will see that the admin panel has not yet been created and that is because the value of Admin in the request tab is still false.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LKuIMiBbAUR7eEjY4lnU4g.png" /></figure><p>Now let’s try to edit the value of the cookie in the request tab from Admin=false to Admin=true and then send the request once again, they are now matches of admin in the response tab which shows that the Admin panel has now been created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_6oFnZJOSL_MSL3R44TX5w.png" /></figure><p>Now lets go back to the website and right click to inspect the website, if using safari you would have to select show features for webdevelopers that can be found in the advanced tab of safari settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1EzXBKALpjgGSITMXxhOxw.png" /></figure><p>Navigate to the applications tab as soon as this pops up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7cLVHUaz5JHK-obwQw81tg.png" /></figure><p>Go to the Storage column at the the left of the screen and select the drop down menu of the cookies tab and select the cookie.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IzXpE3ziNuSXnP9_v8v8Zw.png" /></figure><p>Right click on the false tab that is on the row of Admin and select edit “Value”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kGL5DtC6ubXP-wR2knI7mQ.png" /></figure><p>Change the value from false to true and select enter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5WkDonGkI3zxnngSG_unOQ.png" /></figure><p>Close this tab and then refresh this page, you should now be able to see the admin panel 😀.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cvkjbirNEWIIAauXualqBA.png" /></figure><p>Select the Admin panel and delete user Carlos, and this is an example of a vertical privilege escalation that enables a user to gain elevated access with just regular user credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6byuvKIKt5fBgxla-BeGag.png" /></figure><p>Great job you have now completed the lab, you can use this to test that website you created and make sure users don’t have unauthorized admin access and check if your code needs to be changed to prevent this, hope you had fun reading this, see you next time ✌️.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32723bfae63f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>