CVE-2023-34105
JSON

7.5high

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

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
8.69% (higher than 95% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
ossrs srs>= 5.0.137, < 5.0.157, >= 6.0.18, < 6.0.48, < 5.0-b1CVE List
ossrs simple_realtime_serverfrom 5.0.137 before 5.0.157, from 6.0.18 before 6.0.48NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-77CWE-78

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-34105 changed 2025-01-03CVE Terms of Use
NVDCVE-2023-34105 changed 2026-06-17Public domain