NASA Intranet Flaw: Path Traversal Vulnerability Exposes All Server FIles & Directories
The application's ?&dir= parameter is vulnerable to directory traversal, allowing an attacker to browse the server's filesystem beyond the intended scope. This enables enumeration of directories and files across the entire server.
Originally disclosed on Bugcrowd
- Accepted in 4 days
- Fixed in 3 months
- Disclosed after 13 months
Summary by alan_olazabal
The application is vulnerable to an arbitrary directory traversal attack through the ?&dir= parameter. By supplying specially crafted input an attacker can traverse the server’s filesystem beyond the intended scope, enabling enumeration of directories and files across all the server
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 ?&dir= parameter is passed to a filesystem listing function without validating that the requested path stays within an allowed base directory.
Impact
An attacker could enumerate directories and files across the whole server, potentially exposing sensitive information.
What the attacker needed
Access to the vulnerable endpoint
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.
Directory traversal is when a web app lets you use special path shortcuts to step outside the folder it should show you. Here, the ?&dir= part of the address controls which folder is displayed, and it does not check that the folder is allowed. An attacker can therefore list files and folders anywhere on the server.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.