Quest Foglight for Databases runScript Incorrect Authorization Remote Code Execution Vulnerability
The runScript function in Quest Foglight for Databases lacks proper authorization checks, allowing an authenticated attacker to execute arbitrary code. The attacker can leverage this to run code with SYSTEM privileges.
06fe5fd2bc53027c4a3b7e395af0b850e7b8a044 Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Quest Foglight for Databases. Authentication is required to exploit this vulnerability.
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 missing or incorrect authorization checks in the runScript function before allowing access to functionality that executes code.
Impact
An authenticated attacker could execute arbitrary code with SYSTEM privileges on the affected installation.
What the attacker needed
Authentication required; Access to runScript function
The fix
The vulnerability was fixed in Foglight 8.3.
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.
This is a flaw in a database monitoring tool. A logged-in user can trick the tool into running their own commands on the server, and because the tool runs with high privileges, those commands run as the system itself. The problem is that the tool does not check whether the user is allowed to use that feature.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.