Advisory Details

June 21st, 2024

(Pwn2Own) QNAP TS-464 Log Upload Command Injection Remote Code Execution Vulnerability

ZDI-24-825
ZDI-CAN-22463

CVE ID CVE-2023-51364
CVSS SCORE 8.1, AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS QNAP
AFFECTED PRODUCTS TS-464
VULNERABILITY DETAILS

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 specific flaw exists within the processing of log uploads. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this in conjunction with other vulnerabilities to execute code in the context of admin.

ADDITIONAL DETAILS QNAP has issued an update to correct this vulnerability. More details can be found at:
https://www.qnap.com/en/security-advisory/qsa-24-14
DISCLOSURE TIMELINE
  • 2023-11-09 - Vulnerability reported to vendor
  • 2024-06-21 - Coordinated public release of advisory
  • 2024-08-15 - Advisory Updated
CREDIT Le Huu Quang Linh, Do Minh Tuan & Billy Jheng Bing-Jhong of STAR Labs SG Pte. Ltd.
BACK TO ADVISORIES