Default Credentials Leads to $1200 Bounty Reward (Quest NetVault CVE-2017–17417)
A NetVault backup server was exposed with default admin credentials (blank password), allowing login to the dashboard. The attacker then used a known SQL injection in the /query endpoint to dump sensitive data from the database.
This vulnerability was discovered on a private program on Hacker One, therefore I won’t be disclosing all the information and I will be redacting everything. The scope contains a lot of assets and wild-cards therefore I feel I am quite lucky to find an interesting CVE on this target honestly.
The full write-up lives on its author's site
It belongs to its author, 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 NetVault application was installed with default administrative credentials (admin with a blank password) and was not changed, and the /query endpoint was vulnerable to SQL injection.
Impact
An attacker could log in to the backup server with default credentials and then exploit SQL injection to dump sensitive data from the database.
What the attacker needed
NetVault version < 11.4.5 exposed; Default admin credentials unchanged; Network access to the service
How it was found
- Enumerate subdomains and IP addresses using Subfinder and Shodan.
- Run an nmap scan on all collected IPs and domains to find open ports and service versions.
- Identify a NetVault service on port 8443 with version less than 11.4.5.
- Search for exploits and find a public exploit for NetVault default credentials and SQL injection.
- Log in to the NetVault dashboard using the default admin credentials (blank password).
- Capture the login request, modify the request body with the SQL injection payload from the exploit, and run SQLmap to dump the database.
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.
A backup server was left with a default username and no password, so anyone could log in. Once inside, the attacker used a known flaw in a search feature to steal data from the database. Default credentials are like leaving your front door unlocked with the key in the lock.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.