Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1qeDRwLW00d20tdnZqZ84AA6Rh

Malicious directory junction can cause WiX RemoveFoldersEx to possibly delete elevated files

Summary

The custom action behind WiX's RemoveFolderEx functionality could allow a standard user to delete protected directories.

Details

RemoveFolderEx deletes an entire directory tree during installation or uninstallation. It does so by recursing every subdirectory starting at a specified directory and adding each subdirectory to the list of directories Windows Installer should delete. If the setup author instructed RemoveFolderEx to delete a per-user folder from a per-machine installer, an attacker could create a directory junction in that per-user folder pointing to a per-machine, protected directory. Windows Installer, when executing the per-machine installer after approval by an administrator, would delete the target of the directory junction.

Permalink: https://github.com/advisories/GHSA-jx4p-m4wm-vvjg
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qeDRwLW00d20tdnZqZ84AA6Rh
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 1 month ago
Updated: about 1 month ago


CVSS Score: 7.8
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H

Identifiers: GHSA-jx4p-m4wm-vvjg, CVE-2024-29188
References: Repository: https://github.com/wixtoolset/issues
Blast Radius: 0.0

Affected Packages

nuget:WixToolset.Util.wixext
Dependent packages: 0
Dependent repositories: 0
Downloads: 360,660 total
Affected Version Ranges: < 4.0.5
Fixed in: 4.0.5
All affected versions: 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4
All unaffected versions: 4.0.5, 5.0.0
nuget:wix
Dependent packages: 0
Dependent repositories: 1
Downloads: 7,874,895 total
Affected Version Ranges: >= 4.0.0, < 4.0.5, < 3.14.1
Fixed in: 4.0.5, 3.14.1
All affected versions: 3.6.0, 3.7.0, 3.8.0, 3.9.0, 3.9.2, 3.10.0, 3.10.1, 3.10.2, 3.10.3, 3.10.4, 3.11.0, 3.11.1, 3.11.2, 3.14.0, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4
All unaffected versions: 3.14.1, 4.0.5, 5.0.0