VYPR
Unrated severityNVD Advisory· Published Sep 10, 2018· Updated Sep 17, 2024

CVE-2018-3875

CVE-2018-3875

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A stack buffer overflow in Samsung SmartThings Hub video-core HTTP server allows remote attackers to crash the device or execute arbitrary code via a crafted sessionToken.

Vulnerability

In Samsung SmartThings Hub STH-ETH-250 firmware version 0.20.17, the video-core process handles HTTP requests related to camera credential management. The handler incorrectly extracts fields from a user-controlled JSON payload, using strncpy to copy the "sessionToken" value into a stack buffer of only 2,000 bytes. An attacker can supply an arbitrarily long "sessionToken", causing a classic buffer overflow (CWE-120) on the stack. Reference [1] confirms the affected firmware version and this root cause.

Exploitation

An attacker must first authenticate to the hub (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H). With network access to the hub, the attacker sends a crafted HTTP request containing a JSON body with an oversized "sessionToken" field. The video-core process parses this JSON and copies the token into the fixed‑size stack buffer using strncpy, which overflows the buffer. No user interaction beyond authentication is required. Reference [1] describes the attack as sending an HTTP request with the malicious payload.

Impact

Successful exploitation can cause a stack buffer overflow, leading to a crash of the video-core process or, potentially, arbitrary code execution. The CVSS scope indicates the compromise can affect other components of the hub (changed scope), with high impact on confidentiality, integrity, and availability. An attacker could gain root‑level access to the device or use it as a pivot point within the local network. Reference [1] lists the CVSS score of 9.9 and details the possible consequences.

Mitigation

Samsung has not released a firmware update for this vulnerability as of the published date. Users should monitor vendor advisories for a patched firmware version. There are no known workarounds, and the device is not listed on CISA’s KEV as of this writing. Reference [1] provides the disclosure and notes that the tested version is 0.20.17, but no fix is mentioned.

AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.

References

1

News mentions

0

No linked articles in our index yet.