Client crash via unchecked strcpy
Published Dec 14, 2023 · Updated Aug 2, 2024
Buffer overflow in Moonlight-common-c allows remote attackers to crash a Moonlight client via a malicious game streaming server after pairing. The extractVersionQuadFromString function copies an attacker-controlled version string with strcpy into a fixed-size stack buffer without bounds checking. Exploitation requires tricking the client into pairing with the malicious host; stack canaries make remote code execution unlikely in official binaries, although weaker mitigations can change the outcome.
Summary
What happened
Buffer overflow in Moonlight-common-c allows remote attackers to crash a Moonlight client via a malicious game streaming server after pairing. The extractVersionQuadFromString function copies an attacker-controlled version string with strcpy into a fixed-size stack buffer without bounds checking. Exploitation requires tricking the client into pairing with the malicious host; stack canaries make remote code execution unlikely in official binaries, although weaker mitigations can change the outcome.
The record
- CVE
- CVE-2023-42801
- Published
- Dec 14, 2023
- Updated
- Aug 2, 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.
- Aug 2, 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=>= f57bd745b4cbed577ea654fad4701bea4d38b44c, < b2497a3918a6d79808d9fd0c04734786e70d5954
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
No public exploit references are available in this record.
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