Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
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 applicationsUpgrade PanelSW.Custom.WiX to version 3.15.0-a46 or higher.
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 a bundle runs as the SYSTEM user, it uses GetTempPathW which points to this insecure directory to drop and load multiple binaries. Standard users can hijack the binary before it's loaded in the application, resulting in elevation of privileges.
Note:
This is only exploitable if the attacker has the ability to write to the C:\Windows\Temp directory and monitor changes using the ReadDirectoryChangesW API to figure out randomized folder names created inside this directory.