(Pwn2Own) QNAP QHora-322 do_fetch Improper Certificate Validation Vulnerability
The do_fetch method on QNAP QHora-322 routers does not properly validate the certificate presented by the server. A network-adjacent attacker could compromise transport security and, in combination with other vulnerabilities, execute code as admin.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to compromise transport security 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
Impact
A network-adjacent attacker could compromise transport security and, in conjunction with other vulnerabilities, execute code in the context of admin.
What the attacker needed
Network-adjacent access; no authentication required
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.
When a device connects to a server over a secure connection, it should check that the server's certificate is genuine. Here, the router's do_fetch method skips that check, so an attacker nearby on the network could pretend to be the server. On its own this breaks the secure connection; combined with other bugs, it could let the attacker run code as an administrator.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.