# CVE-2024-24810: WiX is vulnerable to DLL redirection attacks that allow the attacker to escalate privileges

> Attackers can escalate privileges via DLL redirection in the WiX toolset's temporary folder, affecting installers built with this framework.

- **Severity:** High 8.3 (`CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 7 Feb 2024
- **Updated:** 1 Aug 2024
- **Also known as:** GHSA-7wh2-wxc7-9ph5

## What is CVE-2024-24810?

CVE-2024-24810 is a high-severity vulnerability in wixtoolset issues, published on 7 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.

### Official description

WiX toolset lets developers create installers for Windows Installer, the Windows installation engine. The .be TEMP folder is vulnerable to DLL redirection attacks that allow the attacker to escalate privileges. This impacts any installer built with the WiX installer framework. This issue has been patched in version 4.0.4.

Weakness: CWE-426 (Untrusted Search Path)

## Which versions are affected by CVE-2024-24810?

4 open source packages ship an affected version, including wix. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `wix` | NuGet | All versions | 3.14.0 |
| `wix` | NuGet | All versions | 3.14.0 |
| `wix` | NuGet | From 4.0.0 | 4.0.4 |
| `wix` | NuGet | From 4.0.0 | 4.0.4 |

Products: Firegiant Wix Toolset.

## How do I fix CVE-2024-24810?

Upgrade wix to a fixed version for your release line: 3.14.0 or 4.0.4.

## Is CVE-2024-24810 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-24810 exists.

## Other vulnerabilities in wixtoolset issues

- [CVE-2019-16511](https://insights.sbomify.com/CVE-2019-16511/): Path traversal in n/a (medium 5.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-24810 and fix it if it is affected.

What it is: CVE-2024-24810 is a high-severity vulnerability in wixtoolset issues, published on 7 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.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-24810 exists.

Affected packages and fixed versions:
- wix (NuGet): affected all versions; fixed in 3.14.0
- wix (NuGet): affected all versions; fixed in 3.14.0
- wix (NuGet): affected from 4.0.0; fixed in 4.0.4
- wix (NuGet): affected from 4.0.0; fixed in 4.0.4

Task:
1. 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.
2. 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.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-24810/ (Markdown: https://insights.sbomify.com/CVE-2024-24810/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-24810
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-24810
- OSV: https://osv.dev/vulnerability/CVE-2024-24810

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-24810/
Summaries are generated and may contain mistakes; the official description above is the record.
