Medium OSCP EJPTV2 eCCPT Web Hacking SSRF

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.

getting_started.sh

# 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.

Rating —
Downloads 0
Published Nov 21, 2026
Log in to download

Don't have an account? Sign up free

Learn more

Read the theory behind this lab before diving in.

Submit flags

Log in to submit flags and track your progress.

Comments (0)

Log in to join the discussion.

No comments yet. Be the first to ask something.