Useable credentials situated on - https://tools.taskcluster.net/secrets/
The Taskcluster secrets tool exposed credentials for an S3 bucket, Heroku, and Bugzilla that did not belong to the reporter. An attacker could use these to access the bucket and related services.
Originally disclosed on Mozilla
- Fixed in 35 hours
- Paid in 5 days
- Disclosed after 35 hours
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
Steps to reproduce:
Hello.
Whilst looking around taskcluster I have found some credentials which appear to work for one of your S3 Buckets releng-cache, I have uploaded test.txt to this bucket as a proof of concept. There also appears to be some Heroku & Bugzilla credentials which are present here. These details were situated at the following link:
https://tools.taskcluster.net/secrets/
The details which I found are as follows:
Secret Name
garbage/shipit/bugzilla
Expiresin a year
Secret Value (JSON Object)
{
"login": "[address removed]",
"token": "g0FtuvwrDriDLTC4y454Fht0In9CcC99PS13qPxK"
}
Secret Name
garbage/garbas/temp-releng-services-staging
Expiresin a year
Secret Value (JSON Object)
{
"CACHE_BUCKET": "releng-cache",
"AWS_ACCESS_KEY_ID": "AKIAIK5ANTSJ2XMXICBQ",
"AWS_SECRET_ACCESS_KEY": "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",
"HEROKU_USERNAME": "garbas",
"HEROKU_PASSWORD": "584734eb-844d-4528-ad0f-2f158923c94a"
}
Secret Name
garbage/garbas/temp-releng-services-production
Expiresin a year
Secret Value (JSON Object)
{
"CACHE_BUCKET": "releng-cache",
"AWS_ACCESS_KEY_ID": "AKIAJR3CXE347I5LKEPA",
"AWS_SECRET_ACCESS_KEY": "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",
"HEROKU_USERNAME": "garbas",
"HEROKU_PASSWORD": "584734eb-844d-4528-ad0f-2f158923c94a"
}
Secret Name
garbage/garbas/temp-releng-services-master
Expiresin a year
Secret Value (JSON Object)
{
"CACHE_BUCKET": "releng-cache",
"AWS_ACCESS_KEY_ID": "AKIAJ7VTX26QM7UHJQNA",
"AWS_SECRET_ACCESS_KEY": "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",
"HEROKU_USERNAME": "garbas",
"HEROKU_PASSWORD": "584734eb-844d-4528-ad0f-2f158923c94a"
}
Actual results:
I was able to view these sensitive credentials within Taskcluster which do not pertain to myself.
Expected results:
These credentials should not able to be accessed.
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 missing access control on the secrets listing page, allowing any user to view secrets that belong to others.
Impact
An attacker could access the S3 bucket and potentially Heroku and Bugzilla accounts using the exposed credentials.
What the attacker needed
Access to the Taskcluster secrets page
The fix
The secrets page should enforce access control so users can only view their own secrets.
How it was found
- Navigate to the Taskcluster secrets page.
- View the list of secrets, including those not belonging to the user.
- Use the exposed AWS credentials to upload a test file to the S3 bucket as proof.
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 secrets management page is meant to keep passwords and keys private. Here, anyone could see other people's secret keys, including cloud storage and account passwords. This let the reporter use those keys to access a storage bucket and potentially other services.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.