Quest Foglight for Databases writeTopologySectionToFile External Control of File Path Remote Code Execution Vulnerability
The writeTopologySectionToFile method in Quest Foglight for Databases fails to validate a user-supplied file path before using it in file operations. An unauthenticated remote attacker could exploit this to execute arbitrary 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 not 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 the method accepts a caller-controlled file path without validating or restricting it, allowing the path to be used in file operations that lead to code execution.
Impact
An unauthenticated remote attacker could execute arbitrary code in the context of SYSTEM on affected installations.
What the attacker needed
Network access to the affected service; no authentication required
The fix
It 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 software writes data to a file, and it lets the person making the request choose where that file goes. Because it does not check the path, an attacker can point it at a dangerous location and get their own code to run on the server. No login is needed, and the code runs with the highest Windows privileges.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.