Quest NetVault Backup NVBUDeviceDrive SQL Injection Remote Code Execution Vulnerability
The NVBUDeviceDrive JSON-RPC message handler fails to validate a user-supplied string before building SQL queries, allowing SQL injection. An attacker who can bypass the existing authentication could execute arbitrary code as NETWORK SERVICE on affected NetVault Backup installations.
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 NVBUDeviceDrive JSON-RPC handler concatenates an unvalidated user-supplied string into SQL queries instead of using parameterised statements.
Impact
An attacker could execute arbitrary code in the context of NETWORK SERVICE, but only after bypassing the existing authentication mechanism.
What the attacker needed
Authentication bypass; access to the JSON-RPC interface
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.
SQL injection is when a program puts user input straight into a database command, so crafted input can change what the command does. Here that flaw sits in a message handler, and the report says it can be pushed further to run code on the server. The catch is that you first need to get past the login, though the report says that protection can be bypassed.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.