Skip to content
Info disclosure Disclosed report Beginner

Information Disclosure of .htaccess file in Private Server/Subdomain

An internal service lacked a permission check, allowing the .htaccess file to be extracted. An attacker could read the file's contents, which may reveal server configuration details.

ahsan Follow

Originally disclosed on HackerOne

  • Triaged in 1 hour
  • Fixed in 41 hours
  • Disclosed after 41 hours

Summary by the program

@ahsantahir reported a missing permission check on an internal service allowing the extraction of the .htaccess file. We've fixed this by adjusting the Apache configuration and putting Basic Auth in front of the page.

On request of the reporter this is disclosed limitedly.

Summary by the researcher

Non-Critical, small Information Disclosure. :-)

The original report as published on HackerOne, by ahsan. 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

Impact

An attacker could read the .htaccess file, potentially learning server configuration details; the report describes this as non-critical information disclosure.

What the attacker needed

Access to the internal service

The fix

It was fixed by adjusting the Apache configuration and adding Basic Auth in front of the page.

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 missing permission check on an internal service allowed the .htaccess file to be extracted. The fix restricted access to that page.

What is Info disclosure?

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

More by ahsan

View all

24 more disclosed reports, 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.