CVE-2018-3895 Memory corruption in Samsung

Critical 9.9 Published Updated

An attacker can trigger a buffer overflow in the SmartThings Hub HTTP server via a crafted HTTP request, potentially leading to remote code execution.

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

CVE-2018-3895 is a critical memory corruption vulnerability in Samsung, published on 28 Aug 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 /cameras/XXXX/clips handler of video-core's HTTP server of Samsung SmartThings Hub STH-ETH-250 Firmware version 0.20.17. The strncpy call overflows the destination buffer, which has a size of 52 bytes. An attacker can send an arbitrarily long 'endTime' value in order to exploit this vulnerability. An attacker can send an HTTP request to trigger this vulnerability.

Weakness: CWE-120

Which versions are affected by CVE-2018-3895?

It affects 1 product.

Products include Samsung Sth-Eth-250 Firmware.

How do I fix CVE-2018-3895?

No fix has been published for CVE-2018-3895 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-3895 being exploited?

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

Sources

Also known as GHSA-624g-xqw5-ccp4.

Is CVE-2018-3895 in your software?

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

Check your SBOMs for free