Quest Foglight for Databases EncryptionUtil Hardcoded Encyption Key Local Privilege Escalation Vulnerability
The symmetricDecrypt method in Quest Foglight for Databases uses a hard-coded cryptographic key. A local attacker who can already run low-privileged code could use this key to escalate to SYSTEM and execute arbitrary code.
06fe5fd2bc53027c4a3b7e395af0b850e7b8a044 Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to escalate privileges on affected installations of Quest Foglight for Databases. An attacker must first obtain the ability to execute low-privileged code on the target system in order 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 a symmetric encryption key was embedded in the product instead of being generated or stored securely, so the decryption routine can be abused by anyone who knows the key.
Impact
A local attacker with low-privileged code execution could escalate privileges and run arbitrary code as SYSTEM.
What the attacker needed
Ability to run low-privileged code locally
The fix
The vendor states the issue 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.
A program needs a secret key to scramble and unscramble protected data. Here that key was built into the software itself, so anyone with a copy can find it. Someone who can already run a little code on the machine could use the key to gain higher permissions.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.