Skip to content

CVE-2024-39884 Apache HTTP Server: source code disclosure with handlers configured via AddType

MediumCVSS 6.2 EPSS 0.89%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHPApache HTTP ServerUbuntuDebian

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.

Upgrade path

16 packages: 14 fixed.

PackageAffectedFixed inStatus
alpine/apache2(Alpine v3.17) < 2.4.61-r0 2.4.61-r0 Fixed
alpine/apache2(Alpine v3.18) < 2.4.61-r0 2.4.61-r0 Fixed
alpine/apache2(Alpine v3.19) < 2.4.61-r0 2.4.61-r0 Fixed
alpine/apache2(Alpine v3.20) < 2.4.61-r0 2.4.61-r0 Fixed
alpine/apache2(Alpine v3.21) < 2.4.61-r0 2.4.61-r0 Fixed
alpine/apache2(Alpine v3.22) < 2.4.61-r0 2.4.61-r0 Fixed
alpine/apache2(Alpine v3.23) < 2.4.61-r0 2.4.61-r0 Fixed
alpine/apache2(Alpine v3.24) < 2.4.61-r0 2.4.61-r0 Fixed
debian/apache2(Debian 13) < 2.4.61-1 2.4.61-1 Fixed
debian/apache2(Debian 14) < 2.4.61-1 2.4.61-1 Fixed
Microsoft azure linux < 2.4.61-1 2.4.61-1 Fixed
Microsoft cbl mariner < 2.4.62-1 2.4.62-1 Fixed
ubuntu/apache2(Ubuntu 22.04) < 2.4.52-1ubuntu4.10 2.4.52-1ubuntu4.10 Fixed
ubuntu/apache2(Ubuntu 24.04) < 2.4.58-1ubuntu8.2 2.4.58-1ubuntu8.2 Fixed
Apache HTTP Server = 2.4.60 No fix listed Versions listed
netapp ontap tools = 10 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Microsoft cbl mariner < 2.4.62-1 2.4.62-1
Microsoft azure linux < 2.4.61-1 2.4.61-1
debian/apache2(Debian:13) < 2.4.61-1 2.4.61-1
debian/apache2(Debian:14) < 2.4.61-1 2.4.61-1
ubuntu/apache2(Ubuntu:22.04) < 2.4.52-1ubuntu4.10 2.4.52-1ubuntu4.10
Apache HTTP Server = 2.4.60 No fix listed
alpine/apache2(Alpine:v3.17) < 2.4.61-r0 2.4.61-r0
alpine/apache2(Alpine:v3.18) < 2.4.61-r0 2.4.61-r0
alpine/apache2(Alpine:v3.19) < 2.4.61-r0 2.4.61-r0
alpine/apache2(Alpine:v3.20) < 2.4.61-r0 2.4.61-r0
alpine/apache2(Alpine:v3.21) < 2.4.61-r0 2.4.61-r0
alpine/apache2(Alpine:v3.22) < 2.4.61-r0 2.4.61-r0
alpine/apache2(Alpine:v3.23) < 2.4.61-r0 2.4.61-r0
alpine/apache2(Alpine:v3.24) < 2.4.61-r0 2.4.61-r0
ubuntu/apache2(Ubuntu:24.04) < 2.4.58-1ubuntu8.2 2.4.58-1ubuntu8.2
netapp ontap tools = 10 No fix listed

References