Buffer Copy Vulnerability Affects QNAP Operating System Versions
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
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
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
- 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
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.
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).
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
More QNAP Vulnerabilities
Authentication Flaw in QVR Pro
Path Traversal in Qfiling
Improper Authentication in VioStor
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction