Skip to content
Path traversal Disclosed report Intermediate

Directory traversal at https://nightly.ubnt.com

The report claims that a directory traversal vulnerability exists on the nightly.ubnt.com server, allowing an attacker to read sensitive files such as /etc/passwd and /etc/hosts. The reporter used automated tools (Acunetix and IronWasp) to view these files, but could not reproduce the issue manually in browsers.

grampae Follow

Originally disclosed on HackerOne

High 7.5 View original
  • Triaged in 47 hours
  • Fixed in 5 days
  • Paid in 4 days
  • Disclosed after 5 months

From within the http request function of the Acunetix and IronWasp programs I was able to view the passwd and hosts files at https://nightly.ubnt.com.

Please see the attached screenshots for proof.

I have tried to reproduce from within firefox and internet explorer without much luck however if you need it I will try to come up with a work around.

For reference the response header is as follows: HTTP/1.1 200 OK Date: Thu, 18 May 2017 13:35:08 GMT Content-Type: application/octet-stream Content-Length: 1339 Connection: keep-alive X-Powered-By: Express Strict-Transport-Security: max-age=15552000; includeSubDomains Last-Modified: Wed, 25 May 2016 20:30:37 GMT

Attachments

Screenshot_1.jpg
Screenshot_1.jpg From the original on HackerOne
Screenshot_2.jpg
Screenshot_2.jpg
Screenshot_3.jpg
Screenshot_3.jpg
Screenshot_4.jpg
Screenshot_4.jpg

The original report as published on HackerOne, by grampae. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 failed to properly sanitise file path input, allowing traversal sequences to access files outside the web root.

Impact

An attacker could read sensitive system files, potentially exposing user credentials or network configuration, though the reporter could not reproduce it in standard browsers.

What the attacker needed

Use of specialised tools like Acunetix or IronWasp

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 a flaw where a web server lets someone request files outside the intended folder, like reading system files. Here, the reporter says they could read password and host files using security tools, but not by typing the request in a normal browser. This suggests the server might be misconfigured to allow such access, but the evidence is limited to screenshots.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by grampae

View all

4 more disclosed reports, best first.

More from Ubiquiti Inc.

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.