Skip to content
Info disclosure Disclosed report Beginner

https://portal.nextcloud.com/.htaccess file is readable

The .htaccess file on portal.nextcloud.com was publicly readable and contained some potential sensitive data.

peeper35 Follow

Originally disclosed on HackerOne

  • Fixed in 3 hours
  • Disclosed after 3 hours

Summary by the program

@mksahilisr reported a disclosure of the .htaccess file on https://portal.nextcloud.com. This has been resolved by adding the following to the Apache server configuration:

<Files .htaccess>
  order allow,deny
  deny from all
</Files>

Since the .htaccess file contained some potential sensitive data this report has only been disclosed limitedly.

The original report as published on HackerOne, by peeper35. 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 Apache server configuration did not block access to .htaccess files, allowing them to be served as regular files.

Impact

The .htaccess file contained some potential sensitive data, which could have been accessed by an attacker.

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 .htaccess file is a configuration file used by Apache web servers to control access and other settings. If it is readable by anyone, it can reveal server details that might help an attacker. Here, the file was accessible, but the report does not specify what sensitive data it contained.

What is Info disclosure?

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

More by peeper35

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.