CVE-2018-3875 Memory corruption in SmartThings Hub STH-ETH-250

Critical 9.9 Published Updated

An attacker can execute arbitrary code on Samsung SmartThings Hub devices by sending a maliciously crafted JSON payload with an overly long session token.

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-3875?

CVE-2018-3875 is a critical memory corruption vulnerability in Samsung SmartThings Hub STH-ETH-250, published on 10 Sep 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An exploitable buffer overflow vulnerability exists in the credentials handler of video-core's HTTP server of Samsung SmartThings Hub STH-ETH-250-Firmware version 0.20.17. The video-core process incorrectly extracts fields from a user-controlled JSON payload, leading to a buffer overflow on the stack. The strncpy overflows the destination buffer, which has a size of 2,000 bytes. An attacker can send an arbitrarily long "sessionToken" value in order to exploit this vulnerability.

Weakness: CWE-119

Which versions are affected by CVE-2018-3875?

It affects 1 product.

Products include Samsung Sth-Eth-250 Firmware.

How do I fix CVE-2018-3875?

No fix has been published for CVE-2018-3875 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-3875 being exploited?

There is no known exploitation of CVE-2018-3875 in the wild and no public exploit code.

Sources

Also known as GHSA-98wj-w9r7-fcxv.

Is CVE-2018-3875 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free