Skip to content
Smuggling / CRLF Advisory Advanced

(Pwn2Own) QNAP QHora-322 local_pwd_reset HTTP Request Smuggling Vulnerability

The local_pwd_reset endpoint on QNAP QHora-322 routers parses HTTP header terminators inconsistently, allowing an attacker to smuggle arbitrary HTTP requests. This can bypass authentication and, when combined with other vulnerabilities, lead to arbitrary code execution.

Sina Kheirkhah Follow

Originally disclosed on Zero Day Initiative

Medium 6.3 View original

This vulnerability allows network-adjacent attackers to smuggle arbitrary HTTP requests on affected installations of QNAP QHora-322 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

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

Network-adjacent attackers could smuggle arbitrary HTTP requests, bypass authentication, and, in conjunction with other vulnerabilities, execute arbitrary code on the device.

What the attacker needed

Network-adjacent access; authentication bypassed

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.

HTTP request smuggling is a trick where an attacker hides a second request inside a first one, so a server or intermediary processes it unexpectedly. Here, the router's password-reset endpoint reads the end of HTTP headers in a different way than other parts of the system, letting an attacker sneak in extra requests. This can let them skip the login step and, with other bugs, run their own code on the device.

What is Smuggling / CRLF?

A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.

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.

Request smuggling and header injection

The lesson behind this report.

A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.