GHSA-8v28-3g86-chj5: PanelSwWix4.Sdk PanelSwWix4.Sdk .be TEMP Folder Is Vulnerability
HIGHGHSA-8v28-3g86-chj5 is a HIGH (CVSS 8.2) panelswwix4.sdk .be temp folder is vulnerability (CWE-426: Untrusted Search Path) affecting PanelSwWix4.Sdk libraries in the NuGet ecosystem. The issue involves panelswwix4.sdk .be temp folder is vulnerable to dll redirection attacks that allow the attacker to escalate privileges. Remediation is available by upgrading affected packages to version 5.0.0-psw-wix.0251-40.
GHSA-8v28-3g86-chj5 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H).
How to Fix GHSA-8v28-3g86-chj5
To remediate this vulnerability, upgrade all affected PanelSwWix4.Sdk dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade PanelSwWix4.Sdk to 5.0.0-psw-wix.0251-40
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for PanelSwWix4.Sdk
How to Check if You Are Affected
To determine whether your application is affected by GHSA-8v28-3g86-chj5, inspect your project dependencies for PanelSwWix4.Sdk:
inspect dependencies for PanelSwWix4.Sdk
Analyze the terminal output to locate any version of PanelSwWix4.Sdk in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.0-psw-wix.0251-40), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-426: Untrusted Search Path, where the product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control. In PanelSwWix4.Sdk, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-8v28-3g86-chj5 Affected PanelSwWix4.Sdk Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
PanelSwWix4.Sdk
|
NuGet |
< 5.0.0-psw-wix.0251-40
|
5.0.0-psw-wix.0251-40
|
References
Frequently Asked Questions
What is GHSA-8v28-3g86-chj5?
Which PanelSwWix4.Sdk versions are affected?
What version fixes GHSA-8v28-3g86-chj5?
Is PanelSwWix4.Sdk affected?
What is the CVSS score of GHSA-8v28-3g86-chj5?
What CWE is associated with GHSA-8v28-3g86-chj5?
How can I check NuGet dependencies for GHSA-8v28-3g86-chj5?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8v28-3g86-chj5",
"modified" : "2024-02-08T18:24:35Z",
"published" : "2024-02-08T18:24:35Z",
"aliases" : [ ],
"summary" : "PanelSwWix4.Sdk .be TEMP folder is vulnerable to DLL redirection attacks that allow the attacker to escalate privileges",
"details" : "# Summary\n\n.be TEMP folder is vulnerable to DLL redirection attacks that allow the attacker to escalate privileges.\n\n# Details\n\nIf the bundle is not run as admin, the user's TEMP folder is used and not the system TEMP folder. A utility is able to monitor the user's TEMP folder for changes and drop its own DLL into the .be/.Local folder immediately when the .be folder is created. When the burn engine elevates, the malicious DLL receives elevated privileges.\n\n# PoC\n\nAs a standard, non-admin user:\n\n1. Monitor the user's TEMP folder for changes using ReadDirectoryChangesW\n1. On FILE_ACTION_ADDED, check if the folder name is .be\n1. Create a folder in .be named after the bundle + .Local (e.g. MyInstaller.exe.Local)\n1. Put the malicious COMCTL32.DLL in the .Local folder following the naming used for the real DLL (e.g. MyInstaller.exe.Local/x86_microsoft.windows.common-controls_.../COMCTL32.dll)\n1. Do hacker things when the engine escalates and the malicious DLL is loaded\n\nProper naming for the path can be obtained by using GetModuleHandle(\"comctl32.dll\") and GetModuleFileName.\n\n# Impact\n\nDLL redirection utilizing .exe.Local Windows capability. This impacts any installer built with the WiX installer framework.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "PanelSwWix4.Sdk"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.0.0-psw-wix.0251-40"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nirbar/wix4/security/advisories/GHSA-8v28-3g86-chj5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nirbar/wix4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-426" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-08T18:24:35Z",
"nvd_published_at" : null
}
}