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.
- 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
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
- Navigate to the elmah.axd page on the target site.
- Download the entire error log from the download link.
- 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.