cve.bz

CVE-2024-40725 apache http server: Exposure of Resource to Wrong Sphere

5.3 mediumEPSS 4.4%

Medium (5.3) in apache http server. EPSS 4.4% estimated probability of exploitation activity in the next 30 days.

On this page
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 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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
4.4% (unchanged from 4.4% a week ago; 4.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-03-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-668 Exposure of Resource to Wrong Sphere
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-40725 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-40725?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-40725?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-40725 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache HTTP Serverfrom 2.4.60 through 2.4.61

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12apache22.4.62-1~deb12u1DEBIAN-CVE-2024-40725
Debian13, 14apache22.4.62-1DEBIAN-CVE-2024-40725
Ubuntu20.04:LTSapache22.4.41-4ubuntu3.21UBUNTU-CVE-2024-40725 USN-6902-1
Ubuntu22.04:LTSapache22.4.52-1ubuntu4.12UBUNTU-CVE-2024-40725 USN-6902-1
Ubuntu24.04:LTSapache22.4.58-1ubuntu8.4UBUNTU-CVE-2024-40725 USN-6902-1
UbuntuPro:14.04:LTSapache2no fix listedUBUNTU-CVE-2024-40725
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 moreapache22.4.51-150200.3.79.1SUSE-SU-2025:02241-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 moreapache22.4.66-150400.6.57.1SUSE-SU-2026:2686-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Basesystem 15 SP5 and 7 moreapache22.4.51-150400.6.37.1SUSE-SU-2024:3864-1
SUSELinux Enterprise Module for Basesystem 15 SP6apache2, apache2-prefork2.4.58-150600.5.26.1SUSE-SU-2024:3742-1
SUSELinux Enterprise Module for Package Hub 15 SP6apache2, apache2-event2.4.58-150600.5.26.1SUSE-SU-2024:3742-1
SUSELinux Enterprise Module for Server Applications 15 SP6apache2-devel, apache2-utils, apache2-worker2.4.58-150600.5.26.1SUSE-SU-2024:3742-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5apache2, apache2-tls132.4.51-35.63.1SUSE-SU-2024:3750-1
openSUSELeap 15.5apache22.4.51-150400.6.37.1SUSE-SU-2024:3864-1
openSUSELeap 15.6apache2, apache2-devel, apache2-event and 4 more2.4.58-150600.5.26.1SUSE-SU-2024:3742-1
openSUSETumbleweedapache22.4.62-1.1openSUSE-SU-2024:14245-1
Alpinev3.17, v3.18, v3.19 and 5 moreapache22.4.62-r0ALPINE-CVE-2024-40725
Azure Linux2httpd2.4.62-1AZL-43427
Azure Linux3httpd2.4.62-1AZL-43414
Alpaquita23, streamapache22.4.62-r0BELL-CVE-2024-40725

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The httpd package as shipped in Red Hat Enterprise Linux 6, 7, 8, 9 and in Red Hat JBoss Core Services is not affected by this vulnerability because the vulnerable code was introduced in a newer version of httpd.

This flaw allows unauthenticated remote users to view local content that was not intended to be served or shared, such as PHP scripts. As the disclosed information presents a serious impact to confidentiality, this flaw has been rated with an important severity.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10httpdNot affected
Red Hat Enterprise Linux 6httpdNot affected
Red Hat Enterprise Linux 7httpdNot affected
Red Hat Enterprise Linux 8httpd:2.4/httpdNot affected
Red Hat Enterprise Linux 9httpdNot affected
Red Hat JBoss Core Servicesjbcs-httpd24-httpdNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-40725.

References

Check your stackJSON