Buffer Copy Vulnerability Affects QNAP Operating System Versions

Patch this weekFull system takeover over the network by a logged-in user.
8.8HIGH

CVE-2024-27130

Key Information:

Vendor

QNAP

CVE ID
CVE ID:
CVE-2024-27130
Vendor
CVE Published:
21 May 2024
Fixed in
Fixed in:
5.1.7.2770 build 20240520

Timeline

Exploit known 4 days before it was disclosed

  • 🟡

    Public PoC available

  • 📈

    Vulnerability started trending

  • Vulnerability published

  • 👾

    Exploit known to exist

  • 📰

    First article discovered by watchTowr Labs - Blog

  • Vulnerability Reserved

Badges

📈 Trended📈 Score: 6,470👾 Exploit Exists🟡 Public PoC🟣 EPSS 37%📰 News Worthy

How risky is it?

  • Partly: Works over the network, but needs a login
  • Yes: Public exploit code (1 proof-of-concept)
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version
QTS 5.1.x to below 5.1.7.2770 build 20240520 is vulnerable
QuTS hero below h5.1.x is vulnerable
Install QTS 5.1.7.2770 build 20240520 or later
Install QuTS hero h5.1.x or later
Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach QTS. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

Exploit code is public, so check logs on exposed QTS systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

4Why it's rated "Patch this week"
  • Exploit code is public, so attacks are easy to copy.
  • EPSS gives it a 37.5% chance of exploitation in the next 30 days.
  • Its CVSS severity is high (8.8).

What is CVE-2024-27130?

CVE-2024-27130 is a buffer copy vulnerability affecting QNAP's QTS and QuTS Hero operating systems. The flaw arises from the unsafe use of the 'strcpy' function in the No_Support_ACL function, which is part of the get_file_size request in the share.cgi script. An attacker can exploit this vulnerability by sending a specially crafted request that includes a valid 'ssid' parameter, which is generated when a NAS user shares a file. This could allow the attacker to execute arbitrary code on the affected device.

The vulnerability has been addressed in QTS 5.1.7.2770 build 20240520 and later, as well as in QuTS Hero h5.1.7.2770 build 20240520 and later.

Potential Impact of CVE-2024-27130

  1. Arbitrary Code Execution: An attacker can execute arbitrary code on the affected QNAP device by exploiting this vulnerability.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

News Articles

favicon imageThe Hacker News

QNAP Patches New Flaws in QTS and QuTS hero Impacting NAS Appliances

QNAP releases fixes for medium-severity flaws in QTS and QuTS hero NAS appliances.

favicon imageHelp Net Security

15 QNAP NAS bugs and one PoC disclosed, update ASAP! (CVE-2024-27130) - Help Net Security

Researchers have found 15 vulnerabilities in QNAP's NAS devices and have released a PoC for one (CVE-2024-27130).

favicon imageGBHackers on Security

PoC Exploit Released for QNAP QTS zero-day RCE Flaw

Researchers have shown a proof-of-concept (PoC) attack for a zero-day remote code execution (RCE) flaw in the QTS operating system from QNAP.

References

Authentication Flaw in QVR Pro

CVE-2026-22898
QNAPQvr Pro9.3CRITICAL

Path Traversal in Qfiling

CVE-2025-59384
QNAPQfiling8.1HIGH

Improper Authentication in VioStor

CVE-2025-52856
QNAPViOStor9.3CRITICAL
View more QNAP vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

EPSS Score

37% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Credit

Aliz Hammond of watchTowr
.