WebTCTT2026 · Intermediate
Songkran Photo Gallery
TCTT2026_Web_SongkranPhotoGallery_Buffy
I solved this in competition, but leaned on AI to get there. This lab is me actually learning how it works.
The big idea
If the server fetches a URL for you, you can aim it at the server's own private neighbours — and filters usually block a spelling, not an address.
The gallery has a form that makes the server fetch any URL you give it. That is SSRF. The server blocks "127.0.0.1" as text, but the same address written as one big number (2130706433) slips through. From inside, the cloud metadata service leaks the secret URL of a hidden "Ops Console", whose file download lets you climb out with ../../ and read flag.txt.
Interactive lab
- 1Confirm SSRF + bypass the blocklist
- 2Reach the cloud metadata service
- 3Find the hidden ops-console URL
- 4Read the flag with ../../
Hint: The dotted form 127.0.0.1 is blocked. Write the SAME address as one decimal integer. Use the converter below.
The server will fetch this URL
IP decimal converter (your bypass tool)
=
Tap the number to drop http://2130706433/ into the URL.
The flag
TCTT2026{songkran_splash_ssrf_to_lfi_chain}Next write-up
Stupid Encryption