Skip to content
OpenAdvisories
High · 7.5 Scanner template CVE-2023-34105 EUVD-2023-38208

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

Published Jun 12, 2023 · Updated Jan 3, 2025 · 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 products

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

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

References