(Pwn2Own) QNAP TS-464 QR Code Device CRLF Injection Arbitrary Configuration Change Vulnerability
The privWizard API endpoints on QNAP TS-464 NAS devices fail to validate a user-supplied string before using it to update configuration, allowing unauthenticated remote attackers to make arbitrary configuration changes.
This vulnerability allows remote attackers to make arbitrary changes to configuration on affected installations of QNAP TS-464 NAS devices. 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
Root cause
Likely, the privWizard API endpoints accept a user-supplied string and use it to update configuration without validating or sanitising it, leading to CRLF injection.
Impact
An unauthenticated remote attacker could change the configuration of the system.
What the attacker needed
Network access to the device
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 flaw in a network storage device's web interface. The device takes input from a user and uses it to change settings without checking whether the input is safe. An attacker who can reach the device can change its settings without logging in.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.