Critical information disclosure at https://www.doi.gov/
The reporter claims that a search parameter on the doi.gov site reflects an XSS payload and discloses a directory path on a USGS server. They assert this exposes sensitive information, but the report does not demonstrate actual access to non-public data.
Originally disclosed on Bugcrowd
- Accepted in 28 hours
- Disclosed after 9 days
Summary by tejaspawar172000
Can i disclose my?
Report details
-
Submitted
25 Dec 2021 20:30:10 UTC
-
Target Location
*.doi.gov -
Target category
Web App
-
VRT
Sensitive Data Exposure > Disclosure of Known Public Information
-
Priority
P5
-
Bug URL
https://pdsimage2.wr.usgs.gov/data/ -
Description
Summary : hello Team , while Exploring Your Site https://www.doi.gov/ .I found that Search Parameter is vulnerable And it is diclosing the path that gives access to critical information.
Vulnerable URL:- https://search.usa.gov/search?affiliate=doi.gov&query=%5c%22%3balert(%27XSS%27)%3b%2f%2f&commit=Search
https://pdsimage2.wr.usgs.gov/data/
Impact :-
The impact here can be great because Attacker Is Able To Gain sensitive Information About target
Step-by-step Reproduction Instructions :- 1 . Go to https://www.doi.gov/ 2 . perform search operation using payload ";alert('XSS');// 3 . It discloses the path https://pdsimage2.wr.usgs.gov/data/mgs-m-moc-na_wa-2-sdp-l0-v1.0/mgsc_1111/
- Go to below Path https://pdsimage2.wr.usgs.gov/data/mgs-m-moc-na_wa-2-sdp-l0-v1.0/mgsc_1111/ It is disclosing The Sensitive information.
POC:
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 the search parameter was reflected without proper encoding, and a directory listing was enabled on a separate server.
Impact
The reporter claims an attacker could gain sensitive information, but the disclosed path appears to be a public data directory and no actual sensitive data exposure is shown.
What the attacker needed
None
How it was found
- Go to the doi.gov website.
- Perform a search using a script-like payload.
- Observe that a path to a USGS data directory is disclosed.
- Visit the disclosed path and see a directory listing.
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 search box on a website was said to echo back special characters typed into it, and the person reporting thought this could let an attacker run code in a visitor's browser. They also found that the search result linked to a folder listing on another server, which they believed was private. The report does not show any private data actually being exposed.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.