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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qeDRwLW00d20tdnZqZ84AA6Rh
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 10 months ago
Updated: 10 months 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
EPSS Percentage: 0.00045
EPSS Percentile: 0.17541
Identifiers: GHSA-jx4p-m4wm-vvjg, CVE-2024-29188
References:
- https://github.com/wixtoolset/issues/security/advisories/GHSA-jx4p-m4wm-vvjg
- https://nvd.nist.gov/vuln/detail/CVE-2024-29188
- https://github.com/wixtoolset/wix/commit/2e5960b575881567a8807e6b8b9c513138b19742
- https://github.com/wixtoolset/wix3/commit/93eeb5f6835776694021f66d4226c262c67d487a
- https://github.com/advisories/GHSA-jx4p-m4wm-vvjg
Blast Radius: 0.0
Affected Packages
nuget:WixToolset.Util.wixext
Dependent packages: 0Dependent repositories: 0
Downloads: 1,069,724 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, 4.0.6, 5.0.0, 5.0.1, 5.0.2
nuget:wix
Dependent packages: 1Dependent repositories: 1
Downloads: 9,604,390 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, 4.0.6, 5.0.0, 5.0.1, 5.0.2