Domain takeover on http://fossology-dev.allizom.org/
The web application accepted default administrator credentials, allowing an attacker to log in and perform administrator actions. The attacker could also upload a remote web shell due to the account's permissions.
Originally disclosed on Mozilla
- Fixed in 4 months
- Paid in 7 days
- Disclosed after 4 months
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.87 Safari/537.36
Steps to reproduce:
I was able to authenticate via the username & password as fossy here - http://fossology-dev.allizom.org/?mod=auth
Actual results:
I was able to perform administrator actions on the web-application. It appears I can also upload a remote web-shell due to the permissions on the account.
Expected results:
Administrator default credentials should be changed.
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 application shipped with default administrator credentials that were not changed during deployment.
Impact
An attacker could gain administrator access to the web application and potentially upload a web shell, leading to remote code execution.
What the attacker needed
Default credentials are known or guessable; network access to the web application
How it was found
- Go to the authentication page of the web application.
- Log in using the default username and password.
- Perform administrator actions on the web application.
- Upload a remote web shell due to the account's permissions.
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 website had a built-in administrator account with a default username and password that were never changed. Anyone who knew or guessed those defaults could log in as an administrator and take control of the site, including uploading a file that lets them run commands on the server.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.