server-status open to everyone
Apache’s server-status page lists every request in flight, query strings included. Find the config that exposes it, what it leaks, and the version banner it gives away.
What you’re looking at
Apache’s server-status page lists every request in flight, query strings included. Find the config that exposes it, what it leaks, and the version banner it gives away.
Your goal: Show that Apache’s status page is open to everyone and what it leaks.
- Briefing
- the story: what happened and what evidence you were handed.
- Terminal
- the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
- Walkthrough
- the numbered path. Each step says what to type and what you should see. Hints open one at a time.
- Answer boxes
- under each question step. Type what you found and press Check.
Words you will meet
- URL
- web address
Start with step 1 in the walkthrough. Every step says what to do and what you should see. The whole thing takes about 2 min to talk through.
Briefing
mod_status is useful for operators and usually restricted to localhost. With ExtendedStatus On it shows the full request line of every active connection, which includes tokens that applications put in URLs.
The intranet server sits behind a load balancer that is also reachable from the internet. Its Apache config is in /etc/apache2.
intranet-01 · Web config review
Type help for the command list and objectives for your tasks. Everything runs in this browser.
Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.
The whole walkthrough
Every step in order, written to be read aloud: 270 words, about 2 min. It gives away every answer, so try the steps first.