Skip to content
Info disclosure Disclosed report Beginner

Open Directory

The web server was configured to allow directory listings, so an attacker could browse the contents of directories and see all files and folders. This could expose sensitive information depending on what files were present.

jerry3 Follow

Originally disclosed on HackerOne

  • Disclosed after 12 days

Summary: A misconfigured server can show a directory listing, which could potentially yield sensitive information to an attacker.

Solution :

  1. Disable directory listings in the web- or application-server configuration by default.
  2. Restrict access to unnecessary directories and files.
  3. Create an index (default) file for each directory.

Steps To Reproduce:

(Add details for how we can reproduce the issue)

  1. go to ratelimited.me
  2. right click on and image and open it
  3. go to this url https://ratelimited.me/assets/
  4. Click on parent directory
  5. now you can access all the folders shown

Some Examples :

  1. https://ratelimited.me/assets/sass/material-kit/sections/
  2. https://ratelimited.me/assets/sass/material-kit/plugins/
  3. https://ratelimited.me/assets/js/
  4. https://ratelimited.me/assets/css/

Impact

A directory listing provides an attacker with the complete index of all the resources located inside of the directory. The specific risks and consequences vary depending on which files are listed and accessible.

Attachments

OpenDirectoryRATELIMITED1.png
OpenDirectoryRATELIMITED1.png From the original on HackerOne

The original report as published on HackerOne, by jerry3. 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 web server was configured to allow directory listings by default, and no index file was present in the affected directories.

Impact

A directory listing gives an attacker a full index of all resources in a directory, and the specific risks depend on which files are exposed.

What the attacker needed

None

How it was found

  1. Go to the main website.
  2. Right-click on an image and open it in a new tab.
  3. Change the URL to the assets directory.
  4. Click on the parent directory link.
  5. Browse the list of folders and files that are shown.

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 directory listing is when a web server shows a list of all files in a folder instead of a normal web page. If the server is not set up to hide these lists, anyone can browse and see files that were not meant to be public, which might include private data.

What is Info disclosure?

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

More by jerry3

View all

1 more disclosed report, best first.

More from RATELIMITED

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.