{"answers":{"affected":"2 open source packages ship an affected version, including PanelSwWix4.Sdk.","exploited":"There is no known exploitation of GHSA-8v28-3g86-chj5 in the wild and no public exploit code.","fix":"Upgrade PanelSwWix4.Sdk to 5.0.0-psw-wix.0251-40 or later.","what":"GHSA-8v28-3g86-chj5 is a vulnerability in PanelSwWix4.Sdk, published on 8 Feb 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for GHSA-8v28-3g86-chj5 and fix it if it is affected.\n\nWhat it is: GHSA-8v28-3g86-chj5 is a vulnerability in PanelSwWix4.Sdk, published on 8 Feb 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of GHSA-8v28-3g86-chj5 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- PanelSwWix4.Sdk (NuGet): affected all versions; fixed in 5.0.0-psw-wix.0251-40\n- PanelSwWix4.Sdk (NuGet): affected all versions; fixed in 5.0.0-psw-wix.0251-40\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-8v28-3g86-chj5/ (Markdown: https://insights.sbomify.com/GHSA-8v28-3g86-chj5/index.md)","id":"GHSA-8v28-3g86-chj5","markdown":"https://insights.sbomify.com/GHSA-8v28-3g86-chj5/index.md","name":"GHSA-8v28-3g86-chj5","record":{"aliases":[],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"WiX installer framework","requires_auth":"low_privilege","summary":"Attackers can escalate privileges by placing malicious DLLs in user TEMP folders during WiX installer execution, affecting applications built with the WiX framework.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"# 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.","ecosystems":["NuGet"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":".be TEMP folder is vulnerable to DLL redirection attacks that allow the attacker to escalate privileges.","id":"GHSA-8v28-3g86-chj5","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"NuGet","fixed":["5.0.0-psw-wix.0251-40"],"introduced":["0"],"last_affected":[],"package":"PanelSwWix4.Sdk","purl":null,"source":"GHSA-8v28-3g86-chj5"},{"ecosystem":"NuGet","fixed":["5.0.0-psw-wix.0251-40"],"introduced":["0"],"last_affected":[],"package":"PanelSwWix4.Sdk","purl":"pkg:nuget/PanelSwWix4.Sdk","source":"GHSA-8v28-3g86-chj5"}],"products":null,"published":"2024-02-08","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers can escalate privileges by placing malicious DLLs in user TEMP folders during WiX installer execution, affecting applications built with the WiX framework.","url":"https://insights.sbomify.com/GHSA-8v28-3g86-chj5/"}