ApacheBlaze
Description
Source
Web configs

app.py
web_apacheblaze/challenge/frontend/src/assets/js/fetchAPI.js
Solution
To win we just need to satisfy 2 conditions
game == 'click_topia':if request.headers.get('X-Forwarded-Host') == 'dev.apacheblaze.local':
While it seems like we should just curl, that's not going to work.
From website config files we know that there's 2 server, backend and frontend. Frontend talks to backend API with Javascript, but only /api/games/game request, it cannot transfer headers like we want to.
Googling for apache proxy module request smuggling landed me on Apache 2.4.55 mod_proxy HTTP Request Smuggling
httpd version in Dockerfile was suspicious!
Request to send
Request with \r
Send request with no newlines
Flag: HTB{1t5_4ll_4b0ut_Th3_Cl1ck5}
Last updated