Challenges
Mirror effect
Web
Expert
SSRF (Server-Side Request Forgery)
Solves: 4
Mirror effect
Author: CyberSamSU
Points
150
SamCorp's internal ticketing system has a convenient feature: "Link preview" — the user enters a URL, the server itself (server-side) sends a request to that address and shows a text snippet with the page title.
The IT department has launched one more thing inside the container — a "health check" endpoint named /internal-flag.php. It returns a secret token only for requests coming from the server itself (localhost); external users are shown a 403 error.
The application tried to prevent sending requests to internal addresses — but the filter is very simple. Goal: make the server request its own internal /internal-flag.php endpoint via the "Link preview" feature and get the flag.
To start this challenge's lab, log in.
Theory: learn the topic
To submit a flag, log in.