cbcvebase.
CVE-2024-21409
published 2024-04-09

CVE-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
VendorProductVersion rangeFixed in
microsoftmicrosoft_net_framework_3.5_and_4.7.2>= 4.7.0 < 4.7.4092.04.7.4092.0
microsoftmicrosoft_net_framework_3.5_and_4.8>= 4.8.0 < 4.8.4718.04.8.4718.0
microsoftmicrosoft_net_framework_3.5_and_4.8.1>= 4.8.1 < 4.8.9236.04.8.9236.0
microsoftmicrosoft_net_framework_4.6.2>= 4.7.0 < 4.7.4092.04.7.4092.0
microsoftmicrosoft_net_framework_4.6.2_4.7_4.7.1_4.7.2>= 4.7.0 < 4.7.4092.04.7.4092.0
microsoftmicrosoft_net_framework_4.8>= 4.8.0 < 4.8.4718.04.8.4718.0
microsoftmicrosoft_visual_studio_2022_version_17.4>= 17.4.0 < 17.4.1817.4.18
microsoftmicrosoft_visual_studio_2022_version_17.6>= 17.6.0 < 17.6.1417.6.14
microsoftmicrosoft_visual_studio_2022_version_17.8>= 17.8.0 < 17.8.917.8.9
microsoftmicrosoft_visual_studio_2022_version_17.9>= 17.0 < 17.9.617.9.6
microsoftnet>= 6.0.0 < 6.0.296.0.29
microsoftnet>= 7.0.0 < 7.0.187.0.18
microsoftnet>= 8.0.0 < 8.0.48.0.4
microsoftnet_6.0>= 6.0.0 < 6.0.296.0.29
microsoftnet_7.0>= 7.0.0 < 7.0.187.0.18
microsoftnet_8.0>= 8.0 < 8.0.48.0.4
microsoftnet_framework
microsoftnet_framework
microsoftnet_framework
microsoftnet_framework
microsoftnet_framework
microsoftnet_framework
microsoftnet_framework
microsoftpowershell>= 7.2 < 7.2.197.2.19
microsoftpowershell>= 7.3 < 7.3.127.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.