Skip to content
Info disclosure Disclosed report Beginner

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.

walidhossain_ Follow

Originally disclosed on HackerOne

Informational View original
  • 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:

  1. visit the link

you will see leaked credentials.also visit other path to discover more sensitive info.

Impact

private credentials disclosure.

Attachments

Screenshot_2020-07-23_at_5.17.27_AM.png
Screenshot_2020-07-23_at_5.17.27_AM.png From the original on HackerOne

The original report as published on HackerOne, by walidhossain_. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Visit the provided GitHub link to the application-dev.properties file.
  2. Observe the leaked credentials in the file.
  3. 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.

More by walidhossain_

View all

1 more disclosed report, best first.

More from Yelp

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.