Skip to content
Info disclosure Disclosed report Beginner

200 http code in 403 forbidden directories on main Ubnt.com domain

The reporter found that some subdirectories under a forbidden static path returned HTTP 200 and were accessible, while their parent directories returned 403. The reporter did not examine the content, so the actual impact is unclear.

aaly Follow

Originally disclosed on HackerOne

  • Fixed in 28 hours
  • Disclosed after 8 days

Hello,

My investigations revealed that we have accesible directory in forbidden directory:

http://www.ubnt.com/static/ - forbidden http://www.ubnt.com/static/cm/ - forbidden Here we have http://www.ubnt.com/static/cm/mode/ accesible and then /xm/l and /django/ foders

POC: http://www.ubnt.com/static/cm/mode/ - 200 http code (accesible) http://www.ubnt.com/static/cm/mode/xml/ - 200 http code (accesible) http://www.ubnt.com/static/cm/mode/django/ - 200 http code (accesible)

Now, i didn't looked up very close to this pages content, but for sure we are not supposed to acces them. Thank you.

Kind Regards.

The original report as published on HackerOne, by aaly. 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 access rules were applied only to the parent directories and not inherited by the nested directories, leaving them publicly reachable.

Impact

Directories that were intended to be blocked could be reached, but the reporter did not inspect their contents, so any exposure of sensitive information is unconfirmed.

What the attacker needed

None

How it was found

  1. Request the parent static directory and observe a 403 response.
  2. Request the nested mode directory and observe a 200 response.
  3. Request the xml and django subdirectories and observe 200 responses.

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 can block a folder (returning '403 Forbidden') but still allow access to some folders inside it. Here, the parent folders were blocked, but a few deeper folders were reachable. The reporter did not check what was inside, so we do not know if anything sensitive was exposed.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Ubiquiti Inc.

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.