NoMachine Redis Improper Authentication Local Privilege Escalation Vulnerability
The Redis database bundled with NoMachine uses credentials generated with insufficient entropy, so a local attacker who can already run low-privileged code can guess or derive them. That lets the attacker escalate privileges and execute arbitrary code as the service account.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to escalate privileges on affected installations of NoMachine. 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
Impact
A local attacker with low-privileged code execution could escalate to the service account and run arbitrary code; the text does not describe any defence that blocked this.
What the attacker needed
Local low-privileged code execution
The fix
It was fixed in NoMachine v10.1.7, v9.9.6 and v8.27.1.
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.
NoMachine ships a small database called Redis that it protects with a password. That password is generated in a way that is too predictable, so someone who already has a limited foothold on the machine can work it out. With the password they can use the database to run commands as the more powerful service account.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.