SRS has command injection vulnerability in demonstration api-server for HTTP callback.
No fixed version listed yet.Check the vendor advisory. References ↓
ossrs · srs
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.
Official description · CVE.org
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 2 years after disclosure.
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+2 yrs
Patch historyEarlier and later CVEs in the same code, in date order. It shows when a fix was bypassed or incomplete and which version finally fixed it.
2 related vulnerabilities in the same code over 10 months.
Linked vulnerabilitiesLinked by evidence that a fix failed or the same code was patched again. Oldest first.
- This CVECVE-2023-34105SRS has command injection vulnerability in demonstration…12 Jun 2023
relatedMedium
Why these are linked: Link confidenceHow strong the evidence is that two CVEs are related. High: stated in the CVE text or linked in an advisory, or the same code was patched one release apart. Medium: the same code, or a version step plus a similar description. Low: similar description only.
- Same code patched: srs_core_version5.hpp, srs_core_version6.hpp (machine-matched)commit 1d878c2commit 244ce7b
Affected versions and fixes
as published in the CVE recordossrs srs
Affected: >= 5.0.137, < 5.0.157 · >= 6.0.18, < 6.0.48 · < 5.0-b1