ghsa-jx4p-m4wm-vvjg
Vulnerability from github
Published
2024-03-25 19:42
Modified
2024-03-25 19:42
Severity ?
Summary
Malicious directory junction can cause WiX RemoveFoldersEx to possibly delete elevated files
Details
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.
{ "affected": [ { "package": { "ecosystem": "NuGet", "name": "wix" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "3.14.1" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "NuGet", "name": "wix" }, "ranges": [ { "events": [ { "introduced": "4.0.0" }, { "fixed": "4.0.5" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "NuGet", "name": "WixToolset.Util.wixext" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "4.0.5" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-29188" ], "database_specific": { "cwe_ids": [ "CWE-59" ], "github_reviewed": true, "github_reviewed_at": "2024-03-25T19:42:17Z", "nvd_published_at": "2024-03-24T20:15:08Z", "severity": "HIGH" }, "details": "### Summary\nThe custom action behind WiX\u0027s `RemoveFolderEx` functionality could allow a standard user to delete protected directories.\n\n### Details\n`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.\n", "id": "GHSA-jx4p-m4wm-vvjg", "modified": "2024-03-25T19:42:17Z", "published": "2024-03-25T19:42:17Z", "references": [ { "type": "WEB", "url": "https://github.com/wixtoolset/issues/security/advisories/GHSA-jx4p-m4wm-vvjg" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-29188" }, { "type": "WEB", "url": "https://github.com/wixtoolset/wix/commit/2e5960b575881567a8807e6b8b9c513138b19742" }, { "type": "WEB", "url": "https://github.com/wixtoolset/wix3/commit/93eeb5f6835776694021f66d4226c262c67d487a" }, { "type": "PACKAGE", "url": "https://github.com/wixtoolset/issues" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Malicious directory junction can cause WiX RemoveFoldersEx to possibly delete elevated files" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.