Mozilla · Report #2412983
sentry Auth Token exposed publicly in docker hub image
Validstatus
51upvotes
18 Oct 2024disclosed
How it was found
Summary:
Hi during my recon I found Sentry token which belongs to taskcluster The token is still active.
Steps
- Go to https://hub.docker.com/r/taskcluster/taskcluster/tags
- pull these images tags
v15.0.0-20-g0eca18b7candc061025dcandba7958766andv16.2.0-77-gd8577f62amay be this exist in more tags - You will see this token 5841673fc43843db98088d579568271bcee388b21d91455b9c1fb151bab260b9 in /app/node_modules/sentry-api/test.js
- Try using the token with below curl request
curl -X GET -H "Authorization: Bearer 5841673fc43843db98088d579568271bcee388b21d91455b9c1fb151bab260b9" https://sentry.io/api/0/projects/
- You will see api response.
{F3113306}
Supporting Material/References:
Impact
Summary:
Sentry exposes logs of the application which can contain sensitive information and PII. This is basic impact. But sentry contains application logs it can be used to find more vulnerabilities in the code base