CVE-2024-39884: Apache HTTP Server: source code disclosure with handlers configured via AddType
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.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2024-39884?
CVE-2024-39884 is considered a critical vulnerability due to the potential for source code disclosure.
How do I fix CVE-2024-39884?
To fix CVE-2024-39884, upgrade to Apache HTTP Server version 2.4.62 or later.
What versions of Apache are affected by CVE-2024-39884?
CVE-2024-39884 affects Apache HTTP Server versions prior to 2.4.62, including version 2.4.60.
What kind of disclosure is caused by CVE-2024-39884?
CVE-2024-39884 can lead to the unauthorized disclosure of local source code.
Is there a workaround for CVE-2024-39884?
There are no specific workarounds mentioned for CVE-2024-39884 other than upgrading to a fixed version.