CVE-2024-21409
published 2024-04-09CVE-2024-21409: .NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability
PriorityP341high7.3CVSS 3.1
AVLACLPRLUIRSUCHIHAH
EPSS
2.51%
83.0th percentile
.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability
Affected
49 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| microsoft | microsoft_net_framework_3.5_and_4.7.2 | >= 4.7.0 < 4.7.4092.0 | 4.7.4092.0 |
| microsoft | microsoft_net_framework_3.5_and_4.8 | >= 4.8.0 < 4.8.4718.0 | 4.8.4718.0 |
| microsoft | microsoft_net_framework_3.5_and_4.8.1 | >= 4.8.1 < 4.8.9236.0 | 4.8.9236.0 |
| microsoft | microsoft_net_framework_4.6.2 | >= 4.7.0 < 4.7.4092.0 | 4.7.4092.0 |
| microsoft | microsoft_net_framework_4.6.2_4.7_4.7.1_4.7.2 | >= 4.7.0 < 4.7.4092.0 | 4.7.4092.0 |
| microsoft | microsoft_net_framework_4.8 | >= 4.8.0 < 4.8.4718.0 | 4.8.4718.0 |
| microsoft | microsoft_visual_studio_2022_version_17.4 | >= 17.4.0 < 17.4.18 | 17.4.18 |
| microsoft | microsoft_visual_studio_2022_version_17.6 | >= 17.6.0 < 17.6.14 | 17.6.14 |
| microsoft | microsoft_visual_studio_2022_version_17.8 | >= 17.8.0 < 17.8.9 | 17.8.9 |
| microsoft | microsoft_visual_studio_2022_version_17.9 | >= 17.0 < 17.9.6 | 17.9.6 |
| microsoft | net | >= 6.0.0 < 6.0.29 | 6.0.29 |
| microsoft | net | >= 7.0.0 < 7.0.18 | 7.0.18 |
| microsoft | net | >= 8.0.0 < 8.0.4 | 8.0.4 |
| microsoft | net_6.0 | >= 6.0.0 < 6.0.29 | 6.0.29 |
| microsoft | net_7.0 | >= 7.0.0 < 7.0.18 | 7.0.18 |
| microsoft | net_8.0 | >= 8.0 < 8.0.4 | 8.0.4 |
| microsoft | net_framework | — | — |
| microsoft | net_framework | — | — |
| microsoft | net_framework | — | — |
| microsoft | net_framework | — | — |
| microsoft | net_framework | — | — |
| microsoft | net_framework | — | — |
| microsoft | net_framework | — | — |
| microsoft | powershell | >= 7.2 < 7.2.19 | 7.2.19 |
| microsoft | powershell | >= 7.3 < 7.3.12 | 7.3.12 |
Detection & IOCsextracted from sources · hover to see the quote
- →Trigger condition: vulnerability is exploited when a user closes a maliciously crafted .docx file in WordPad, resulting in a use-after-free leading to code execution ↗
- →Attack vector is local; attacker must convince user to open a specially crafted file (e.g., via phishing email/IM link) — monitor for WordPad opening .docx files from untrusted/external sources ↗
- →This is a Windows-only vulnerability; Linux/RHEL systems running .NET are not affected — scope detection efforts to Windows hosts running .NET, .NET Framework, or Visual Studio ↗
- →Root cause is a use-after-free in dotnet's CPimcManager COM server object handling — monitor for anomalous COM server object lifecycle events or crashes in dotnet/WordPad processes ↗
- →Code execution can occur when viewing untrusted documents — flag WordPad or .NET-hosted processes spawning child processes or loading unexpected modules after opening .docx files ↗
- ·Exploitation requires an authenticated (low-privileged) local user; remote exploitation is only possible via social engineering to get the victim to open a malicious file locally ↗
- ·For .NET 7.0 and .NET 8.0, this vulnerability is Windows-only; Linux deployments of these runtimes are not affected ↗
- ·As of advisory publication, the vulnerability has not been publicly exploited in the wild (Exploited: No, Publicly Disclosed: No) ↗
CVSS provenance
nvdv3.17.3HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
ghsa7.3HIGH
osv7.3HIGH
vendor_msrc7.3HIGH
vendor_redhat7.3HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
dotnet: Release COM server object when CPimcManager creation fails
vendor_redhat·2024-04-09·CVSS 7.3
CVE-2024-21409 [HIGH] CWE-416 dotnet: Release COM server object when CPimcManager creation fails
dotnet: Release COM server object when CPimcManager creation fails
.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability
A use-after-free flaw was found in dotnet. This issue can result in code execution when viewing untrusted documents.
Statement: This issue affects Windows systems only. Therefore, Red Hat Enterprise Linux is not affected by this vulnerability.
Package: rh-dotnet60-dotnet (.NET 6.0 on Red Hat Enterprise Linux) - Not affected
Package: dotnet8.0 (Red Hat Enterprise Linux 10) - Not affected
Package: dotnet6.0 (Red Hat Enterprise Linux 8) - Not affected
Package: dotnet7.0 (Red Hat Enterprise Linux 8) - Not affected
Package: dotnet8.0 (Red Hat Enterprise Linux 8) - Not affected
Package: dotnet6.0 (Red Hat Enterprise Linux 9) - Not affected
Packa
Microsoft
.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability
vendor_msrc·2024-04-09·CVSS 7.3
CVE-2024-21409 [HIGH] CWE-416 .NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability
.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability
FAQ: How could an attacker exploit this vulnerability?
To exploit this vulnerability, an attacker would first have to log on to the system. An attacker could then run a specially crafted application that could exploit the vulnerability and take control of an affected system.
Additionally, an attacker could convince a local user to open a malicious file. The attacker would have to convince the user to click a link, typically by way of an enticement in an email or instant message, and then convince them to open the specially crafted file.
FAQ: For .NET 7.0 and .NET 8.0, what operating systems are affected by this vulnerability?
This is a Windows-only vulnerability for .NET 7.0 and .NET 8.0. For more information see
GHSA
.NET Elevation of Privilege Vulnerability
ghsa·2024-04-17·CVSS 7.3
CVE-2024-21409 [HIGH] CWE-416 .NET Elevation of Privilege Vulnerability
.NET Elevation of Privilege Vulnerability
# Microsoft Security Advisory CVE-2024-21409 | .NET Elevation of Privilege Vulnerability
## Executive summary
Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 ,and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.
A use-after-free vulnerability exists in WPF which may result in Elevation of Privilege when viewing untrusted documents. This is a Windows only vulnerability.
## Announcement
Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/303
## Mitigation factors
This vulnerability affects only WPF-based applications.
## Affected software
* Any .NET 6.0 app
OSV
.NET Elevation of Privilege Vulnerability
osv·2024-04-17·CVSS 7.3
CVE-2024-21409 [HIGH] .NET Elevation of Privilege Vulnerability
.NET Elevation of Privilege Vulnerability
# Microsoft Security Advisory CVE-2024-21409 | .NET Elevation of Privilege Vulnerability
## Executive summary
Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 ,and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.
A use-after-free vulnerability exists in WPF which may result in Elevation of Privilege when viewing untrusted documents. This is a Windows only vulnerability.
## Announcement
Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/303
## Mitigation factors
This vulnerability affects only WPF-based applications.
## Affected software
* Any .NET 6.0 app
No detection rules found.
No public exploits indexed.
Trendmicro
The April 2024 Security Updates Review
blogs_trendmicro·2024-04-09
The April 2024 Security Updates Review
# The April 2024 Security Updates Review
Get the April 2024 security update and review.
By: Dustin Childs
2024/04/09
Read time: ( words)
Save to Folio
It’s the second Tuesday of the month, and Adobe and Microsoft have released a fresh crop of security updates. Take a break from your other activities and join us as we review the details of their latest advisories. If you’d rather watch the full video recap covering the entire release, you can check it out here:
Adobe Patches for April 2024
For April, Adobe released nine patches addressing 24 CVEs in Adobe After Effects, Photoshop, Commerce, InDesign, Experience Manager, Media Encoder, Bridge, Illustrator, and Adobe Animate. The largest of these updates is for Experience Manager, however, all of the bugs being patched are simple Cross
Bleepingcomputer
Microsoft April 2024 Patch Tuesday fixes 150 security flaws, 67 RCEs
blogs_bleepingcomputer·2024-04-09·CVSS 8.1
[HIGH] Microsoft April 2024 Patch Tuesday fixes 150 security flaws, 67 RCEs
## Microsoft April 2024 Patch Tuesday fixes 150 security flaws, 67 RCEs
## Lawrence Abrams
There were also fixes for twenty-six Secure Boot bypasses released this month, including two from Lenovo.
The number of bugs in each vulnerability category is listed below:
31 Elevation of Privilege Vulnerabilities
29 Security Feature Bypass Vulnerabilities
67 Remote Code Execution Vulnerabilities
13 Information Disclosure Vulnerabilities
7 Denial of Service Vulnerabilities
3 Spoofing Vulnerabilities
The total count of 150 flaws does not include 5 Microsoft Edge flaws fixed on April 4th and 2 Mariner flaws. Mariner is an open-source Linux distribution developed by Microsoft for its Microsoft Azure services.
To learn more about the non-security updates released today, you can review our ded
Trendmicro
The April 2024 Security Updates Review
blogs_trendmicro·2024-04-09
The April 2024 Security Updates Review
## The April 2024 Security Updates Review
Get the April 2024 security update and review.
By: Dustin Childs 2024/04/09 Read time: ( words)
Save to Folio
It’s the second Tuesday of the month, and Adobe and Microsoft have released a fresh crop of security updates. Take a break from your other activities and join us as we review the details of their latest advisories. If you’d rather watch the full video recap covering the entire release, you can check it out here:
Adobe Patches for April 2024
For April, Adobe released nine patches addressing 24 CVEs in Adobe After Effects, Photoshop, Commerce, InDesign, Experience Manager, Media Encoder, Bridge, Illustrator, and Adobe Animate. The largest of these updates is for Experience Manager , however, all of the bugs being patched are simple Cros
2024-04-09
Published