Cyber Risks · PortSwigger Research

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