Skip to content
Info disclosure Disclosed report Beginner

Elmah.axd is publicly accessible and leaking Error Log for ROOT on █████_PRD_WEB1 █████████elmah.axd

The ELMAH error log page (elmah.axd) was reachable without authentication on a production web server, exposing error entries that included cookies and server-side code. An attacker could read those logs to harvest session cookies and learn internal endpoints.

rudra16 Follow

Originally disclosed on HackerOne

  • Triaged in 19 hours
  • Fixed in 6 days
  • Disclosed after 15 days

Description: Hello, Security team, hope you are doing well. I found out that elmah.axd is publicly accessible on ████████ which is leaking error log which contain cookies and server code etc.

Step-by-step Reproduction Instructions

  1. Go to ██████elmah.axd and you will see the error logs.
  2. Same issue on█████████/elmah.axd

Suggested Mitigation/Remediation Action:

Implement proper authentication on elmah.axd or forbidden access . For reference - https://blog.elmah.io/elmah-security-and-allowremoteaccess-explained/ https://elmah.github.io/a/securing-error-log-pages/

Impact

Attacker can get access to any employee account using the cookies which he found in error log and also he can dump for endpoints.

Please find an attachment of poc and if you need more information please let me know Best Regards, Rudra16

The original report as published on HackerOne, by rudra16. 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

Root cause

Likely the ELMAH error log endpoint was left enabled with remote access allowed and no authentication or IP restriction in front of it.

Impact

An attacker could read the exposed error logs and use cookies found there to access employee accounts, and could also enumerate endpoints from the logged data.

What the attacker needed

No account needed; target host reachable over the internet

How it was found

  1. Open the elmah.axd path on the production host and observe the error log listing.
  2. Repeat the same request against the second host path and confirm the same exposure.

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 logging component for .NET web applications that records errors and shows them on a special page called elmah.axd. That page should only be visible to administrators, but here anyone on the internet could open it. The logs contained session cookies, which are the tokens a browser uses to stay logged in, so reading them could let someone act as a logged-in user.

What is Info disclosure?

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

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.