CVE-2024-39884

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

Published Jul 4, 2024 CVSS 3.1 · 6.2 Medium EPSS < 1% KEV · Not listed
Description
A regression in the core of Apache HTTP Server 2.4.60 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.61, which fixes this issue.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3921-1 apache2 regression update
Debian DSA Debian DSA DSA-5729-2 apache2 regression update
EUVD EUVD EUVD-2024-38335 A regression in the core of Apache HTTP Server 2.4.60 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.61, which fixes this issue.
Ubuntu USN Ubuntu USN USN-6885-1 Apache HTTP Server vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00256}

epss

{'score': 0.00227}

Type Values Removed Values Added
First Time appeared Apache
Apache http Server
Netapp
Netapp ontap Tools
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:apache:http_server:2.4.60:*:*:*:*:*:*:*
cpe:2.3:a:netapp:ontap_tools:10:*:*:*:*:vmware_vsphere:*:*
Vendors & Products Apache
Apache http Server
Netapp
Netapp ontap Tools
Type Values Removed Values Added
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 6.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Feb 13, 2025, 5:53 PM
Reserved
Jul 1, 2024, 7:27 PM
Status
Analyzed
Published
Jul 4, 2024, 9:15 AM
Modified
Jun 17, 2026, 7:42 AM
Severity
Important
Public date
Jul 4, 2024, 12:00 AM