.git file accessible on remote.bittorrent.com
The .git configuration file was publicly accessible, exposing repository details such as the origin URL.
- Disclosed after 31 days
Hi team, i detected your .git file accessible for any unauthorized user.
url : https://remote.bittorrent.com/static/webui/.git/config
HTTP/1.1 200 OK Set-Cookie: BTURT=talon-i-0837bbfadd509c546-2; path=/; domain=.utorrent.com Server: TornadoServer/2.1.1git Connection: keep-alive Content-Length: 260 Last-Modified: Wed, 18 Mar 2015 19:18:46 GMT Accept-Ranges: bytes Content-Type: text/html; charset=UTF-8 Cache-Control: public Cache-Control: private
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = [email protected]:bittorrent/webui.git fetch = +refs/heads/:refs/remotes/origin/ [branch "master"] remote = origin merge = refs/heads/master
Impact
change perm for this
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 static files from a directory that included the .git folder, without blocking access to dotfiles.
What the attacker needed
None
The fix
Access to the .git directory should be restricted.
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 a web server serves that folder by mistake, anyone can download its files and learn how the site's code is organised, which can help an attacker find other weaknesses.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.