Untrusted Search Path Affecting panelswwix4.sdk package, versions [,5.0.0-psw-wix.0265-49)


0.0
high

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Confidentiality High
    Integrity High
    Availability High

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-DOTNET-PANELSWWIX4SDK-6485451
  • published 26 Mar 2024
  • disclosed 25 Mar 2024
  • credit Unknown

Introduced: 25 Mar 2024

CVE NOT AVAILABLE CWE-426 Open this link in a new tab

How to fix?

Upgrade PanelSwWix4.Sdk to version 5.0.0-psw-wix.0265-49 or higher.

Overview

Affected versions of this package are vulnerable to Untrusted Search Path due to the use of an unprotected C:\Windows\Temp directory to copy and execute binaries. When executed as SYSTEM user, the process uses GetTempPathW which points to this insecure directory, allowing standard users to hijack the binary before it's loaded, leading to elevation of privileges.

Note:

This is only exploitable if the attacker has the ability to create or write to files in the C:\Windows\Temp directory and can monitor directory changes to figure out randomized folder names created inside this directory.

References