Path Traversal on meetcqpub1.gsa.gov allows attackers to see arbitrary file listings.
A path parameter on a public GSA host could be manipulated to list arbitrary directories on the server. An attacker could use it to see files and directory names on the system.
- Triaged in 7 days
- Fixed in 13 days
- Disclosed after 43 days
Summary:
Path Traversal on meetcqpub1.gsa.gov allows attackers to see arbitrary file listings from a directory of their choice.
I wasn't sure if this page was in scope of this program or the TTS program, hopefully this isn't a problem
Steps To Reproduce:
- Navigate to the following URL - https://meetcqpub1.gsa.gov/bin/querybuilder.json.css?path=/home&p.hits=full&p.limit=-1
- The path parameter can be manipulated to show other directories on the system as well, for example /etc.
Impact
An attacker is able to see files and directories present on the system, breaking the confidentiality section of the CIA Triad.
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 endpoint passed the user-supplied path value straight to a file-listing routine without restricting it to an allowed directory.
Impact
An attacker could see files and directories present on the system, breaking confidentiality.
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 web server sometimes takes a file or folder name from the address bar and uses it to look things up on disk. If it does not check that name, someone can swap in a different folder and the server will happily list it. Here the reporter changed one value in the URL and saw folders that should not be public.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.