Skip to content
Crypto Advisory Advanced

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

Sina Kheirkhah Follow

Originally disclosed on Zero Day Initiative

Medium 4.3 View original

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.

Sina Kheirkhah (@SinSinology) of Summoning Team (@SummoningTeam), 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

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.

More by Sina Kheirkhah

View all

105 more disclosed reports, best first.

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.