GHSA-259p-rvjx-ffwg: Panel :Software Customized WiX .be TEMP Vulnerability

HIGH
CVSS 8.2
CWE-426
Published
Advisory Summary

GHSA-259p-rvjx-ffwg is a HIGH (CVSS 8.2) :software customized wix .be temp vulnerability (CWE-426: Untrusted Search Path) affecting Panel libraries in the NuGet ecosystem. The issue involves :software customized wix .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 3.15.0-a44.

GHSA-259p-rvjx-ffwg at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-259p-rvjx-ffwg
Severity HIGH
CVSS v3.1 Base Score 8.2
CWE Classification CWE-426: Untrusted Search Path
Affected Product Panel
Package Ecosystem NuGet
Published Date
Last Updated

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

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-259p-rvjx-ffwg

To remediate this vulnerability, upgrade all affected Panel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

PanelSW.Custom.WiX fixed: 3.15.0-a44
Upgrade PanelSW.Custom.WiX to 3.15.0-a44
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for PanelSW.Custom.WiX

How to Check if You Are Affected

To determine whether your application is affected by GHSA-259p-rvjx-ffwg, inspect your project dependencies for Panel:

inspect dependencies for PanelSW.Custom.WiX

Analyze the terminal output to locate any version of Panel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.15.0-a44), 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 Panel, 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

# Summary .be TEMP folder is vulnerable to DLL redirection attacks that allow the attacker to escalate privileges. # Details If 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. # PoC As a standard, non-admin user: 1. Monitor the user's TEMP folder for changes using ReadDirectoryChangesW 1. On FILE_ACTION_ADDED, check if the folder name is .be 1. Create a folder in .be named after the bundle + .Local (e.g. MyInstaller.exe.Local) 1. 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) 1. Do hacker things when the engine escalates and the malicious DLL is loaded Proper naming for the path can be obtained by using GetModuleHandle("comctl32.dll") and GetModuleFileName. # Impact DLL redirection utilizing .exe.Local Windows capability. This impacts any installer built with the WiX installer framework.

GHSA-259p-rvjx-ffwg Affected Panel Versions

1 component(s)
Fixed Versions:
3.15.0-a44
Product / Package Ecosystem Affected Versions Fixed Version
PanelSW.Custom.WiX
NuGet
< 3.15.0-a44
3.15.0-a44

References

Frequently Asked Questions

What is GHSA-259p-rvjx-ffwg?
GHSA-259p-rvjx-ffwg is a security vulnerability in Panel involving :Software Customized WiX .be TEMP folder is vulnerable to DLL redirection attacks that allow the attacker to escalate privileges under CWE-426: Untrusted Search Path.
Which Panel versions are affected?
Affected versions include releases prior to 3.15.0-a44 across affected packages: PanelSW.Custom.WiX.
What version fixes GHSA-259p-rvjx-ffwg?
Upgrading to 3.15.0-a44 (or the latest patched release for your respective branch) resolves the vulnerability.
Is PanelSW.Custom.WiX affected?
Yes, PanelSW.Custom.WiX is affected in releases prior to 3.15.0-a44. Upgrade your dependency to 3.15.0-a44 or later.
What is the CVSS score of GHSA-259p-rvjx-ffwg?
GHSA-259p-rvjx-ffwg has a CVSS v3.1 base score of 8.2 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
What CWE is associated with GHSA-259p-rvjx-ffwg?
GHSA-259p-rvjx-ffwg is classified under CWE-426: Untrusted Search Path (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.).
How can I check NuGet dependencies for GHSA-259p-rvjx-ffwg?
Run the dependency tree command: 'inspect dependencies for PanelSW.Custom.WiX'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-259p-rvjx-ffwg",
  "modified" : "2024-02-08T18:24:21Z",
  "published" : "2024-02-08T18:24:21Z",
  "aliases" : [ ],
  "summary" : "Panel::Software Customized WiX .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" : "PanelSW.Custom.WiX"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.15.0-a44"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/nirbar/wix3/security/advisories/GHSA-259p-rvjx-ffwg"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/nirbar/wix3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-426" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-08T18:24:21Z",
    "nvd_published_at" : null
  }
}