Unquoted Search Path or Element Affecting LizardByte/Sunshine package, versions [0.17.0,0.23.0)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-UNMANAGED-LIZARDBYTESUNSHINE-6928985
- published 21 May 2024
- disclosed 16 May 2024
- credit Unknown
Introduced: 16 May 2024
CVE-2024-31226 Open this link in a new tabHow to fix?
Upgrade LizardByte/Sunshine
to version 0.23.0 or higher.
Overview
Affected versions of this package are vulnerable to Unquoted Search Path or Element in the service termination process. An attacker can hijack the execution flow by placing a file named C:\Program.exe
, C:\Program.bat
, or C:\Program.cmd
on the user's computer.
Notes:
This is only exploitable if 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.
Workarounds
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.
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.