Challenge
A web app that fetches URLs on behalf of the user. Direct localhost/127.0.0.1 is blocked.
Approach
- The app runs in Docker. Internal services are reachable via Docker’s default bridge hostname (e.g.,
172.17.0.1or the service container name). - Try
http://backend/flagorhttp://172.17.0.2:5000/flag— one succeeds. - Alternatively, use
http://0.0.0.0/flagor IPv6http://[::1]/flagto bypass the blocklist.
| |
The response contains the flag.
Flag
boroCTF{w1sh_w3_c0uld_g0_2_th3_m00n_t0g3th3r}