Skip to content
Info disclosure Disclosed report Beginner

Directory listing is enabled that exposes non public data through multiple path

Directory listing was enabled on several paths of a demo server, exposing files and the server version. An attacker could learn about the web technology and potentially access sensitive information.

tibin_sunny Follow

Originally disclosed on HackerOne

  • Triaged in 28 hours
  • Fixed in 29 hours
  • Disclosed after 5 months

Directory Listing is enabled on https://try.nextcloud.com and it shows out a few files on the server + The server version.

POC: https://try.nextcloud.com/assets/ https://try.nextcloud.com/css/ https://try.nextcloud.com/js/

Impact

This could leak sensitive information on the server and it also allows an attacker to gain knowledge about the web-technology used by the website

Attachments

nextcloud.PNG
nextcloud.PNG From the original on HackerOne

The original report as published on HackerOne, by tibin_sunny. 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 listing (autoindex) on certain folders.

Impact

This could leak sensitive information on the server and it also allows an attacker to gain knowledge about the web-technology used by the website.

What the attacker needed

None

How it was found

  1. Visit the assets directory path on the server.
  2. Visit the css directory path on the server.
  3. Visit the js directory path on the server.

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.

When a web server is asked for a folder instead of a specific file, it can either show a list of files or refuse. Here it showed the list, so anyone could see what files exist and what software version is running. That helps an attacker plan further attacks.

What is Info disclosure?

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

More by tibin_sunny

View all

1 more disclosed report, best first.

More from Nextcloud

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.