Researchers have disclosed information on how they were able to breach multiple websites of Indian government using exposed git and env files.
Last month, many ethical hackers Jackson Henry, Robert Willis, etc. collaborated to find the vulnerabilities in the government websites.
The exercise resulted in finding some serious weaknesses and flaws which includes exposed credential pairs, sensitive publicly reachable sensitive files exposing 13000 PII records and many police reports.
Researchers found exposed .git and .env files on one or more websites of the Indian government which further made them aware of the data breach.
After persisting efforts, the researcher continued to discover even more accessible files on government sites like SQL dump and databases that should have been inaccessible.