Unquoted Search Path or Element Affecting LizardByte/Sunshine package, versions [0.17.0,0.23.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (16th percentile)

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

How 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:

  1. This is only exploitable if the user has manually loosened ACLs on the system drive.

  2. If the user's system locale is not English, then the name of the executable will likely vary.

Workarounds

  1. 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.

  2. 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.

CVSS Scores

version 3.1
Expand this section

Snyk

4.9 medium
  • Attack Vector (AV)
    Physical
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    High