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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 IDSNYK-DOTNET-PANELSWWIX4SDK-6485451
  • published26 Mar 2024
  • disclosed25 Mar 2024
  • creditUnknown

Introduced: 25 Mar 2024

CVE NOT AVAILABLE CWE-426  (opens 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

CVSS Scores

version 3.1