CVE-2024-40725
JSON

5.3medium

Apache HTTP Server: source code disclosure with handlers configured via AddType

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
4.42% (higher than 91% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
BIT-APACHE-2024-40725

Description

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.

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache HTTP Serverfrom 2.4.60 up to 2.4.61CVE List
apache http_server2.4.60, 2.4.61NVD
apache (Bitnami)from 2.4.60 before 2.4.62Bitnami Vulnerability Database

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-668

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Una solución parcial para CVE-2024-39884 en el núcleo de Apache HTTP Server 2.4.61 ignora parte del uso de la configuración de controladores heredada basada en el tipo de contenido. "AddType" y configuraciones similares, en algunas circunstancias en las que los archivos se solicitan indirectamente, dan como resultado la divulgación del código fuente del contenido local. Por ejemplo, los scripts PHP pueden servirse en lugar de interpretarse. Se recomienda a los usuarios actualizar a la versión 2.4.62, que soluciona este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-40725 changed 2025-03-14CVE Terms of Use
NVDCVE-2024-40725 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-APACHE-2024-40725 changed 2026-09-08Apache-2.0