CVE-2023-34105
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (8.69%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 8.69% probability · 95th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78, CWE-77
- Affected
- ossrs/simple realtime server
- Source
- security-advisories@github.com
References
- https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761Product
- https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338Patch
- https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62Exploit, Vendor Advisory
- https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761Product
- https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338Patch
- https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62Exploit, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.