Git repo found

Description

During the scan, Kayran managed to find a .git folder.
The .git folder is a GitHub directory containing information and hashes of files and directories of the repository he is associated with. During the scan, Kayran found that the file is exposed and available for everyone to download.

An attacker could access very sensitive information including usernames, passwords, ports, and IP addresses of a database.

Recommendation

To prevent this vulnerability, Ensure that the directory access is blocked by configuring the .htaccess file or by removing the “/.git/” from the server entirely.

References

https://cwe.mitre.org/data/definitions/200.html

< Return to all Vulnerabilities

What is a CWE ?

Similar to the article written on CVEs, in this article we will answer the questions :What is CWE ? and, what is the difference between

Read More »