HexBrain

U.S. Dept Of Defense · Report #1139340

Elmah.axd is publicly accessible leaking Error Log

Validstatus
mediumseverity
9upvotes
15 Jun 2021disclosed

How it was found

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

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original