File name/folder enumeration.
The report claims that a server responds differently to a path-traversal attempt for an existing file versus a non-existent file, allowing an attacker to enumerate file names and map the server. The text does not demonstrate actual file retrieval, only a difference in response status.
Originally disclosed on HackerOne
- Triaged in 1 hour
- Fixed in 4 days
- Disclosed after 4 days
Hello, an attacker may be able to map your server and find configuration file names by the following method:
Valid attempt (Not found): https://staging.factlink.com/%5C../%5C../%5C../%5C../%5C../%5C../etc/passwd
Invalid attempt (404) https://staging.factlink.com/%5C../%5C../%5C../%5C../%5C../%5C../etc/passwd_Nonexistant
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 server returns different responses for existing versus non-existing files when handling path-traversal sequences, leaking file existence.
Impact
An attacker could potentially map the server and discover configuration file names, but the report does not show that file contents were accessed.
What the attacker needed
None
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 path-traversal attack tries to trick a web server into reading files outside the website's folder by using sequences like '../'. Here, the reporter says the server gives a different response when the target file exists compared to when it does not, which could let someone guess file names. However, the report does not show that any file was actually read.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.