CSE 598 ASOW - Fall 2026

Hosts and Proxies

Hosts and Proxies

Learn how HTTP authority and proxy metadata cross trust boundaries.

7 challenges

URL, URL Parser, and More

CHALLENGE 01

Virtual Hosting

— solves

An HTTP server can host several sites on one network endpoint. The request's authority selects the virtual server before the application handles it. Find the hidden virtual host and retrieve the flag. Run /challenge/server, then interact with it at http://challenge.localhost/.

CHALLENGE 02

Host-Generated URLs

— solves

Applications sometimes use request authority to build absolute links. If that authority is attacker-controlled, a secret reset link can be sent to the wrong host. Poison the admin's reset link, run /challenge/victim, and recover the flag. Run /challenge/server, then interact with it at http://challenge.localhost/.

CHALLENGE 03

The Proxy's Peer

— solves

A reverse proxy creates a new connection to its backend. The backend therefore sees the proxy, not the browser, as its immediate network peer. Exploit that trust boundary and recover the flag. Run /challenge/server, then interact with it at http://challenge.localhost/.

CHALLENGE 04

Forwarded Client Address

— solves

Proxies often forward a client address in X-Real-IP. That value is trustworthy only when the proxy replaces attacker input. Exploit the proxy's handling of this header and recover the flag. Run /challenge/server, then interact with it at http://challenge.localhost/.

CHALLENGE 05

Forwarded Address Chains

— solves

X-Forwarded-For represents a chain of hops rather than one address. A proxy may append its observation to a value that is already present. Exploit a backend that trusts the wrong end of the chain. Run /challenge/server, then interact with it at http://challenge.localhost/.

CHALLENGE 06

Trusted Proxy Counts

— solves

Werkzeug's ProxyFix trusts a configured number of proxy hops from the right of an X-Forwarded-For chain. That count must match the deployed topology. Exploit the mismatch and recover the flag. Run /challenge/server, then interact with it at http://challenge.localhost/.

CHALLENGE 07

Forwarded Authority

— solves

Client address is only one piece of proxy metadata. A backend may also trust forwarded authority when building absolute links. Poison the admin's reset link across the proxy boundary, run /challenge/victim, and recover the flag. Run /challenge/server, then interact with it at http://challenge.localhost/.