Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-42801— Stack buffer overflow due to `strcpy` into fixed size buffer in `extractVersionQuadFromString`

Quick assessment

Affected
moonlight-stream moonlight-common-c
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Moonlight-common-c是Moonlight客户端之间共享的核心 GameStream 客户端代码。 Moonlight-common-c存在安全漏洞,该漏洞源于容易受到缓冲区溢出的影响,攻击者利用此漏洞可能会导致客户端崩溃。

CVSS 7.6 · High EPSS 0.79% · P55

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-42801

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Stack buffer overflow due to `strcpy` into fixed size buffer in `extractVersionQuadFromString`
Source: CVE Program / CVE List V5
Vulnerability Description
Moonlight-common-c contains the core GameStream client code shared between Moonlight clients. Moonlight-common-c is vulnerable to buffer overflow starting in commit f57bd745b4cbed577ea654fad4701bea4d38b44c. A malicious game streaming server could exploit a buffer overflow vulnerability to crash a moonlight client. Achieving RCE is possible but unlikely, due to stack canaries in use by modern compiler toolchains. The published binaries for official clients Qt, Android, iOS/tvOS, and Embedded are built with stack canaries, but some unofficial clients may not use stack canaries. This vulnerability takes place after the pairing process, so it requires the client to be tricked into pairing to a malicious host. It is not possible to perform using a man-in-the-middle due to public key pinning that takes place during the pairing process. The bug was addressed in commit b2497a3918a6d79808d9fd0c04734786e70d5954.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未进行输入大小检查的缓冲区拷贝(传统缓冲区溢出)
Source: CVE Program / CVE List V5
Vulnerability Title
Moonlight-common-c 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Moonlight-common-c是Moonlight客户端之间共享的核心 GameStream 客户端代码。 Moonlight-common-c存在安全漏洞,该漏洞源于容易受到缓冲区溢出的影响,攻击者利用此漏洞可能会导致客户端崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
moonlight-stream moonlight-common-c >= f57bd745b4cbed577ea654fad4701bea4d38b44c, < b2497a3918a6d79808d9fd0c04734786e70d5954 -

II. Public POCs for CVE-2023-42801

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-42801

请登录查看更多情报信息。

Patches & Fixes for CVE-2023-42801 (2)

Vendor Advisories for CVE-2023-42801 (1)

Other References for CVE-2023-42801 (1)

Same Patch Batch · moonlight-stream · 2023-12-14 · 3 CVEs total

CVE-2023-42799 8.8 HIGH Buffer overflow due to use of `strcpy` in `parseUrlAddrFromRtspUrlString`
CVE-2023-42800 8.8 HIGH Buffer overflow due to use of `strcpy` in `performRtspHandshake`

IV. Related Vulnerabilities

V. Comments for CVE-2023-42801

No comments yet


Leave a comment