What’s Vulnerable › Vulnerabilities
CVE-2024-45407: Sunshine has incorrect state management during pairing process may lead to incorrectly authorized client
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-09-10 · updated 2026-06-17
- Weakness: CWE-300
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.
Affected products
- LizardByte Sunshine: 2024-05-27
References
- https://github.com/LizardByte/Sunshine/commit/5fcd07ecb1428bfe245ad6fa349aead476c7e772
- https://github.com/LizardByte/Sunshine/commit/fd7e68457a134102d1b30af5796c79f2aa623224
- https://github.com/LizardByte/Sunshine/security/advisories/GHSA-jqph-8cp5-g874
Get alerted when CVE-2024-45407 or the next vulnerability affects your stack