{"id":"CVE-2024-31220","state":"PUBLISHED","title":"Sunshine vulnerable to remote unauthenticated arbitrary file read","description":"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 `node_modules` 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.","publishedAt":"2024-04-05T14:59:52.662Z","updatedAt":"2024-08-02T01:46:04.755Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["LizardByte Sunshine"],"affected":[{"vendor":"LizardByte","product":"Sunshine","versions":[{"version":">= 0.16.0, < 0.18.0","status":"affected"}]}],"references":["https://github.com/LizardByte/Sunshine/security/advisories/GHSA-6rg7-7m3w-w5wc","https://github.com/LizardByte/Sunshine/releases/tag/v0.18.0"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/31xxx/CVE-2024-31220.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-31220","state":"PUBLISHED","datePublished":"2024-04-05T14:59:52.662Z","dateUpdated":"2024-08-02T01:46:04.755Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-03-29T14:16:31.901Z"},"containers":{"cna":{"title":"Sunshine vulnerable to remote unauthenticated arbitrary file read","descriptions":[{"lang":"en","value":"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 `node_modules` 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":[{"vendor":"LizardByte","product":"Sunshine","versions":[{"version":">= 0.16.0, < 0.18.0","status":"affected"}]}],"references":[{"url":"https://github.com/LizardByte/Sunshine/security/advisories/GHSA-6rg7-7m3w-w5wc","name":"https://github.com/LizardByte/Sunshine/security/advisories/GHSA-6rg7-7m3w-w5wc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/LizardByte/Sunshine/releases/tag/v0.18.0","name":"https://github.com/LizardByte/Sunshine/releases/tag/v0.18.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-04-05T14:59:52.662Z"},"source":{"advisory":"GHSA-6rg7-7m3w-w5wc","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-31220","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-04-09T19:25:09.102631Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:36:28.119Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/LizardByte/Sunshine/security/advisories/GHSA-6rg7-7m3w-w5wc","name":"https://github.com/LizardByte/Sunshine/security/advisories/GHSA-6rg7-7m3w-w5wc","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/LizardByte/Sunshine/releases/tag/v0.18.0","name":"https://github.com/LizardByte/Sunshine/releases/tag/v0.18.0","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T01:46:04.755Z"}}]}}}