CVE-2024-27130 is a buffer copy without checking the size of the input in several QNAP operating system versions, including QTS and QuTS hero. The flaw is reachable over the network and can be exploited to execute arbitrary code remotely. Public disclosure of vulnerability details and a proof-of-concept exploit increased the likelihood of active exploitation. Specific vulnerable functions or components are not currently available.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos.
This repository provides a proof-of-concept (PoC) exploit for CVE-2024-27130, a command injection vulnerability in QNAP QTS. The repository contains two main Python scripts: 'Checker.py' and 'PoC.py'. 'Checker.py' is a scanner that checks if a target QNAP device is vulnerable by sending a crafted POST request to the '/cgi-bin/filemanager/share.cgi' endpoint and looking for a SIGSEGV response. 'PoC.py' is the main exploit script, which, after verifying vulnerability, sends a series of payloads to the same endpoint to create a new user with root privileges, modify SSH configuration to allow login, add the user to the sudoers file, and restart the SSH daemon. The exploit requires a valid 'ssid' (Share ID) from the target, which can be obtained by requesting a file share from a NAS user. The README provides context and usage instructions. The exploit is operational and provides root access to the attacker if successful.
This repository provides a proof-of-concept exploit for CVE-2024-27130, a stack overflow vulnerability in QNAP NAS devices. The main exploit script, 'poc_CVE-2024-27130.py', takes a target host and a valid 'ssid' (obtained by having a NAS user share a file) and sends a series of crafted POST requests to the '/cgi-bin/filemanager/share.cgi' endpoint over HTTPS. These requests exploit the stack overflow to execute system commands on the target, creating a new user ('watchtowr') with a random password, modifying SSH configuration to allow this user, updating the sudoers file, and restarting the SSH daemon. The script then attempts to SSH into the device as the new user. The secondary script, 'qnap.py', contains helper functions for authenticating to QNAP devices but is not directly used in the main exploit flow. The repository is structured as a typical PoC, with a README, the main exploit script, and a helper module. The exploit demonstrates remote code execution and privilege escalation on vulnerable QNAP NAS devices.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.