How I Found My First Real Bug — and It Got Accepted!
A server application logged authentication credentials in plain text at trace-level logging. Anyone with access to the log files could extract these credentials and use them to access network devices.
medium.com
Published on medium.com
It was 2:00 a.m. My eyes were watering from hours of staring at the source code of a company on HackerOne, and I was seconds away from shutting it down for the night.
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
The application wrote authentication credentials to log files without masking or redaction when trace-level logging was enabled.
Impact
Anyone with access to the log files, such as system administrators, backup operators, or attackers who gained file system access, could extract credentials and use them for lateral movement, device manipulation, data exfiltration, and compliance violations.
What the attacker needed
Trace-level logging enabled; access to log files
The fix
The company implemented the suggested fix, which likely involved masking or removing credentials from log messages.
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.
When a program writes messages to a log file, it sometimes includes sensitive details like usernames and passwords. If those log files are not protected, someone who can read them can steal the passwords and use them to break into other systems. This report shows that even simple logging mistakes can be serious security problems.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.