CVE DatabaseCVE-2024-29059
한국어 권고문 →
CVE-2024-290597.5/HIGHCISA KEVCWE-209CWE-209

Microsoft .NET Framework Information Disclosure Vulnerability (CVE-2024-29059) Security Advisory

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
.net framework
Published Date
2024-03-23
CVSS v3.1
7.5
HIGH
EPSS (30d)
98.6%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Systems running affected versions of Microsoft .NET Framework and .NET Core, particularly within IIS or web application server environments.

Impact

Unauthenticated remote attackers can trigger specific exceptions to obtain sensitive debugging information, including internal system paths and memory states.

Mitigation

Apply the official Microsoft cumulative security updates immediately and disable detailed error messages in the web.config configuration.

Affected Products & Version Scope

All supported versions of Microsoft .NET Framework including 3.5, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, and 4.8.1 running on IIS or web hosting environments.

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Apply the latest cumulative security updates provided by Microsoft. You can force Windows Update to retrieve and install the relevant KB patches using PowerShell.

powershell
# Install Windows Update module and apply the security patches
Install-Module PSWindowsUpdate -Force -Verbose
Get-WindowsUpdate -KBArticleID KB5038283, KB5038285 -Install -AcceptAll -AutoReboot

2. Temporary Workaround & Hardening Configuration

If patching cannot be performed immediately, modify the application's web.config file to prevent detailed error messages from being sent to remote users.

xml
<!-- Apply this configuration within the <system.web> section of your web.config -->
<configuration>
  <system.web>
    <customErrors mode='RemoteOnly' defaultRedirect='~/Error.html'>
      <error statusCode='500' redirect='~/InternalError.html'/>
    </customErrors>
    <compilation debug='false' targetFramework='4.8' />
  </system.web>
</configuration>

3. Log Audit & IoC Verification Commands

Verify the installed .NET Framework version via the registry and inspect IIS logs for anomalous HTTP 500 internal server errors.

powershell
# Check the installed .NET Framework release version via Registry
Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full' -Name Release | Select-Object Release

# Scan IIS logs for excessive HTTP 500 status codes indicating potential exploitation attempts
Select-String -Path 'C:\inetpub\logs\LogFiles\W3SVC1\*.log' -Pattern ' 500 ' | Select-Object -First 20
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Due to active exploitation (CISA KEV) and a near-maximum EPSS score, prioritize applying the official Microsoft security updates immediately.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2024-29059) is a high-severity information disclosure vulnerability in Microsoft .NET Framework. Classified under CWE-209 (Information Exposure Through Error Message), the root cause lies in the improper handling of system exceptions within the .NET runtime. When certain error conditions are met, the runtime fails to sanitize the output, exposing sensitive debugging details such as call stacks, internal file paths, and environment variables directly to the client.

2. Exploitation Mechanics & Attack Scenario

An unauthenticated remote attacker can exploit this vulnerability by sending specially crafted HTTP requests designed to trigger internal application exceptions. If the target application is configured with debugging enabled or lacks robust global exception handling, the server responds with a detailed error page. The attacker analyzes this response to map the internal directory structure, identify library versions, and extract configuration details, which serves as critical reconnaissance for subsequent high-impact attacks. This vulnerability is actively exploited in the wild and is listed in the CISA KEV catalog.

3. Infrastructure & Business Impact

Successful exploitation compromises the confidentiality of the application infrastructure. With an EPSS score of 0.9862 (98.62%), this vulnerability is highly targeted by automated scanning tools and threat actors. Exposing internal system paths and configuration details significantly lowers the barrier for attackers to execute secondary attacks, potentially leading to compliance violations and loss of customer trust.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2024-29059)

FAQ

Q1. How critical is CVE-2024-29059 and is it actively exploited in the wild?

CVE-2024-29059 is rated CVSS 7.5 (HIGH) with a 30-day EPSS exploitation probability of 98.6%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2024-29059?

Primary impacted vendors include microsoft across .net framework. Scope summary: All supported versions of Microsoft .NET Framework including 3.5, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, and 4.8.1 running on IIS or web hosting environments.

Q3. What temporary mitigations or workarounds exist for CVE-2024-29059 before patching?

[Mitigation] Apply the official Microsoft cumulative security updates immediately and disable detailed error messages in the web.config configuration. Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2024-29059

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (microsoft)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2024-29059 Microsoft .NET Framework Information Disclosure Vulnerability (CVE-2024-29059) Security Advisory (CVSS 7.5) - Patch & Workaround | CVE Pulse