test:test type of bug
A Keycloak instance was protected by a trivial username and password combination, allowing the attacker to log in. From there, the attacker accessed a GitLab instance and found credentials in a script that granted access to a VMware vCloud environment with around 20 virtual machines.
Published on medium.com
The original lives on medium.com
We do not hold its text, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Keycloak account was configured with a default or weak password that was never changed.
Impact
The attacker could access a VMware vCloud environment with about 20 virtual machines and 8TB of storage, potentially compromising all hosted systems.
What the attacker needed
None
How it was found
- Find a subdomain hosting Keycloak.
- Try common username and password pairs.
- Log in with the valid pair test:test.
- Browse the GitLab instance to find sensitive files.
- Open the start_snapshot.sh script and extract vCloud credentials.
- Use those credentials to log in to the vCloud environment.
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 write-up has not been written yet. The Original tab links to the source.
The login page for a management system used a very common username and password, like 'test' and 'test'. Because the password was so easy to guess, the attacker could log in and then find other passwords stored in a code repository, which gave access to many servers.
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.