Skip to content
Crypto Advisory Advanced

(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.

Benjamin Walny Follow

Originally disclosed on Zero Day Initiative

High 8.1 View original

This vulnerability allows remote attackers to bypass authentication on affected installations of QNAP QHora-322 routers. Authentication is not required to exploit this vulnerability.

Benjamin Walny, Neodyme AG, on the Zero Day Initiative

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.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.