RCE in Ossrs Simple Realtime Server

CVE-2023-34105

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 `/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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.088 (94.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-34105?
CVE-2023-34105 is a high-severity vulnerability in Ossrs Simple Realtime Server, classified under OS Command Injection. CVSS score: 7.5/10. Published 2023-06-12.
How severe is CVE-2023-34105?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2023-34105 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.