https://portal.nextcloud.com/.htaccess file is readable
The .htaccess file on portal.nextcloud.com was publicly readable and contained some potential sensitive data.
- 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.
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.