(Pwn2Own) QNAP QHora-322 system.db Use of Hard-coded Cryptographic Key Authentication Bypass Vulnerability
The QNAP QHora-322 router stores credentials using a hard-coded cryptographic key. A remote attacker could use this flaw, together with other vulnerabilities, to bypass authentication on the system.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to bypass authentication on affected installations of QNAP QHora-322 routers. 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 device stores credentials encrypted with a cryptographic key that is embedded in the firmware rather than being unique per device or securely generated.
Impact
An attacker could bypass authentication on the router, but the text says this is only possible in conjunction with other vulnerabilities.
What the attacker needed
Ability to reach the affected router; another vulnerability to chain
The fix
QNAP has 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.
A hard-coded cryptographic key is a secret key that is built into the device's software and is the same for every unit. Because anyone who extracts the key can decrypt or forge protected data, an attacker could use it to get past the login check. This report is very brief and does not explain how the key is used in practice.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.