Sensitive file
A scanner found that a .gitignore file was publicly accessible at the web root. The file lists internal paths and configuration filenames, which could help an attacker learn about the target's structure.
Originally disclosed on HackerOne
- Fixed in 16 hours
- Disclosed after 16 hours
A possible sensitive file has been found. This file is not directly linked from the website. This check looks for common sensitive resources like password files, configuration files, log files, include files, statistics data, database dumps. Each one of these files could help an attacker to learn more about his target. This vulnerability affects /.gitignore. HTML .idea/* temp// uploads/*.xml img/contact.php config.php
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 serves dotfiles and project metadata from the web root instead of blocking them.
Impact
An attacker could use the listed paths and filenames to plan further attacks, but the text does not show that any sensitive data was actually exposed.
What the attacker needed
None
The fix
The file should ideally be removed or blocked, though the text gives no fix.
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 .gitignore file is a small text file used by developers to tell a version-control tool which files to ignore. Here it was left on the public website, so anyone could read it. It does not contain passwords itself, but it lists names of files and folders that might be interesting to an attacker.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.