Vulnerability · Published Jun 12, 2023 · Assigned by GitHub_M

CVE-2023-34105SRS has command injection vulnerability in demonstration api-server for HTTP callback.

High 7.5

In plain English

A high-severity OS command injection in srs from ossrs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 8.7% (higher than 95% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)8.7%top 4.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Nuclei

Official 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.

Affected products (as reported)

VendorProductVersions
ossrs srs >= 5.0.137, < 5.0.157>= 6.0.18, < 6.0.48< 5.0-b1

Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

References