CVE-2024-29059 — Microsoft .NET Framework Information Disclosure Vulnerability

CVE-2024-29059

Microsoft .NET Framework — ObjRef URI Leak via Error Message Enables Remote Code Execution via Deserialization

What is Microsoft .NET Framework?

The Microsoft .NET Framework is the foundational runtime and library stack for Windows applications built with C#, VB.NET, and other .NET languages. It is installed on virtually every enterprise Windows system and underpins a vast number of web applications, desktop applications, and Windows services. .NET Remoting is a legacy inter-process and network communication framework within .NET that allows applications to invoke methods on remote objects. While .NET Remoting was deprecated in favor of WCF and gRPC, many legacy enterprise applications still rely on it. The .NET deserialization attack surface has been a prolific source of critical vulnerabilities over many years.

Overview

CVE-2024-29059 is an information disclosure vulnerability in the Microsoft .NET Framework that exposes an ObjRef (Object Reference) URI through error messages. The ObjRef URI identifies a remotely-accessible .NET object — leaking it enables an attacker to trigger .NET Remoting deserialization against that object reference, ultimately achieving remote code execution. Microsoft patched the vulnerability in March 2024 Patch Tuesday; CISA added it to the KEV catalog in February 2025, approximately 11 months after the patch, confirming active exploitation against unpatched systems.

Affected Versions

Product Status
.NET Framework 3.5, 4.6.2–4.8.1 (Windows 10/11) Patched March 2024 Patch Tuesday
.NET Framework on Windows Server 2012–2022 Patched March 2024 Patch Tuesday

Technical Details

CWE-209 (Generation of Error Message Containing Sensitive Information). When a .NET Framework application encounters certain error conditions related to .NET Remoting operations, the framework generates error messages that include the ObjRef URI of the remote object involved in the failed call. An ObjRef encodes the identity and location of a remotely-accessible .NET object registered with the .NET Remoting infrastructure.

An attacker who can trigger the error condition (possible from the network if the application exposes any .NET Remoting-reachable endpoint) receives the ObjRef URI in the error response. With the ObjRef URI, the attacker can directly invoke the remote object and send it a crafted deserialization payload — reaching the .NET deserialization attack surface that has been extensively researched and has known RCE gadget chains (ysoserial.net). The result is unauthenticated remote code execution in the application's security context.

Discovery

Patched in the March 2024 Patch Tuesday cycle. The nearly 11-month gap between patch and CISA KEV addition suggests the vulnerability was reverse-engineered from the patch and weaponized against enterprise targets running legacy .NET Framework applications that had not been updated. The CISA KEV addition in February 2025 confirmed this exploitation was occurring in the wild.

Exploitation Context

.NET Remoting deserialization vulnerabilities are particularly dangerous in enterprise environments because many legacy line-of-business applications still use .NET Remoting for inter-component communication, and these applications are often maintained by vendors who release updates infrequently. The ObjRef leak provides the address resolution step needed to target the deserialization endpoint, making this a more accessible exploit than pure deserialization attacks that require blind endpoint guessing.

Remediation

  1. Apply the March 2024 .NET Framework security updates (Patch Tuesday, March 12, 2024) to all Windows systems.
  2. Apply updates to all supported .NET Framework versions — multiple versions receive separate patches and all must be updated.
  3. Audit legacy applications for use of .NET Remoting and plan migration to modern communication frameworks (gRPC, WCF, REST) where feasible.
  4. Use network segmentation and firewall rules to restrict access to .NET Remoting endpoints — these should not be internet-facing.
  5. Review application error logging configuration to ensure detailed error messages containing sensitive identifiers are not returned to unauthenticated callers.

Key Details

PropertyValue
CVE ID CVE-2024-29059
Vendor / Product Microsoft — .NET Framework
NVD Published2024-03-23
NVD Last Modified2025-10-28
CVSS 3.1 Score7.5
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
SeverityHIGH
CWE CWE-209 find similar ↗
CISA KEV Added2025-02-04
CISA KEV Deadline2025-02-25
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Required Action

CISA BOD 22-01 Deadline: 2025-02-25. Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Timeline

DateEvent
2024-03-12Microsoft releases March 2024 Patch Tuesday patching CVE-2024-29059
2024-03-23CVE formally published
2025-02-04Added to CISA Known Exploited Vulnerabilities catalog — approximately 11 months after patch
2025-02-25CISA BOD 22-01 remediation deadline

References

ResourceType
Microsoft Security Advisory — CVE-2024-29059 Vendor Advisory
NVD — CVE-2024-29059 Vulnerability Database
CISA KEV Catalog Entry US Government