Client code execution via unbounded RTSP URL copy
Published Dec 14, 2023 · Updated Nov 27, 2024
Buffer overflow in moonlight-common-c allows remote attackers controlling a paired GameStream server to crash or execute code on a client. performRtspHandshake in RtspConnection.c passes the server-controlled rtspSessionUrl to strcpy, copying arbitrary-length data into the 256-byte rtspTargetUrl buffer. The path requires user-approved pairing and a video bitrate of at least 15 Mbps; public-key pinning blocks man-in-the-middle delivery, and code execution depends on absent or bypassed exploit mitigations.
Summary
What happened
Buffer overflow in moonlight-common-c allows remote attackers controlling a paired GameStream server to crash or execute code on a client. performRtspHandshake in RtspConnection.c passes the server-controlled rtspSessionUrl to strcpy, copying arbitrary-length data into the 256-byte rtspTargetUrl buffer. The path requires user-approved pairing and a video bitrate of at least 15 Mbps; public-key pinning blocks man-in-the-middle delivery, and code execution depends on absent or bypassed exploit mitigations.
The record
- CVE
- CVE-2023-42800
- Published
- Dec 14, 2023
- Updated
- Nov 27, 2024
- Vendor
- Moonlight Game Streaming Project
- Product
- moonlight-common-c
- Classifications
- CWE-120, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 14, 2023CVE publishedPublication date reported by the CVE source.
- Nov 27, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 50c0a51b10ecc5b3415ea78c21d96d679e2288f9, < 24750d4b748fefa03d09fcfd6d45056faca354e0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Moonlight malicious GameStream server proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo