Security Resilience

CVE-2024-40725

Apache Http Server 2.4.60 … 2.4.61

Published
18 July 2024
Modified
14 March 2025
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.044 92th percentile
Risk Priority 59 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

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 8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

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.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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

CVEs Like This One

CVE-2026-42535Same product: Apache Http Server
CVE-2026-44119Same product: Apache Http Server
CVE-2023-25690Same product: Apache Http Server
CVE-2026-44186Same product: Apache Http Server
CVE-2026-56449Same product: Apache Http Server
CVE-2024-43204Same product: Apache Http Server
CVE-2026-56153Same product: Apache Http Server
CVE-2025-49630Same product: Apache Http Server
CVE-2026-48005Same product: Apache Http Server
CVE-2026-33006Same product: Apache Http Server

Affected Assets

apache
http server
2.4.60, 2.4.61

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Access enforcement directly stops resources from being reachable by actors outside the intended control sphere.

Information flow enforcement structurally prevents unintended cross-sphere data or resource exposure.

Least privilege reduces the set of actors that can reach a resource, limiting wrong-sphere exposure.

Security attributes enable correct sphere assignment and subsequent enforcement decisions.

Boundary protection at interfaces prevents resources from being exposed outside authorized spheres.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-668, a class-level weakness. Rules are authored against its narrower children: CWE-427, CWE-552.

References