{"id":"CVE-2023-34105","published":"2023-06-12T16:30:39Z","modified":"2025-01-03T23:24:17Z","title":"SRS has command injection vulnerability in demonstration api-server for HTTP callback.","vendor":"ossrs","product":"srs","tier":"core","eol":null,"affectedVersions":[{"vendor":"ossrs","product":"srs","versions":[">= 5.0.137, < 5.0.157",">= 6.0.18, < 6.0.48","< 5.0-b1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-01-03T23:24:04.114062Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"SRS, a real-time video server, has a command injection flaw in its demonstration api-server component, specifically in the HTTP callback handling that receives requests at the /api/v1/snapshots endpoint. An unauthenticated remote attacker can exploit it by sending a crafted POST request whose body contains commands that the server then executes, though exploitation requires that a user interact with the attacker's content (drive-by delivery) and involves a high-complexity condition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T14:55:48Z"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.10023,"percentile":0.96345,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2025-08-17","exploitedFirstSeen":"2025-08-17","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2023-34105","date":"2025-08-17"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338","tags":["x_refsource_MISC"]},{"url":"https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2023-38208","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-38208","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2023-34105","name":"SRS - Command Injection","severity":"high","path":"http/cves/2023/CVE-2023-34105.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-34105.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2023-06-12","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-34105","provenance":"source"},{"date":"2025-08-17","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2023-34105","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":64.5,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 465 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.27,"detail":"percentile 0.9635"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":5.25,"detail":"base score 7.5"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-ossrs-srs-cve-2023-34105","children":[{"from":"CVE-2023-34105","to":"CVE-2024-29882","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["trunk/src/core/srs_core_version5.hpp","trunk/src/core/srs_core_version6.hpp"],"commits":["https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338","https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d"],"basis":"rarely changed file"}]}]}}