Skip to content
Info disclosure Write-up Beginner

How I Found Information Disclosure on a Non-Standard Port: The Story of Apache mod_status

An Apache server exposed its mod_status page on a non-standard port without IP restrictions, allowing anyone to view server statistics. An attacker could learn software versions, uptime, and potentially visitor IP addresses or URLs containing sensitive data.

albertstive1010 Follow

Published on medium.com

In security research, we often focus on standard ports like 80 or 443. However, sometimes security vulnerabilities lurk in “side doors” that administrators rarely notice.

Albertstive, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could obtain software version details, server uptime, and potentially visitor IP addresses or URLs that may contain sensitive information.

What the attacker needed

Network access to the non-standard port; mod_status enabled without IP restrictions

The fix

Access to the mod_status page should be restricted to trusted IP addresses or disabled entirely.

How it was found

  1. Scan the target with nmap using default scripts and version detection to find open ports and services.
  2. Notice a web server (Apache) running on port 5901.
  3. Fuzz directories on that port with ffuf and a common wordlist to find hidden endpoints.
  4. Discover that /server-status returns HTTP 200.
  5. Request /server-status?auto and /server-status with curl to retrieve the status page.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A web server can run a built-in status page that shows how busy it is and what software it uses. If that page is left open to the internet, anyone can read it and learn details that help them plan an attack. Here, the page was on an unusual port, which made it easy to miss.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by albertstive1010

View all

6 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.