(Pwn2Own) QNAP QHora-322 backup Use of Hard-coded Cryptographic Key Privilege Escalation Vulnerability
The backup and restore feature of QNAP QHora-322 routers uses a hardcoded cryptographic key. An attacker who is already authenticated can exploit this to escalate privileges and execute arbitrary code as root.
This vulnerability allows network-adjacent attackers to bypass authentication on affected installations of QNAP QHora-322 routers. 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 the backup and restore functionality relies on a cryptographic key that is embedded in the firmware rather than generated per device or protected securely.
Impact
An authenticated, network-adjacent attacker could escalate privileges and execute arbitrary code as root on the router.
What the attacker needed
Network-adjacent access; valid authentication
The fix
QNAP 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 hardcoded cryptographic key is a secret value built into the software that should be unique and private but is the same for every device. Because it is fixed, anyone who learns it can decrypt or forge data the device trusts. Here, an attacker who already has a login can use that key to gain the highest level of control on the router.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.