Skip to content
Info disclosure Disclosed report Beginner

Git Config

A publicly accessible .git/config file was exposed on a domain, potentially allowing an attacker to retrieve source code from the Git repository. The reporter claims this could lead to sophisticated attacks but provides no further detail.

dtattoedhackers Follow

Originally disclosed on HackerOne

  • Fixed in 2 hours
  • Disclosed after 30 days

Hey Team, I am a Security Researcher and I have found that one of your domain is leaking the git file which may led to source code of git repository exposing can led to sophisticated attacks so kindly remove it.

Vuln URL - http://foundation01.mariadb.org/.git/config

BEST, ABHINAV SHARMA - @Dtattoedhackers

Impact

led to source code of git repository exposing can led to sophisticated attacks so kindly remove it.

The original report as published on HackerOne, by dtattoedhackers. 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 misconfigured to serve hidden .git directories instead of blocking access to them.

Impact

An attacker could potentially obtain the source code of the Git repository, which the reporter says may lead to sophisticated attacks, though no specific exploitation is shown.

What the attacker needed

None

The fix

The exposed .git/config file should be removed.

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.

When developers use Git to track code changes, a hidden folder called .git stores the project's history and settings. If that folder is left on a public web server, anyone can download files from it and sometimes rebuild the private source code. This report says one such file was reachable on a MariaDB domain.

What is Info disclosure?

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

More from MariaDB

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.