Security Resilience

CVE-2024-51738

Auth Bypass in Lizardbyte Sunshine ≤ 2025.118.151840

Published
20 January 2025
Modified
11 September 2025
Patch / advisory
CVSS Score v4 7.7
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0060 50th percentile
Risk Priority 55 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-51738 is a high-severity Authentication Bypass by Primary Weakness (CWE-305) vulnerability in Lizardbyte Sunshine. Its CVSS base score is 7.7 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 50th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to IA-2 (Identification and Authentication (Organizational Users)) and IA-8 (Identification and Authentication (Non-organizational Users)) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-51738 affects Sunshine, a self-hosted game stream host for Moonlight, in versions 0.23.1 and earlier. The vulnerability stems from the pairing protocol implementation, which fails to validate request order, enabling a man-in-the-middle (MITM) attack. This issue is rated with a CVSS v3.1 base score of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) and is associated with CWE-305 (Incorrect Inheritance of Permissions), CWE-476 (NULL Pointer Dereference), and CWE-841 (Improper Enforcement of Behavioral Workflow).

An unauthenticated remote attacker can exploit this vulnerability by positioning themselves between a legitimate client and the Sunshine server during a pairing attempt. By hijacking the pairing process, the attacker can successfully pair their own client, potentially gaining unauthorized access to the game streaming service. Additionally, the flaw allows a remote attacker to crash the Sunshine instance.

The vulnerability has been fixed in version 2025.118.151840. Security practitioners should update to this patched version. Relevant details are available in the GitHub security advisory at https://github.com/LizardByte/Sunshine/security/advisories/GHSA-3hrw-xv8h-9499 and the fixing commit at https://github.com/LizardByte/Sunshine/commit/89f097ae65277d42b5d40163d09d92e412e6d7dd.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Sunshine is a self-hosted game stream host for Moonlight. In 0.23.1 and earlier, Sunshine's pairing protocol implementation does not validate request order and is thereby vulnerable to a MITM attack, potentially allowing an unauthenticated attacker to pair a client by…

more

hijacking a legitimate pairing attempt. This bug may also be used by a remote attacker to crash Sunshine. This vulnerability is fixed in 2025.118.151840.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1584.004 Server Resource Development
Adversaries may compromise third-party servers that can be used during targeting.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-31220Same product: Lizardbyte Sunshine
CVE-2026-32253Same product: Lizardbyte Sunshine
CVE-2024-31221Same product: Lizardbyte Sunshine
CVE-2024-31226Same product: Lizardbyte Sunshine
CVE-2024-45407Same product: Lizardbyte Sunshine
CVE-2025-53095Same product: Lizardbyte Sunshine
CVE-2025-53096Same product: Lizardbyte Sunshine
CVE-2025-10198Same product: Lizardbyte Sunshine
CVE-2025-10199Same product: Lizardbyte Sunshine
CVE-2025-54081Same product: Lizardbyte Sunshine

Affected Assets

lizardbyte
sunshine
≤ 2025.118.151840

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V6.4.3

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Requires unique identification and authentication of users, structurally blocking bypass of the mechanism.

Requires unique identification and authentication of non-organizational users, blocking bypass paths.

Developer testing and evaluation (including static analysis) directly finds null-dereference bugs before deployment.

Enforces approved authorizations so a bypass weakness cannot be exploited to reach resources.

Re-authentication requirements can be placed at critical workflow steps to ensure the actor has performed prior behaviors.

Documented development standards and tools can enforce null-safety rules and safe pointer usage.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 full match
blocks

Secure development practices throughout the SDLC prevent the primary weaknesses that enable authentication bypass.

PR.AA-03 mostly match
blocks

Strong authentication mechanisms and policy enforcement directly reduce bypass opportunities arising from implementation flaws.

ID.RA-01 partial match
blocks

Identifying and recording vulnerabilities catches the primary weaknesses that allow authentication bypass.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect authentication bypass conditions before deployment.

prevents

Training raises developer awareness of secure authentication practices (proper comparison, full validation, correct initialization), which prevents some instances of these primary coding errors, but the defects are implementation-level mistakes that training alone does not fully eliminate — analogous to A.8.28 vs CWE-502, where educated developers help but are fallible.

blocks

A.8.20 secures the network perimeter and data in transit, but CWE-305 is a primary implementation flaw in the authentication mechanism itself, which the network controls do not reach or block.

prevents

Secure coding practices help prevent the primary weakness that enables authentication bypass.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary implementation defects in delivered code the way those practices do; CWE-305 is an implementation defect in authentication code (e.g., incomplete password comparison, uninitialized array), and the clause's reach is the same as for CWE-134, which the owner graded `partial` on the same verb.

blocks

Secure authentication mechanisms directly address bypass risks in the implemented authentication process.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.

Ubuntu 22.04 (1 partial rule)
  • V-260470 Ubuntu 22.04 LTS, when booted, must require authentication upon booting into single-user and maintenance modes. blocks CWE-305
Ubuntu 24.04 (1 partial rule)
  • V-270675 Ubuntu 24.04 LTS when booted must require authentication upon booting into single-user and maintenance modes. blocks CWE-305

References