Skip to content
Misconfiguration Advisory Advanced CVE-2024-32764

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

Team ECQ Follow

Originally disclosed on Zero Day Initiative

High 7.4 View original

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.

Team ECQ, 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

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.

More by Team ECQ

View all

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

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.