Cyber Risks · PortSwigger Research

Lab: Basic SSRF against the local server

Summary: PortSwigger's Web Security Academy lab presents a stock check feature that fetches data from an internal system, and the exercise is solved by changing the stockApi parameter to http://localhost/admin to reach the administration interface. The lab then has the tester read the HTML to find the delete URL, http://localhost/admin/delete?username=carlos, and submit it through the same stockApi parameter to deliver the SSRF attack.

Key Takeaway: The only thing standing between a stock-check parameter and an admin action that deletes a user is server-side trust in a URL the client supplies - a single localhost address away from a working exploit.

Read the original at PortSwigger Research ↗

Topics
Vulnerabilities & Patching
Related