CVE-2024-45407

Sunshine has incorrect state management during pairing process may lead to incorrectly authorized client

Published Sep 10, 2024 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Sunshine is a self-hosted game stream host for Moonlight. Clients that experience a MITM attack during the pairing process may inadvertantly allow access to an unintended client rather than failing authentication due to a PIN validation error. The pairing attempt fails due to the incorrect PIN, but the certificate from the forged pairing attempt is incorrectly persisted prior to the completion of the pairing request. This allows access to the certificate belonging to the attacker.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-41462 Sunshine is a self-hosted game stream host for Moonlight. Clients that experience a MITM attack during the pairing process may inadvertantly allow access to an unintended client rather than failing authentication due to a PIN validation error. The pairing attempt fails due to the incorrect PIN, but the certificate from the forged pairing attempt is incorrectly persisted prior to the completion of the pairing request. This allows access to the certificate belonging to the attacker.
History
Type Values Removed Values Added
First Time appeared Lizardbyte
Lizardbyte sunshine
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:lizardbyte:sunshine:2024-05-27:*:*:*:*:*:*:*
Vendors & Products Lizardbyte
Lizardbyte sunshine
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Sunshine is a self-hosted game stream host for Moonlight. Clients that experience a MITM attack during the pairing process may inadvertantly allow access to an unintended client rather than failing authentication due to a PIN validation error. The pairing attempt fails due to the incorrect PIN, but the certificate from the forged pairing attempt is incorrectly persisted prior to the completion of the pairing request. This allows access to the certificate belonging to the attacker.
Title Sunshine has incorrect state management during pairing process may lead to incorrectly authorized client
Weaknesses CWE-300
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 10, 2024, 4:12 PM
Reserved
Aug 28, 2024, 8:21 PM
Status
Analyzed
Published
Sep 10, 2024, 4:15 PM
Modified
Jun 17, 2026, 7:54 AM