Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Critical

SQL Injection RCE in QNAP TS-464 SMB Service

IdentifiersCVE-2024-50387CWE-89· Improper Neutralization of Special…

CVE-2024-50387 is a critical SQL injection vulnerability in QNAP TS-464 devices, specifically within the SMB Service component. The vulnerability arises from improper validation of user-supplied input used in command line arguments to construct SQL queries. This flaw allows unauthenticated, network-adjacent attackers to inject malicious SQL code, potentially leading to arbitrary code execution with administrative privileges, especially when chained with other vulnerabilities.

Share:
For your environment

Are you exposed to this one?

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.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows remote, unauthenticated attackers to execute arbitrary code as admin on affected QNAP TS-464 devices. This can result in full compromise of the device, data exfiltration, or use of the device as a foothold for further attacks within the network.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, restrict network access to the affected QNAP devices to trusted hosts only, disable unnecessary services, and monitor for suspicious activity. However, patching to the fixed version is strongly recommended as the primary mitigation.

Remediation

Patch, then assume compromise.

Upgrade the SMB Service on QNAP TS-464 devices to version 4.15.002 or h4.15.002 and later, as these versions contain the fix for the vulnerability. Follow QNAP's official security advisory QSA-24-42 for detailed update instructions.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
QNAP SystemsSmb Serviceoperating_system

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity

Community discussion across Reddit, Mastodon, and other social sources.