Skip to content
Info disclosure Disclosed report Beginner

debug.log File Exposure that exposes (user/████) username and password at █████████

A debug.log file was publicly accessible and contained a username and password. An attacker could read these credentials and use them to gain unauthorised access to the application.

skoll101 Follow

Originally disclosed on HackerOne

  • Triaged in 4 days
  • Fixed in 49 days
  • Disclosed after 3 months

Summary by the program

Summary:

Hello Team, I have discovered a debug.log file exposure vulnerability at █████████ . This vulnerability allows an attacker to view potentially sensitive information, including (user/██████) username and password.

Details: The vulnerability is present at █████ of the application. When a user accesses the debug.log file, the application displays detailed information about the server , error messages and debugging information. In this case, the debug.log file contains (user/██████) username and password, which can be used by an attacker to gain unauthorised access to the application.

Steps To Reproduce: Access the debug.log file by navigating to ███████ . Observe that the file is accessible and contains sensitive information. you can see the screenshot below.

Recommendation: To mitigate this vulnerability, it is recommended that you remove or restrict access to the debug.log file. This can be achieved by deleting the file, renaming it to a less obvious name, or configuring the web server to restrict access to the file. In addition, it is recommended that all exposed (user/█████) credentials be changed immediately to prevent unauthorised access.

Impact An attacker can exploit this vulnerability to gain unauthorised access to the application using the exposed █████████ credentials. This can result in a loss of confidentiality, integrity, and availability for the affected users. Please let me know if you require any further information or assistance. Kind regards,

The original report as published on HackerOne, by skoll101. 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 a debug log file was left in a web-accessible directory without access restrictions, and it recorded credentials.

Impact

An attacker could use the exposed credentials to gain unauthorised access to the application, affecting confidentiality, integrity and availability.

What the attacker needed

None

The fix

Access to the debug.log file should be removed or restricted, and the exposed credentials should be changed.

How it was found

  1. Navigate to the debug.log file location.
  2. Observe that the file is accessible and contains sensitive information.

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.

A log file records what a server does and can accidentally include private details. Here the file was accessible and held a username and password, which could be used to log in.

What is Info disclosure?

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

More by skoll101

View all

2 more disclosed reports, best first.

More from Mars

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.