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
- Attackers Exploit UnrealIRCd Flaw That Enables Server-Level Command Injection Cyber Risks · Nov 14, 2026U.S. CISA adds Check Point and UnrealIRCd flaws to its Known Exploited Vulnerabilities catalog Cyber Risks · Nov 14, 2026PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE Cyber Risks · Nov 13, 2026