CVE-2018-3879 SQL injection in SmartThings Hub STH-ETH-250
Attacker can inject SQL via JSON payload in HTTP requests to manipulate the video-core database on Samsung SmartThings Hub devices.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-3879?
CVE-2018-3879 is a high-severity SQL injection vulnerability in Samsung SmartThings Hub STH-ETH-250, published on 23 Aug 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An exploitable JSON injection vulnerability exists in the credentials handler of video-core's HTTP server of Samsung SmartThings Hub STH-ETH-250 devices with firmware version 0.20.17. The video-core process incorrectly parses the user-controlled JSON payload, leading to a JSON injection which in turn leads to a SQL injection in the video-core database. An attacker can send a series of HTTP requests to trigger this vulnerability.
Weakness: CWE-89
Which versions are affected by CVE-2018-3879?
It affects 1 product.
Products include Samsung Sth-Eth-250 Firmware.
How do I fix CVE-2018-3879?
No fix has been published for CVE-2018-3879 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-2018-3879 being exploited?
There is no known exploitation of CVE-2018-3879 in the wild and no public exploit code.
Other vulnerabilities in Samsung SmartThings Hub STH-ETH-250
- CVE-2018-3873 Memory corruption in SmartThings Hub STH-ETH-250
- CVE-2018-3874 Memory corruption in SmartThings Hub STH-ETH-250
- CVE-2018-3876 Memory corruption in SmartThings Hub STH-ETH-250
- CVE-2018-3877 Memory corruption in SmartThings Hub STH-ETH-250
- CVE-2018-3894 Memory corruption in SmartThings Hub STH-ETH-250
Sources
Also known as GHSA-wrgr-53r5-77j3.