RCE in Ossrs Simple Realtime Server
CVE-2023-34105
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.087 · 95.2th percentile
- Published
- 2023-06-12
What to do
- Fixed in
5.0-b1- Affected
- 2 affected products
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)
Published · last modified .
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.087, 95.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Ossrs Simple Realtime Server
- Ossrs Srs — versions >= 5.0.137, < 5.0.157, >= 6.0.18, < 6.0.48, < 5.0-b1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (20142995/nuclei-templates, ARPSyndicate/cve-scores, cyb3r-w0lf/nuclei-template-collection). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62 (Exploit, Vendor Advisory)
- https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338 (Patch)
- https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761 (Product)