Buffer overflow in QNAP Qts

CVE-2024-27130

A buffer copy without checking size of input vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow users to execute code via a network.

We have already fixed the vulnerability in the following version:
QTS 5.1.7.2770 build 20240520 and later
QuTS hero h5.1.7.2770 build 20240520 and later

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L.

EPSS exploit prediction

EPSS 0.375, 98.6th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

4 public repositories with exploit or proof-of-concept code for this CVE:

  • watchtowrlabs/CVE-2024-27130 (39 stars, last pushed 2024-05-17): PoC for CVE-2024-27130
  • d0rb/CVE-2024-27130 (2 stars, last pushed 2024-05-21): This Python script is designed as a proof-of-concept (PoC) for the CVE-2024-27130 vulnerability in QNAP QTS
  • dkstar11q/cve-2024-27130-poc (last pushed 2024-11-22): CVE-2024-27130是影响QNAP网络附加存储(NAS)设备的一个严重漏洞。该漏洞源于QTS操作系统中share.cgi脚本的No_Support_ACL函数中不安全地使用strcpy函数,导致堆栈缓冲区溢出。攻击者可以利用此漏洞,通过精心构造的请求在目标系统上执行任意代码,进而完全控制受影响的设备。
  • XiaomingX/cve-2024-27130-poc

Also mentioned in 26 other repositories (0day404/HV-2024-POC, 12442RF/POC, 20142995/nuclei-templates, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References