cve/2024/CVE-2024-31220.md
2024-05-25 21:48:12 +02:00

18 lines
1.2 KiB
Markdown

### [CVE-2024-31220](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-31220)
![](https://img.shields.io/static/v1?label=Product&message=Sunshine&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3E%3D%200.16.0%2C%20%3C%200.18.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-22%3A%20Improper%20Limitation%20of%20a%20Pathname%20to%20a%20Restricted%20Directory%20('Path%20Traversal')&color=brighgreen)
### 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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds