CVE-2024-31226

Source
https://cve.org/CVERecord?id=CVE-2024-31226
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31226.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-31226
Aliases
Published
2024-05-16T18:12:57.081Z
Modified
2026-03-13T07:54:20.119168Z
Severity
  • 4.9 (Medium) CVSS_V3 - CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:H CVSS Calculator
Summary
Sunshine's unquoted executable path could lead to hijacked execution flow
Details

Sunshine is a self-hosted game stream host for Moonlight. Users who ran Sunshine versions 0.17.0 through 0.22.2 as a service on Windows may be impacted when terminating the service if an attacked placed a file named C:\Program.exe, C:\Program.bat, or C:\Program.cmd on the user's computer. This attack vector isn't exploitable unless the user has manually loosened ACLs on the system drive. If the user's system locale is not English, then the name of the executable will likely vary. Version 0.23.0 contains a patch for the issue. Some workarounds are available. One may identify and block potentially malicious software executed path interception by using application control tools, like Windows Defender Application Control, AppLocker, or Software Restriction Policies where appropriate. Alternatively, ensure that proper permissions and directory access control are set to deny users the ability to write files to the top-level directory C:. Require that all executables be placed in write-protected directories.

Database specific
{
    "cwe_ids": [
        "CWE-428"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31226.json"
}
References

Affected packages

Git / github.com/lizardbyte/sunshine

Affected ranges

Type
GIT
Repo
https://github.com/lizardbyte/sunshine
Events

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31226.json"