.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability
Released: Apr 9, 2024
Last updated: Apr 18, 2024
- Assigning CNA
- Microsoft
- CVE.org link
- CVE-2024-21409
- Impact
- Remote Code Execution
- Max Severity
- Important
- Weakness
- CVSS Source
- Microsoft
- Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
- Metrics
- CVSS:3.1 7.3 / 6.4Base score metrics: 7.3 / Temporal score metrics: 6.4
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Exploit Code Maturity
Unproven
Remediation Level
Official Fix
Report Confidence
Confirmed
Please see Common Vulnerability Scoring System for more information on the definition of these metrics.
Exploitability
The following table provides an exploitability assessment for this vulnerability at the time of original publication.
- Publicly disclosed
- No
- Exploited
- No
- Exploitability assessment
- Exploitation Less Likely
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.
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 Microsoft Security Advisory CVE-2024-21409 | .NET Elevation of Privilege Vulnerability.
According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution?
The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.
According to the CVSS metric, privileges required is low (PR:L). What does that mean for this remote code execution vulnerability?
An authenticated attacker who successfully exploited a vulnerability in WordPad when closing a maliciously crafted .docx file could trigger execution of malicious code.
Acknowledgements
- wh1tc & Zhiniang Peng
Security Updates
To determine the support lifecycle for your software, see the Microsoft Support Lifecycle.
- 4.8.9236.0
- 4.8.9236.0
- 17.8.9
- 4.7.4092.0
- 4.8.4718.0
- 4.8.4718.0
- 4.8.4718.0
- 4.8.4718.0
- 4.7.4092.0
- 4.7.4092.0
- 4.7.4092.0
- 4.8.4718.0
- 4.8.4718.0
- 4.7.4092.0
- 4.7.4092.0
- 4.7.4092.0
- 4.7.4092.0
- 10.0.14393.6897
- 10.0.14393.6897
- 10.0.14393.6897
- 10.0.14393.6897
- 4.7.4092.0
- 4.8.9236.0
- 4.8.9236.0
- 4.7.4092.0
- 4.7.4092.0
- 4.7.4092.0
- 4.7.4092.0
- 4.8.4718.0
- 4.8.4718.0
- 4.8.4718.0
- 4.8.4718.0
- 4.8.4718.0
- 4.8.4718.0
- 4.8.4718.0
- 4.8.4718.0
- 4.8.4718.0
- 4.8.4718.0
- 4.8.4718.0
Disclaimer
Revisions
Added an FAQ to indicate that for .NET 7.0 and .NET 8.0., Windows is the only operating system affected by this vulnerability. For more information see Microsoft Security Advisory CVE-2024-21409 | .NET Elevation of Privilege Vulnerability. This is an informational change only.
The following updates have been made in the Security Updates table: 1) Added PowerShell 7.2, PowerShell 7.3, and PowerShell 7.4 because these versions of PowerShell 7 are affected by this vulnerability. See https://github.com/PowerShell/Announcements/issues/75 for more information. 2) Added .NET Framework 3.5 and 4.8.1 installed on Windows 11 version 23H2 for x64-based systems and Windows 11 version 23H2 for ARM-based systems because these versions of Windows 11 are also affected by this vulnerability. For these .NET Framework updates, customers whose systems are configured to receive automatic updates do not need to take any further action.
Information published.