Information Leak - Github - JMS Information
A public GitHub repository contained hard-coded SAP Cloud HANA credentials and credentials for a Starbucks test domain. An attacker who found the repository could use those credentials to access sensitive employee or client data.
Originally disclosed on HackerOne
- Triaged in 11 days
- Fixed in 14 days
- Paid in 12 days
- Disclosed after 3 months
Hi,
After some research, I found a leak on GitHub that might lead to accessing sensitive data of employees or clients (not sure based on the code). There is also a SAP S-user to access a cloud based HANA service. I have not confirmed what kind of data is in there to avoid potential legal issues. I will let you guys figure that out ;)
I am not sure who is the owner of the repository, but I can tell you that the SAP credentials are for someone at Starbucks China.
https://github.com/karaskay/personalware
Some interesting files: https://github.com/karaskay/personalware/blob/989723f896eec67a50a9b9f59ceefc48a046049b/python/PycharmProjects/JMS36/testhttprequestjson.py (SAP Cloud HANA credentials)
https://github.com/karaskay/personalware/blob/989723f896eec67a50a9b9f59ceefc48a046049b/python/PycharmProjects/JMS36/JMSproducerforsurvey.py (starbuckstest domain credentials)
Thanks!
Impact
High potential of an unauthorized access to PII data
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 secrets such as SAP Cloud HANA and test domain credentials were committed in plain text to a public GitHub repository.
Impact
The reporter states a high potential for unauthorised access to personal data, though they did not confirm what data the credentials actually reach.
What the attacker needed
Public GitHub repository; no account needed to read it
The fix
The credentials should be revoked and rotated, and the secrets removed from the repository.
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 put credentials directly into code and uploaded it to a public GitHub repository. Anyone can read public repositories, so those credentials were exposed. They might allow access to a cloud database service.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.