CVE-2024-31220: Sunshine vulnerable to remote unauthenticated arbitrary file read
Sunshine is a self-hosted game stream host for Moonlight. Starting in version 0.16.0 and prior to version 0.18.0, an attacker may be able to remotely read arbitrary files without authentication due to a path traversal vulnerability. Users who exposed the Sunshine configuration web user interface outside of localhost may be affected, depending on firewall configuration. To exploit vulnerability, attacker could make an http/s request to the nodemodules endpoint if user exposed Sunshine config web server to internet or attacker is on the LAN. Version 0.18.0 contains a patch for this issue. As a workaround, one may block access to Sunshine via firewall.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-31220?
CVE-2024-31220 has been classified as a high severity vulnerability due to its ability to allow remote file reading without authentication.
How do I fix CVE-2024-31220?
To fix CVE-2024-31220, users should upgrade their Sunshine software to version 0.18.0 or later.
Which versions of Sunshine are affected by CVE-2024-31220?
CVE-2024-31220 affects Sunshine versions 0.16.0 to 0.17.9, prior to version 0.18.0.
What type of vulnerability is CVE-2024-31220?
CVE-2024-31220 is a path traversal vulnerability that enables attackers to access arbitrary files.
Can CVE-2024-31220 be exploited remotely?
Yes, CVE-2024-31220 can be exploited remotely, allowing unauthorized access to sensitive files.