(Pwn2Own) QNAP TS-464 TURN Server create_session Server-Side Request Forgery Vulnerability
The TURN server's create_session action did not properly validate a URI before accessing resources, allowing a remote unauthenticated attacker to make server-side requests. This could be chained with other flaws to execute code as root.
This vulnerability allows remote attackers to execute arbitrary code 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
Impact
An unauthenticated remote attacker could make the server issue requests to arbitrary destinations, and could combine this with other vulnerabilities to execute code as root.
What the attacker needed
Network access to the TURN service; no authentication required
The fix
QNAP issued an update to correct the 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.
A TURN server helps devices connect through firewalls. Here, the server accepted a web address from an unauthenticated user and fetched it without checking where it pointed, so an attacker could make the server contact internal systems. That is called server-side request forgery.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.