Skip to content
Info disclosure Disclosed report Beginner

Elmah.axd is publicly accessible leaking Error Log

The ELMAH error log handler was publicly accessible without authentication, allowing anyone to view and download the full error log. An attacker could read sensitive data such as cookies, local file paths and IP addresses from the logged errors.

fdeleite Follow

Originally disclosed on HackerOne

  • Triaged in 13 hours
  • Fixed in 19 days
  • Disclosed after 3 months

Summary

ELMAH (Error Logging Modules and Handlers) is an application-wide error logging facility that is completely pluggable. If ELMAH is not properly configured, the elmah.axd handler can be accessed without authorization. This page will list all the error messages generated by the web application.

Impact

Impact

May disclose sensitive information to an attacker, users cookies, IP addresses and more.

Supporting Material/References:

System Host(s)

██████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

Steps To Reproduce

Go to https://█████████/elmah.axd From here you can download the entire log going to this URL. I found some errors that had sensitive information:

  • Cookie (█████; ████; __RequestVerificationToken=██████-.. truncated)
  • Local paths (████████)
  • IP Address (███)

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by fdeleite. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

How it worked

Impact

May disclose sensitive information to an attacker, including user cookies, local paths and IP addresses.

What the attacker needed

None

How it was found

  1. Navigate to the elmah.axd page on the target site.
  2. Download the entire error log from the download link.
  3. Inspect the error details to find sensitive information such as cookies, local paths and IP addresses.

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 report has not been written yet. The Original tab links to the source.

ELMAH is a tool that records errors in a web application. Normally its log page should be protected, but here it was open to anyone. That meant visitors could see private details like session cookies and server file paths.

What is Info disclosure?

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

More by fdeleite

View all

18 more disclosed reports, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

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.