Information Leak (Github)
Credentials for a sensitive web service were committed to a public GitHub repository. An attacker could use them to query the service and retrieve personal and financial information about individuals.
- Triaged in 19 hours
- Fixed in 45 hours
- Disclosed after 7 months
In Github I found some credentials to use in a webservice that exposes very sensitive information of people, family group, financial situation, and more.
The webservice is subdomain for Costa Rica: Change "referencia" identification number to obtain different results. Example:
Impact
An attacker can extract information any people in the system.
Attachments


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 hard-coded credentials were committed to a public source code repository.
Impact
An attacker could extract information about any person in the system.
What the attacker needed
Access to the public GitHub repository; knowledge of the web service endpoint
How it was found
- Find the credentials in the public GitHub repository.
- Use the credentials in the web service URL.
- Change the identification number parameter to retrieve different records.
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 developer left a username and password (credentials) inside a public code repository on GitHub. Anyone who finds them can use the web service they unlock to look up private details about people. This is like leaving a key to a filing cabinet on a public noticeboard.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.