JDBC credentials leaked via github
A public GitHub repository contained a configuration file with JDBC credentials, and the reporter suspected the repository belonged to Yelp. Anyone could read the exposed credentials and potentially use them to access the associated database.
Originally disclosed on HackerOne
- Disclosed after 5 days
Summary:
jdbc credentials found on a public github repo.though the repo belongs to yelp or not there is a doubt.I have found many more sensitive data on that repo.so kindly check the repo all together.sensitive data found publicly.
Platform(s) Affected:
website
Steps To Reproduce:
- visit the link
you will see leaked credentials.also visit other path to discover more sensitive info.
Impact
private credentials disclosure.
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 a developer committed a properties file containing database credentials to a public repository.
Impact
Private credentials were disclosed, which could allow unauthorised access to the associated database, though the report does not confirm the credentials were valid or that the repository belonged to Yelp.
What the attacker needed
Public GitHub repository; no authentication needed to view
The fix
Credentials should be removed from the public repository and rotated, and the file deleted from its history.
How it was found
- Visit the provided GitHub link to the application-dev.properties file.
- Observe the leaked credentials in the file.
- Browse other paths in the repository to find more sensitive information.
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 configuration file meant to stay private was published on a public code hosting site. That file contained a username and password for a database (JDBC is a way for Java programs to connect to databases). Anyone who found the file could try to log in to that database.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.