🛡️ GHSA-8v28-3g86-chj5 — panelswwix4.sdk
Description
PanelSwWix4.Sdk .be TEMP folder is vulnerable to DLL redirection attacks that allow the attacker to escalate privileges
# 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.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. A user must be tricked into taking some action. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
GHSA-8v28-3g86-chj5 is classified as CWE-426: Untrusted Search Path. The product resolves a library or executable using a search path an attacker can influence.
Affected software
GHSA-8v28-3g86-chj5 is recorded against 1 package.
- panelswwix4.sdk (fixed in 5.0.0-psw-wix.0251-40)
Timeline and source
Published on 8 February 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
Details
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| panelswwix4.sdk | — | 5.0.0-psw-wix.0251-40 |
References
Similar Threats
- High GHSA-g4v6-69p6-q3p4
Site Security Check
Is panelswwix4.sdk part of your stack?
GHSA-8v28-3g86-chj5 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.