CVE-2024-43376: Umbraco CMS vulnerable to Generation of Error Message Containing Sensitive Information
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.36877%
CWE
Published
8/20/2024
Updated
9/17/2024
KEV Status
No
Technology
C#
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| Umbraco.Cms.Api.Management | nuget | >= 14.0.0, < 14.1.2 | 14.1.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the error handling middleware in ApplicationBuilderExtensions.cs. Before the patch, the code directly set ProblemDetails.Detail to exception.StackTrace and Instance to exception.GetType().Name without checking the debug mode status. The commit diff shows the addition of an 'isDebug' check using IHostingEnvironment.IsDebugMode to conditionally include these fields, confirming the absence of this check was the root cause. The AspNetCoreHostingEnvironment.cs changes (caching debug mode) support proper evaluation but were not the primary vulnerability source. The CWE-209 description and advisory both align with this insecure error message generation pattern.