Quest NetVault Backup NVBURemovableMedia SQL Injection Remote Code Execution Vulnerability
A SQL injection flaw in the processing of NVBURemovableMedia JSON-RPC messages lets a remote attacker run arbitrary code on affected NetVault Backup installations. Authentication is required, but the existing authentication mechanism can be bypassed.
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
User-supplied input in NVBURemovableMedia JSON-RPC messages is concatenated into SQL queries without proper validation.
Impact
A remote attacker could execute arbitrary code in the context of the NETWORK SERVICE account, and although authentication is required, the existing authentication mechanism can be bypassed.
What the attacker needed
Network access to the service; authentication bypass
The fix
Quest issued an update to correct this 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.
The backup software builds database queries by pasting in text supplied by the user without checking it first. A remote attacker can send crafted messages so the database runs their own commands, and in this case that leads to running code on the server. The attacker is supposed to need a login, but the login check can be got around.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.