Insecure ███████ credentials on staging app at ████ leads to application takeover
A publicly reachable staging deployment of an application accepted default or test credentials, and the same credentials also opened an administrative panel. An attacker could use them to view and change personnel and intelligence data, upload files and alter configuration settings.
- Triaged in 8 hours
- Fixed in 2 months
- Disclosed after 2 months
Summary: A ██████████ application called "████" has an old endpoint that accepts insecure/test ████████ credentials despite being a publicly-accessible IP. This endpoint also provides the ability to view information that may be FOUO, to exfiltrate information on registered personnel or contractors, to upload files, and to change configuration settings with ███████████████ privileges.
Description: The IP address ███ points to a deployment of an application called ████/█████, which is a DoD-owned system on █████████). The login for this deployment accepts insecure ███ credentials (███).
There is also an authentication/█████ panel accessible at https://██████████externally accessible with these credentials.
The ████████ system available through this login includes file upload features, data exfiltration and management, workspace management, and infrastructure management.
The ██████████ / authentication █████████istration system available through this login includes file import/export privileges, user management, RBAC management, HTTP header management, OAuth credential management, session management, and frankly anything else you can think of that would be in an ████████ panel.
████████ frontend: #███████ #██████ #█████
███████ backend: #███ #█████████ #█████ #██████ #██████
Step-by-step Reproduction Instructions
- Navigate to https://████
- Enter the username "██████" and the password "██████████"
- After logging in, click "Launch" under ██████
- Navigate to https://███████████
- Enter the username "███" and the password "█████████"
Product, Version, and Configuration (If applicable)
████████████ ███ Build Date: 25 November 2020
Suggested Mitigation/Remediation Actions
- Immediately disable insecure ███████████████ credentials.
- I would recommend preventing external access to the ████████ █████████ portal/requiring CAC as a best practice.
Impact
An unauthorized attacker can exfiltrate intelligence and personnel information stored in a staging █████/█████. An unauthorized attacker can modify, insert, and delete intelligence and personnel information stored in a staging ████████/███████.
An unauthorized attacker can exfiltrate, modify, upload to, download from, and/or deny access to a staging ██████ environment through the ██████ ████ panel.
I did not feel comfortable seeing whether I could escalate file uploads to an RCE before getting DOD consent.
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 a staging deployment was exposed to the internet with default or test credentials left enabled, and the same weak credentials also protected an administrative panel.
Impact
An unauthorised attacker could exfiltrate, modify, insert or delete personnel and intelligence information and change configuration settings; the reporter did not test whether file upload could be escalated to remote code execution.
What the attacker needed
Internet access to the staging host; knowledge of the default credentials
The fix
The insecure default credentials should be disabled immediately and external access to the administrative portal should be restricted, for example by requiring a smart-card login.
How it was found
- Open the staging application's login page.
- Log in with the default test username and password.
- Launch the main application from the dashboard.
- Open the separate administrative panel URL.
- Log in to the admin panel with the default test credentials.
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.
The application was reachable from the internet and still had a built-in test username and password that anyone could guess or find. Logging in with them gave access to data and to an admin area where settings could be changed. Systems should never be exposed publicly with default or test logins still enabled.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.