CVE-2023-34105
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.
How to fix
- ossrs simple_realtime_server5.0.157, 6.0.48 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ossrs simple_realtime_server | 5.0.137 ≤ v < 5.0.157, 6.0.18 ≤ v < 6.0.48 | 5.0.157, 6.0.48 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.