Skip to content
Info disclosure Disclosed report Beginner

Possible sensitive files

A .gitignore file was publicly accessible on the website, which may expose sensitive information. An attacker could use this to prepare further attacks.

0xsaikiran Follow

Originally disclosed on HackerOne

  • Disclosed after 2 days

Possible sensitive files

Vulnerability description 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 http://www.localize.io/.gitignore

View HTTP headers Request GET /.gitignore HTTP/1.1 Accept: acunetix/wvs Cookie: PHPSESSID=5kj6m8e2d1kav3lecuftl59bd0 Host: www.localize.io Connection: Keep-alive Accept-Encoding: gzip,deflate User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36

Response HTTP/1.1 200 OK Date: Fri, 18 Apr 2014 11:47:20 GMT Server: Apache Last-Modified: Tue, 14 Jan 2014 07:54:44 GMT ETag: "635c54d-3d-4efe98162d900" Accept-Ranges: bytes Content-Length: 61 Keep-Alive: timeout=15, max=85 Connection: Keep-Alive Content-Type: text/plain

The impact of this vulnerability This file may expose sensitive information that could help a malicious user to prepare more advanced attacks.

How to fix this vulnerability Restrict access to this file or remove it from the website.

Web references Web Server Security and Database Server Security http://www.acunetix.com/websitesecurity/webserver-security/

The original report as published on HackerOne, by 0xsaikiran. 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 serve hidden files such as .gitignore instead of blocking access to them.

What the attacker needed

None

The fix

Access to the file should be restricted or the file should be removed from the website.

How it was found

  1. Send a request for the .gitignore file on the target host.
  2. Observe that the server returns the file contents with a 200 OK response.

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 the version control system which files to ignore. If left on a public website, anyone can read it, which may expose sensitive information.

What is Info disclosure?

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

More by 0xsaikiran

View all

4 more disclosed reports, best first.

More from Localize

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.