- Visit a product, click "Check stock", intercept the request in Burp Suite, and send it to Burp Repeater.
Change the URL in the
http://127.0.0.1/and observe that the application is parsing the URL, extracting the hostname, and validating it against a whitelist.
Change the URL to
http://firstname.lastname@example.org/and observe that this is accepted, indicating that the URL parser supports embedded credentials.
#to the username and observe that the URL is now rejected.
Double-URL encode the
%2523and observe the extremely suspicious "Internal Server Error" response, indicating that the server may have attempted to connect to "username".
To access the admin interface and delete the target user, change the URL to:
Lab: SSRF with whitelist-based input filter
This lab has a stock check feature which fetches data from an internal system.
To solve the lab, change the stock check URL to access the admin interface at
http://localhost/admin and delete the user
The developer has deployed an anti-SSRF defense you will need to bypass.