.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability
🔗 CVE IDs covered (1)
📋 Description
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.
🎯 Affected products67
- .NET 6.0
- .NET 7.0
- .NET 8.0
- Microsoft .NET Framework 3.5 AND 4.7.2 on Windows 10 Version 1607 for 32-bit Systems
- Microsoft .NET Framework 3.5 AND 4.7.2 on Windows 10 Version 1607 for x64-based Systems
- Microsoft .NET Framework 3.5 AND 4.7.2 on Windows 10 Version 1809 for 32-bit Systems
- Microsoft .NET Framework 3.5 AND 4.7.2 on Windows 10 Version 1809 for ARM64-based Systems
- Microsoft .NET Framework 3.5 AND 4.7.2 on Windows 10 Version 1809 for x64-based Systems
- Microsoft .NET Framework 3.5 AND 4.7.2 on Windows Server 2016
- Microsoft .NET Framework 3.5 AND 4.7.2 on Windows Server 2016 (Server Core installation)
- Microsoft .NET Framework 3.5 AND 4.7.2 on Windows Server 2019
- Microsoft .NET Framework 3.5 AND 4.7.2 on Windows Server 2019 (Server Core installation)
- Microsoft .NET Framework 3.5 AND 4.8 on Windows 10 Version 1607 for 32-bit Systems
- Microsoft .NET Framework 3.5 AND 4.8 on Windows 10 Version 1607 for x64-based Systems
- Microsoft .NET Framework 3.5 AND 4.8 on Windows 10 Version 1809 for 32-bit Systems
- Microsoft .NET Framework 3.5 AND 4.8 on Windows 10 Version 1809 for x64-based Systems
- Microsoft .NET Framework 3.5 AND 4.8 on Windows 10 Version 21H2 for 32-bit Systems
- Microsoft .NET Framework 3.5 AND 4.8 on Windows 10 Version 21H2 for ARM64-based Systems
- Microsoft .NET Framework 3.5 AND 4.8 on Windows 10 Version 21H2 for x64-based Systems
- Microsoft .NET Framework 3.5 AND 4.8 on Windows 10 Version 22H2 for 32-bit Systems
- Microsoft .NET Framework 3.5 AND 4.8 on Windows 10 Version 22H2 for ARM64-based Systems
- Microsoft .NET Framework 3.5 AND 4.8 on Windows 10 Version 22H2 for x64-based Systems
- Microsoft .NET Framework 3.5 AND 4.8 on Windows 11 version 21H2 for ARM64-based Systems
- Microsoft .NET Framework 3.5 AND 4.8 on Windows 11 version 21H2 for x64-based Systems
- Microsoft .NET Framework 3.5 AND 4.8 on Windows Server 2016
- Microsoft .NET Framework 3.5 AND 4.8 on Windows Server 2016 (Server Core installation)
- Microsoft .NET Framework 3.5 AND 4.8 on Windows Server 2019
- Microsoft .NET Framework 3.5 AND 4.8 on Windows Server 2019 (Server Core installation)
- Microsoft .NET Framework 3.5 AND 4.8 on Windows Server 2022
- Microsoft .NET Framework 3.5 AND 4.8 on Windows Server 2022 (Server Core installation)
- +37 more not shown
✅ Remediation
KBRelease Notes (Security Update) — fixed build 17.9.6 KBRelease Notes (Security Update) — fixed build 17.4.18 KBRelease Notes (Security Update) — fixed build 17.6.14 KBRelease Notes (Security Update) — fixed build 17.8.9 KBRelease Notes (Security Update) — fixed build 7.3.12 KBRelease Notes (Security Update) — fixed build 7.4.2 KBRelease Notes (Security Update) — fixed build 7.2.19 KB5037336 (Security Update) — fixed build 6.0.29 KB5037337 (Security Update) — fixed build 7.0.18 KB5037338 (Security Update) — fixed build 8.0.4 KB5037127 (Security Only) — fixed build 4.8.4718.0 KB5037039 (Monthly Rollup) — fixed build 4.8.4718.0 KB5037040 (Monthly Rollup) — fixed build 4.8.4718.0 KB5037034 (Security Update) — fixed build 4.8.4718.0 KB5037033 (Security Update) — fixed build 4.8.4718.0 KB5037037 (Security Update) — fixed build 4.8.4718.0 KB5037035 (Security Update) — fixed build 4.8.4718.0 KB5037036 (Security Update) — fixed build 4.8.4718.0 KB5036609 (Security Update) — fixed build 4.8.4718.0 KB5037034 (Security Update) — fixed build 4.7.4092.0 KB5036899 (Security Update) — fixed build 10.0.14393.6897 KB5037038 (Monthly Rollup) — fixed build 4.7.4092.0 KB5037127 (Security Only) — fixed build 4.7.4092.0 KB5037039 (Monthly Rollup) — fixed build 4.7.4092.0 KB5037040 (Monthly Rollup) — fixed build 4.7.4092.0 KB5037033 (Security Update) — fixed build 4.8.9236.0 KB5037037 (Security Update) — fixed build 4.8.9206.0 KB5037037 (Security Update) — fixed build 4.8.9236.0 KB5037035 (Security Update) — fixed build 4.8.9236.0 KB5036620 (Security Update) — fixed build 4.8.9236.0 KB5037036 (Security Update) — fixed build 4.8.9236.0 KB5037041 (Monthly Rollup) — fixed build 4.7.4092.0 KB5037128 (Security Only) — fixed build 4.7.4092.0
🔗 References (45)
- advisoryhttps://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21409
- patchhttps://my.visualstudio.com/Downloads?q=Visual Studio 2022 version 17.9
- referencehttps://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes
- patchhttps://my.visualstudio.com/Downloads?q=Visual Studio 2022 version 17.4
- patchhttps://my.visualstudio.com/Downloads?q=Visual Studio 2022 version 17.6
- patchhttps://my.visualstudio.com/Downloads?q=Visual Studio 2022 version 17.8
- patchhttps://github.com/PowerShell/Announcements/issues/75
- patchhttps://dotnet.microsoft.com/download/dotnet/6.0
- referencehttps://support.microsoft.com/help/5037336
- patchhttps://dotnet.microsoft.com/en-us/download/dotnet/7.0
- referencehttps://support.microsoft.com/help/5037337
- patchhttps://dotnet.microsoft.com/en-us/download/dotnet/8.0
- referencehttps://support.microsoft.com/help/5037338
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036632
- referencehttps://support.microsoft.com/help/5037127
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036612
- referencehttps://support.microsoft.com/help/5037039
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036614
- referencehttps://support.microsoft.com/help/5037040
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036610
- referencehttps://support.microsoft.com/help/5037034
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036613
- referencehttps://support.microsoft.com/help/5037033
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036611
- referencehttps://support.microsoft.com/help/5037037
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036608
- referencehttps://support.microsoft.com/help/5037035
- referencehttps://support.microsoft.com/help/5037036
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036609
- referencehttps://support.microsoft.com/help/5036609
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036604
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036899
- referencehttps://support.microsoft.com/help/5036899
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036607
- referencehttps://support.microsoft.com/help/5037038
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036631
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036605
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036606
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036621
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036619
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036618
- patchhttps://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5036620
- referencehttps://support.microsoft.com/help/5036620
- referencehttps://support.microsoft.com/help/5037041
- referencehttps://support.microsoft.com/help/5037128