Skip to content
Info disclosure Write-up Beginner

When a Debug Log Hands Out Every Password You Type

The login route logged submitted passwords in plaintext, and a hidden SIEM dashboard with default credentials exposed those logs. An attacker could read every password typed into the login form.

oopssec-store Follow

Published on medium.com

You’re going to chain two sloppy mistakes: a login route that logs passwords in plaintext, and a hidden SIEM dashboard still running on default credentials. Put them together and you can read every password users submit.

OopsSec Store, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

Likely a debug logging statement wrote credentials in cleartext, and the log viewer was protected only by default credentials and obscurity.

Impact

Every password typed into the login form could be read by anyone who found the dashboard.

What the attacker needed

Local instance of the app; network access to the app; directory brute-forcing tool

The fix

The text recommends never logging credentials, redacting sensitive fields, treating logs as sensitive data, and putting real authentication on internal tools.

How it was found

  1. Submit a login attempt and observe the POST request to the login API.
  2. Brute-force directories to find hidden pages.
  3. Discover the monitoring path and then the SIEM subpath.
  4. Open the SIEM dashboard and log in with default credentials.
  5. Trigger a login attempt to generate a log entry.
  6. Read the log entry on the dashboard to see the plaintext password.

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

A login page was quietly writing down every password people typed into a log file. A separate monitoring page, meant only for staff, was left with a default username and password and could be found by guessing web addresses. Anyone who found that page could read all the passwords.

What is Info disclosure?

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

More by oopssec-store

View all

2 more disclosed reports, best first.

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.