CVE-2024-38081
High · 7.3CVSS
7.3
EPSS
1.3%
Published
Jul 9, 2024
CISA due date
—
Cloudanix analysis
A flaw in common Microsoft development tools could let someone with limited access on a computer gain much greater control, risking tampering with software or data.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Privilege Escalation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability permits a local attacker with low privileges to elevate privileges on the affected system by exploiting a flaw in .NET, .NET Framework, or Visual Studio components, resulting in unauthorized access to higher-privileged operations.
Why it matters to the business
Successful exploitation can allow attackers to gain elevated access on developer workstations or build environments, potentially leading to code tampering, sensitive data exposure, or compromise of software supply chains in organizations using affected .NET tooling.
How an attack unfolds
An attacker with local access or the ability to interact with a user session crafts input or leverages a UI interaction that triggers the flaw in .NET runtime or Visual Studio components, bypassing privilege boundaries to execute code with higher rights.
How to fix it
Update all affected .NET, .NET Framework, and Visual Studio installations to versions containing the fix commit 6afac83d26495cc3d72cfbc2fe2d460e47494deb or later releases; apply vendor patches promptly and verify through official update channels.
How to confirm the fix worked
Confirm installed versions match or exceed the fixed commit in dotnet/core; test by attempting known reproduction steps in a controlled environment and verify no privilege escalation occurs; review update logs and package manifests for the presence of the fix.
Typical attack path
- Obtain local access or user-level session on a system running affected .NET or Visual Studio software
- Deliver malicious input or induce UI interaction that exercises the vulnerable code path
- Trigger the elevation of privilege flaw to execute arbitrary code with higher privileges
- Perform post-exploitation actions such as persistence, lateral movement, or data exfiltration
How to detect it
Review system and application logs for unexpected privilege changes or process spawns originating from .NET or Visual Studio executables; examine user activity around UI interactions that could trigger elevation; correlate with endpoint detection for anomalous local process behavior.
What your security team should do
- Prioritize patching all .NET and Visual Studio instances to the fixed commit within the next maintenance window
- Inventory development and build systems for affected versions and enforce automated update policies
- Monitor for any post-patch anomalies in privilege-related operations during initial rollout
The record
.NET, .NET Framework, and Visual Studio Elevation of Privilege Vulnerability
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| NuGet | Microsoft.IO.Redist | 4.6.0-preview.18571.3 | 6.0.1 |
| Bitnami | dotnet | 6.0.0 | 6.0.32 |
| Bitnami | dotnet-sdk | 6.0.0 | 6.0.32 |
| Ubuntu:22.04:LTS | dotnet7 | 0 | No fix |
| nuget | Microsoft.IO.Redist | 4.6.0-preview.18571.3 | 6.0.1 |
Related vulnerabilities
- CVE-2024-43498 .NET Remote Code Execution Vulnerability Also affects dotnet
- CVE-2024-43499 .NET Denial of Service Vulnerability Also affects dotnet
- CVE-2024-43483 Microsoft Security Advisory CVE-2024-43483 | .NET Denial of Service Vulnerability Also affects dotnet
- CVE-2024-43484 Microsoft Security Advisory CVE-2024-43484 | .NET Denial of Service Vulnerability Also affects dotnet
- CVE-2024-38229 Microsoft Security Advisory CVE-2024-38229 | .NET Remote Code Execution Vulnerability Also affects dotnet
- CVE-2024-43485 Microsoft Security Advisory CVE-2024-43485 | .NET Denial of Service Vulnerability Also affects dotnet
- CVE-2024-30105 .NET Core and Visual Studio Denial of Service Vulnerability Also affects dotnet
- CVE-2024-30045 .NET and Visual Studio Remote Code Execution Vulnerability Also affects dotnet