CVE-2024-50387 SMB Service
Remote attackers can inject malicious SQL code into QNAP SMB Service, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-50387?
CVE-2024-50387 is a critical SQL injection vulnerability in QNAP Systems Inc. SMB Service, published on 6 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A SQL injection vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow remote attackers to inject malicious code.
We have already fixed the vulnerability in the following version: SMB Service 4.15.002 and later SMB Service h4.15.002 and later
Weakness: CWE-89
Which versions are affected by CVE-2024-50387?
It affects 1 product.
Products include Qnap Smb Service.
How do I fix CVE-2024-50387?
No fix has been published for CVE-2024-50387 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-50387 being exploited?
There is no known exploitation of CVE-2024-50387 in the wild and no public exploit code.
Sources
Also known as GHSA-5x22-49wv-3m34.