SecurityContext

CVE-2024-45407: Sunshine - Man In The Middle

  • Cve: CVE-2024-45407
  • Name: Sunshine - Man In The Middle
  • 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.
  • Impact: Attackers can access their own certificate, potentially leading to unauthorized access or session hijacking.
  • Remediation: Implement proper certificate validation and ensure certificates are only persisted after successful pairing completion.
  • Vulnerability type: man_in_the_middle
  • Vulnerability impact: information_disclosure
  • Requirement type: user_interaction
  • Requirements: Attacker needs to perform a MITM attack during pairing
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
  • Epss score: 0.00345
  • Epss percentile: 0.28551
  • Assignee: [email protected]
  • Published at: 2024-09-10T16:15:20Z
  • Age in days: 805
  • Modified at: 2026-06-17T07:54:09Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-45407
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-300Channel Accessible by Non-Endpoint
NVD-CWE-noinfo—

Public exploits

UrlSourceAdded date
https://github.com/LizardByte/Sunshine/security/advisories/GHSA-jqph-8cp5-g874nvd2024-09-10

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/LizardByte/Sunshine/commit/5fcd07ecb1428bfe245ad6fa349aead476c7e772Patch
https://github.com/LizardByte/Sunshine/commit/fd7e68457a134102d1b30af5796c79f2aa623224Patch
https://github.com/LizardByte/Sunshine/security/advisories/GHSA-jqph-8cp5-g874Exploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
lizardbyte:sunshine= 2024-05-27nonvd/v1/products/lizardbyte/sunshine

Projects

RepositoryLink kindsIndexedUrl
LizardByte/Sunshinecommit, fix, security_advisoryyes/v1/repositories/LizardByte/Sunshine

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-09-10
  • Remote: yes
  • Exposed hosts: 156
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports