Skip to content
Info disclosure Write-up Beginner

How I was able to find the P4 vulnerability in the United States Department of Agriculture by phone.

A publicly accessible log file on a USDA server exposed sensitive information. An attacker could read this file to obtain confidential data.

Prince Roy Follow

Published on royzsec.medium.com

Har Har Mahadev🔱. This is Prince Roy, a cyber security researcher.

Prince Roy(RoyzSec), on royzsec.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 log file was stored in a web-accessible directory without access controls.

Impact

An attacker could access confidential information from the exposed log file.

What the attacker needed

Internet access; a search engine

How it was found

  1. Use a Google search with specific keywords to find exposed files on usda.gov.
  2. Identify a log file containing sensitive information.
  3. Report the finding to the bug bounty program.

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 log file is a record of events that a computer keeps. If it is left on a public web server, anyone can read it and learn private details. Here, a search engine query found such a file.

What is Info disclosure?

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

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.