Skip to content
Leaked secrets Disclosed report Beginner

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.

p3t3r_r4bb1t Follow

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

The original report as published on HackerOne, by p3t3r_r4bb1t. 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 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.

More by p3t3r_r4bb1t

View all

3 more disclosed reports, best first.

More from Starbucks

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.