Lab: Unprotected admin functionality
Summary: PortSwigger's Web Security Academy lab presents an admin panel left unprotected, and the solution is to append /robots.txt to the lab URL, where the Disallow line discloses the path to the admin panel. Replacing /robots.txt with /administrator-panel in the URL bar loads the panel, and the lab is solved by deleting the user carlos.
What you should know: The file meant to keep crawlers out of sensitive paths is what hands over the admin panel's location, so a robots.txt Disallow entry can function as a map for anyone who reads it.
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