CVE-2018-3903 Memory corruption in Samsung

Critical 9.9 Published Updated

A stack buffer overflow in the video-core process allows remote code execution via a crafted HTTP request 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-3903?

CVE-2018-3903 is a critical memory corruption vulnerability in Talos Samsung, published on 23 Aug 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

On Samsung SmartThings Hub STH-ETH-250 devices with 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. An attacker can send an HTTP request to trigger this vulnerability. The memcpy call overflows the destination buffer, which has a size of 512 bytes. An attacker can send an arbitrarily long "url" value in order to overwrite the saved-PC with 0x42424242.

Weakness: CWE-787

Which versions are affected by CVE-2018-3903?

It affects 1 product.

Products include Samsung Sth-Eth-250 Firmware.

How do I fix CVE-2018-3903?

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

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

Sources

Also known as GHSA-rfq8-x5m9-6822.

Is CVE-2018-3903 in your software?

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

Check your SBOMs for free