Cyber Resilience

CVE-2023-34105

HighPublic PoCRCE

Published: 12 June 2023

Published
12 June 2023
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.8550 99.4th percentile
Risk Priority 66 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2023-34105 is a high-severity OS Command Injection (CWE-78) vulnerability in Ossrs Simple Realtime Server. Its CVSS base score is 7.5 (High).

Operationally, ranked in the top 0.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

SRS is a real-time video server that supports protocols including RTMP, WebRTC, HLS, and SRT. CVE-2023-34105 is a command-injection vulnerability in the api-server component affecting all versions prior to 5.0.157, 5.0-b1, and 6.0.48. An unauthenticated POST request to the /api/v1/snapshots endpoint can place arbitrary shell commands in the request body; these commands are executed by the server, resulting in remote code execution. The flaw is tracked as CWE-78 and CWE-77 and carries a CVSS 3.1 score of 7.5.

An attacker who can reach the api-server endpoint may achieve arbitrary command execution on the underlying host. The attack vector is network-accessible with high attack complexity and requires user interaction, consistent with a drive-by scenario in which a victim is induced to submit a crafted request.

The GitHub Security Advisory GHSA-vpr5-779c-cx62 and the referenced commits document the remediation: the vulnerable code path in research/api-server/server.go was corrected in the three patched releases listed above. Administrators should upgrade to one of these versions to eliminate the injection sink.

The CVE’s EPSS score reached a peak of 0.9488 and currently stands at 0.8550, indicating sustained exploitation interest after disclosure.

EU & UK References

Vulnerability details

SRS is a real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181. Prior to versions 5.0.157, 5.0-b1, and 6.0.48, SRS's `api-server` server is vulnerable to a drive-by command injection. An attacker may send a request to the…

more

`/api/v1/snapshots` endpoint containing any commands to be executed as part of the body of the POST request. This issue may lead to Remote Code Execution (RCE). Versions 5.0.157, 5.0-b1, and 6.0.48 contain a fix.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

ossrs
simple realtime server
5.0.137 — 5.0.157 · 6.0.18 — 6.0.48

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-78

Platform-independent apps typically execute inside a managed runtime or sandbox that restricts direct OS command execution, reducing the ability to exploit OS command injection.

addresses: CWE-78

Validates inputs to block special elements that would alter OS command execution.

References