Vulnerability Details : CVE-2023-34105
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 category: Execute code
Products affected by CVE-2023-34105
- cpe:2.3:a:ossrs:simple_realtime_server:*:*:*:*:*:*:*:*
- cpe:2.3:a:ossrs:simple_realtime_server:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-34105
92.75%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 99 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-34105
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.6
|
5.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.6
|
5.9
|
GitHub, Inc. |
CWE ids for CVE-2023-34105
-
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.Assigned by: nvd@nist.gov (Primary)
-
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.Assigned by: security-advisories@github.com (Secondary)
References for CVE-2023-34105
-
https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62
Command injection in demonstration api-server for HTTP callback. · Advisory · ossrs/srs · GitHubExploit;Vendor Advisory
-
https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761
srs/server.go at 1d11d02e4b82fc3f37e4b048cff483b1581482c1 · ossrs/srs · GitHubProduct
-
https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338
Fix command injection in api-server for HTTP callback. v5.0.157, v6.0.48 · ossrs/srs@1d878c2 · GitHubPatch
Jump to