Skip to content
Info disclosure Write-up Beginner

Remote Sensitive Data Exposure Over Unesco Org Thanks To Options Bleed

The Apache server-status module was publicly accessible, exposing sensitive file paths and server configuration details. An attacker could enumerate these paths and access exposed files directly.

Piyush Raj ~ Rex Follow

Published on infosecwriteups.com

Options Bleed is a use after free error in Apache HTTP that causes a corrupted Allow header to be constructed in response to HTTP OPTIONS requests which helped in seeking the direct leak of sensitive data through a misconfigured server-statusmodule, modstatus which Apache web server exposes for displaying metrics.

Piyush Raj ~ Rex, on infosecwriteups.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

Root cause

Likely the server-status module was enabled and not restricted to local or trusted IP addresses.

Impact

Sensitive file paths and server configuration details were exposed, and the files could be accessed directly; the leak also revealed the Apache version and modules, which could aid further attacks.

What the attacker needed

Server-status publicly accessible; Apache vulnerable to Options Bleed

The fix

The server-status endpoint should be restricted to local or authorised IP addresses, and the Apache server should be updated to a version that fixes Options Bleed.

How it was found

  1. Send an HTTP OPTIONS request to the server to trigger the Options Bleed bug.
  2. Access the /server-status/ endpoint to view exposed file paths and server information.
  3. Use the leaked paths to directly access sensitive files.

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 have a status page that shows internal information. Here, that page was left open to anyone, so visitors could see private file locations and server details. This is like leaving a building's floor plan on the front desk.

What is Info disclosure?

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

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.