SSRF via an Image-Fetch Parameter to an Internal Localhost Intranet
Vulnerability: Server-Side Request Forgery (SSRF) in the storefront's image-service parameter, which fetches any attacker-supplied http(s) URL server-side with no destination validation, allowing access to an internal admin intranet bound to a random localhost port. Objective: Abuse the image-fetch parameter to port-scan the container's loopback interface, reach the internal Keystone intranet, read the SSH credentials leaked in its employee_notes section, log in over SSH, and read local.txt to capture the flag.
# 1. Extract the archive you just downloaded — on your own box, not a server.
you@host:~$ unzip ssrf-via-an-image-fetch-parameter-to-an-internal-localhost-intranet.zip && cd ssrf-via-an-image-fetch-parameter-to-an-internal-localhost-intranet
# 2. Boot the vulnerable machine. It prints the IP it was assigned.
you@host:~$ sudo bash deploy.sh ssrf-via-an-image-fetch-parameter-to-an-internal-localhost-intranet.tar
# 3. Point your tools at that IP. Ctrl+C here tears it back down when you're done.
Learn more
Read the theory behind this lab before diving in.
Submit flags
Log in to submit flags and track your progress.