CVE-2023-34105
Published: 12 June 2023
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
- 🇪🇺 ENISA EUVD: EUVD-2023-38208
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
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.