CVE-2023-34105
Ossrs Simple Realtime Server vulnerability
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.
Affected products
Simple Realtime Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ossrs Simple Realtime Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62 · Exploit
- github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338 · Patch
- github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-serv
- nvd.nist.gov/vuln/detail/CVE-2023-34105
- cve.org/CVERecord?id=CVE-2023-34105
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.