(Pwn2Own) QNAP TS-464 Netmgr Endpoint CRLF Injection Arbitrary Configuration Update Vulnerability
The legacy_cgi endpoints on QNAP TS-464 NAS devices fail to validate user-supplied strings before using them to update configurations, allowing CRLF injection. An attacker who can access the device's localhost interface (e.g., via a malicious TURN server) could create arbitrary configurations, potentially chained with other vulnerabilities.
This vulnerability allows remote attackers to create arbitrary configurations on affected installations of QNAP TS-464 NAS devices. An attacker must first obtain the ability to access the device's localhost interface, which can be accomplished using a malicious TURN server.
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
An attacker who can access the device's localhost interface could create arbitrary configurations, and this may be chained with other vulnerabilities.
What the attacker needed
Access to device's localhost interface; malicious TURN server to gain access
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.
This is a CRLF injection bug: the server takes a string from the user and puts it into a configuration update without checking it. An attacker who can reach the device's internal localhost interface (for example by tricking it with a malicious TURN server) could inject extra lines and change settings. The vendor has released a fix.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.