Quest NetVault Backup NVBULibraryPort SQL Injection Remote Code Execution Vulnerability
The NVBULibraryPort JSON-RPC message handler in Quest NetVault Backup fails to validate a user-supplied string before building SQL queries, allowing SQL injection. A remote attacker who bypasses authentication could exploit this to execute arbitrary code as NETWORK SERVICE.
06fe5fd2bc53027c4a3b7e395af0b850e7b8a044 Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Quest NetVault Backup. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the NVBULibraryPort JSON-RPC handler concatenates a user-supplied string directly into SQL queries without validation or parameterisation.
Impact
An attacker could execute arbitrary code in the context of NETWORK SERVICE, though authentication is required and the existing authentication mechanism can be bypassed.
What the attacker needed
Authentication bypass; network access to the service
The fix
Quest issued an update to correct the vulnerability.
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.
NetVault Backup is software that stores copies of data. It listens for messages in a format called JSON-RPC, and one of its handlers puts a value from those messages straight into a database query. Because the value is not checked, an attacker can change the query's meaning (SQL injection) and, in this case, run their own code on the server.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.