Remote code execution via unbounded shared-file copy
Published May 21, 2024 · Updated Aug 2, 2024
Stack-based buffer overflow in QNAP QTS 5.1.x and QuTS hero h5.1.x allows remote attackers to execute code through a shared-file request. The share.cgi get_file_size path passes an attacker-controlled name to No_Support_ACL, where strcpy copies it into a fixed-size stack buffer without checking its length. Exploitation requires a valid ssid from a file shared by a NAS user; successful control of the overflow permits arbitrary code execution.
Summary
What happened
Stack-based buffer overflow in QNAP QTS 5.1.x and QuTS hero h5.1.x allows remote attackers to execute code through a shared-file request. The share.cgi get_file_size path passes an attacker-controlled name to No_Support_ACL, where strcpy copies it into a fixed-size stack buffer without checking its length. Exploitation requires a valid ssid from a file shared by a NAS user; successful control of the overflow permits arbitrary code execution.
The record
- CVE
- CVE-2024-27130
- Published
- May 21, 2024
- Updated
- Aug 2, 2024
- Vendor
- Linn Products Limited
- Product
- QuTS hero
- Classifications
- CWE-120, CWE-121, CAPEC-100, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=h5.1.x
- Affected versionversion=h5.1.x <h5.1.7.2770 build 20240520
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- watchTowr CVE-2024-27130 proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo