Full Access to sonarQube and Docker
A JavaScript file in the application contained hard-coded credentials and infrastructure IP addresses. The reporter used them to access the organisation's Docker Hub account and SonarQube projects.
- Triaged in 17 hours
- Fixed in 11 days
- Disclosed after 2 months
Summary by the program
This vulnerability involves the exposure of sensitive credentials and IP addresses in a JavaScript file. I gained access to your Hub Docker account and Sonar projects, allowing me to identify and assess the extent of the issue. The vulnerability stems from a JS file within your application that contains hard-coded sensitive credentials, such as usernames, passwords, and potentially API keys. Additionally, it exposes IP addresses associated with your infrastructure. This sensitive information is readily accessible to anyone with access to the file, making it susceptible to unauthorized access and potential misuse.
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 usernames and passwords were hard-coded into a client-side JavaScript file instead of being kept on the server.
Impact
Anyone who could read the public JavaScript file could obtain the credentials and gain access to the Docker Hub account and Sonar projects, as the reporter demonstrated.
What the attacker needed
Access to the public JavaScript file
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 JavaScript file is code that a website sends to every visitor's browser, so anyone can read it. This file had real usernames and passwords written directly into it, and the reporter used them to log in to the company's Docker Hub and SonarQube accounts.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.