ApacheBlaze

Description

Source

Web configs

ApacheBlaze.png

app.py

web_apacheblaze/challenge/frontend/src/assets/js/fetchAPI.js

Solution

To win we just need to satisfy 2 conditions

  1. game == 'click_topia':

  2. 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 Smugglingarrow-up-right

CVE-2023-25690-POCarrow-up-right

httpd version in Dockerfile was suspicious!

Request to send

Request with \r

Send request with no newlines

circle-check

Last updated