SSRF with unrestricted URL scheme

/scheme · sink: urllib.request.urlopen

Any scheme urllib supports works — including file:// for local file read.


Hint

There's a flag at /etc/vulnlab/flag.txt on the lab host. The validator filters 'localhost' and '127.0.0.1' but says nothing about the URL scheme.

View source for this lab →