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

Published Jun 12, 2023
·
Updated

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 Software

2 affected components
Ossrs Simple Realtime Server>=5.0.137<5.0.157
Ossrs Simple Realtime Server>=6.0.18<6.0.48

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SRS (api-server) to a version that resolves this vulnerability.

    Fixed in 5.0.157
  2. Upgrade

    Upgrade SRS (api-server) to a version that resolves this vulnerability.

    Fixed in 5.0-b1
  3. Upgrade

    Upgrade SRS (api-server) to a version that resolves this vulnerability.

    Fixed in 6.0.48

Event History

Jun 12, 2023
CVE Published
via MITRE·04:30 PM
Data Sourced
via MITRE·04:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-34105?

CVE-2023-34105 is classified as a medium severity vulnerability due to the potential for command injection.

2

How do I fix CVE-2023-34105?

To fix CVE-2023-34105, upgrade to SRS versions 5.0.157, 5.0-b1, or 6.0.48 or later.

3

What impact does CVE-2023-34105 have on the Simple Realtime Server?

CVE-2023-34105 allows an attacker to perform drive-by command injection through the /api/v1/snapshots endpoint.

4

Which versions of SRS are affected by CVE-2023-34105?

SRS versions prior to 5.0.157, 5.0-b1, and 6.0.48 are affected by CVE-2023-34105.

5

Is CVE-2023-34105 exploit related to network access?

Yes, the exploitation of CVE-2023-34105 requires network access to the vulnerable SRS api-server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203