Skip to content
SQL injection Write-up Intermediate

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.

tester333 Follow

Published on medium.com

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.

Tester, on medium.com

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

  1. Enumerate subdomains and IP addresses using Subfinder and Shodan.
  2. Run an nmap scan on all collected IPs and domains to find open ports and service versions.
  3. Identify a NetVault service on port 8443 with version less than 11.4.5.
  4. Search for exploits and find a public exploit for NetVault default credentials and SQL injection.
  5. Log in to the NetVault dashboard using the default admin credentials (blank password).
  6. 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.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.