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

High 7.5 Published Updated

Attackers can execute arbitrary commands via the HTTP callback API endpoint, leading to remote code execution on the SRS video server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-34105?

CVE-2023-34105 is a high-severity command injection vulnerability in ossrs srs, published on 12 Jun 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-77, CWE-78

Which versions are affected by CVE-2023-34105?

It affects 1 product.

Products include Ossrs Simple Realtime Server.

How do I fix CVE-2023-34105?

No fix has been published for CVE-2023-34105 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-34105 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-34105 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-vpr5-779c-cx62.

Is CVE-2023-34105 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free