Vulnerability · Published Jul 4, 2024 · Assigned by apache

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

Medium 6.2

In plain English

A medium-severity security flaw in Apache HTTP Server from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.9%top 40.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20apache22.4.61-r0ALPINE-CVE-2024-39884
Alpine:v3.21apache22.4.61-r0ALPINE-CVE-2024-39884
Alpine:v3.22apache22.4.61-r0ALPINE-CVE-2024-39884
Alpine:v3.23apache22.4.61-r0ALPINE-CVE-2024-39884
Alpine:v3.24apache22.4.61-r0ALPINE-CVE-2024-39884
Debian:13apache22.4.61-1DEBIAN-CVE-2024-39884
Debian:14apache22.4.61-1DEBIAN-CVE-2024-39884
Ubuntu:22.04:LTSapache22.4.52-1ubuntu4.10USN-6885-1
Ubuntu:22.04:LTSapache22.4.52-1ubuntu4.10UBUNTU-CVE-2024-39884
Ubuntu:24.04:LTSapache22.4.58-1ubuntu8.2UBUNTU-CVE-2024-39884
Ubuntu:24.04:LTSapache22.4.58-1ubuntu8.2USN-6885-1

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache HTTP Server 2.4.60

References