Cyber Resilience

CVE-2024-40725

Medium

Published: 18 July 2024

Published
18 July 2024
Modified
14 March 2025
KEV Added
Patch
CVSS Score v3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.2510 96.3th percentile
Risk Priority 26 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-40725 is a medium-severity Exposure of Resource to Wrong Sphere (CWE-668) vulnerability in Apache Http Server. Its CVSS base score is 5.3 (Medium).

Operationally, ranked in the top 3.7% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

CVE-2024-40725 is an incomplete remediation of CVE-2024-39884 that affects the core request-handling logic in Apache HTTP Server 2.4.61. When legacy directives such as AddType are used to associate content types with handlers, certain indirect file requests can bypass the intended processing and cause the server to return the raw source of local files instead of executing or interpreting them.

An unauthenticated remote attacker can supply crafted requests that trigger this path, resulting in disclosure of application source code such as PHP scripts. The flaw requires no credentials or user interaction and is rated CVSS 5.3, reflecting limited impact confined to confidentiality.

Apache’s security advisory and the linked NetApp advisory both state that the issue is resolved by upgrading to version 2.4.62; no work-arounds are described. The associated EPSS score has remained essentially flat between its recorded peak of 0.2657 and current value of 0.2510, providing no indication of rising exploitation interest after disclosure.

EU & UK References

Vulnerability details

A partial fix for CVE-2024-39884 in the core of Apache HTTP Server 2.4.61 ignores some use of the legacy content-type based configuration of handlers. "AddType" and similar configuration, under some circumstances where files are requested indirectly, result in source code…

more

disclosure of local content. For example, PHP scripts may be served instead of interpreted. Users are recommended to upgrade to version 2.4.62, which fixes this issue.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

apache
http server
2.4.60, 2.4.61

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-668

Controls whether organization resources are exposed to external system spheres by permitting or prohibiting their use.

addresses: CWE-668

The control ensures information is not released into a security sphere where the recipient lacks matching access authorizations.

addresses: CWE-668

The control ensures information resources are not exposed to the incorrect (public) sphere through review and authorization.

addresses: CWE-668

Protects against data mining that would expose resources to unauthorized spheres by enforcing detection and controls.

addresses: CWE-668

Restricts information flows to ensure resources are not exposed to incorrect or unauthorized spheres.

addresses: CWE-668

Controlling internal connections prevents exposure of resources to unintended internal spheres.

addresses: CWE-668

Knowing exact processing and storage locations helps avoid exposure of resources to incorrect spheres.

addresses: CWE-668

The control prevents exposure of the media resource to the wrong security sphere.

References