Skip to content
Info disclosure Disclosed report Beginner

SAUCE Access_key and User_name leaked in Travis CI build logs

A Sauce Labs access key and username were exposed in public Travis CI build logs for the instantsearch.js project. An attacker could use these credentials to make any Sauce Labs API call, such as creating sub-accounts.

an0n-j Follow

Originally disclosed on HackerOne

  • Fixed in 34 hours
  • Disclosed after 31 days

hello algolia team, I founded the SAUCE Access_Key and User_name was leaked in Travis CI build logs of instantsearch.js product #Line-249-&-250. This can be used to perform every API calls of sauce-lab.(e.g Creating a Sub account. I created a test account for testing. sorry for this ;) ).

You should revoke the access_key and secure the key in Travis Cl build logs.

The original report as published on HackerOne, by an0n-j. 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 the build configuration printed environment variables containing Sauce Labs credentials into the public build log.

Impact

Anyone reading the public log could use the credentials to perform any Sauce Labs API action, including creating sub-accounts.

What the attacker needed

Public Travis CI build log; no account needed to read the log

The fix

The access key should be revoked and the credentials kept out of Travis CI build logs.

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.

Build logs from continuous integration services like Travis CI are often public. If secrets such as API keys are printed in those logs, anyone can read them and use them to act as the service account. Here the leaked key belonged to Sauce Labs, a testing service, and allowed full API access.

What is Info disclosure?

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

More by an0n-j

View all

4 more disclosed reports, best first.

More from Algolia

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.