Information disclosure in Apache HTTP Server - CVE-2024-40725

 

Information disclosure in Apache HTTP Server - CVE-2024-40725

Published: July 17, 2024 / Updated: December 19, 2024


Vulnerability identifier: #VU94504
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-40725
CWE-ID: CWE-200
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to an error when processing legacy content-type based configuration of handlers, such as "AddType" and similar configuration when files are requested indirectly. A remote attacker can send a specially crafted HTTP request and view contents of files, for example the source code of a PHP script can be served instead of interpreted.

Note, the vulnerability exists due to incomplete fix for #VU93729 (CVE-2024-39884).


Affected software

Apache HTTP Server
IBM HTTP Server
HP-UX Apache Web Server
Gentoo Linux
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Server 12 SP5 LTSS Extended Security
SUSE Linux Enterprise Server 12 SP5 LTSS
Slackware Linux
SUSE Linux Enterprise Desktop 15 SP4 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
Server Applications Module
Basesystem Module
SUSE Package Hub 15
openSUSE Leap
openEuler
Ubuntu
Anolis OS
Fedora
APEX Cloud Platform for Microsoft Azure
IBM Aspera Console
CTPView
NetWorker Management Console (NMC)
IBM Cloud Pak System
IBM Rational ClearQuest
IBM Cloud Object Storage Systems
IBM Tivoli Monitoring
IBM Rational Build Forge
EMC NetWorker Server
SecurityCenter
apache2 (Ubuntu package)
apache2-tls13-utils-debuginfo
apache2-tls13-example-pages
apache2
apache2-debuginfo
apache2-tls13-worker-debuginfo
apache2-tls13
apache2-tls13-prefork
apache2-tls13-worker
apache2-prefork-debuginfo
apache2-tls13-utils
apache2-worker-debuginfo
apache2-tls13-prefork-debuginfo
apache2-doc
apache2-utils
apache2-tls13-debuginfo
apache2-worker
apache2-example-pages
apache2-debugsource
apache2-prefork
apache2-tls13-debugsource
apache2-utils-debuginfo
apache2-tls13-doc
apache2-event
apache2-devel
apache2-event-debuginfo
httpd-debuginfo
httpd
httpd-debugsource
httpd-devel
httpd-tools
mod_ldap
mod_md
mod_proxy_html
mod_session
mod_ssl
httpd-filesystem
httpd-help
apache2-prefork-debugsource
apache2-utils-debugsource
apache2-event-debugsource
apache2-worker-debugsource
apache2-manual
www-servers/apache
httpd-doc
mod_lua
httpd-core
httpd-manual

How to mitigate CVE-2024-40725

Install updates from vendor's website.

Apache HTTP Server - update to 2.4.62
APEX Cloud Platform for Microsoft Azure - update to 01.04.00.00
IBM Cloud Pak System - update to 2.3.4.1 iFix 1
IBM HTTP Server - addressed in versions 8.5.5.27, 9.0.5.21
SecurityCenter - update to SC-202408.1
apache2 (Ubuntu package) - addressed in versions 2.4.41-4ubuntu3.21, 2.4.52-1ubuntu4.12, 2.4.58-1ubuntu8.4
apache2-tls13-utils-debuginfo - update to 2.4.51-35.63.1
apache2-tls13-example-pages - update to 2.4.51-35.63.1
apache2 - addressed in versions 2.4.51-35.63.1, 2.4.51-150400.6.37.1, 2.4.58-150600.5.26.1, 2.4.66-150400.6.57.1
apache2-debuginfo - addressed in versions 2.4.51-35.63.1, 2.4.51-150400.6.37.1, 2.4.58-150600.5.26.1, 2.4.66-150400.6.57.1
apache2-tls13-worker-debuginfo - update to 2.4.51-35.63.1
apache2-tls13 - update to 2.4.51-35.63.1
apache2-tls13-prefork - update to 2.4.51-35.63.1
apache2-tls13-worker - update to 2.4.51-35.63.1
apache2-prefork-debuginfo - addressed in versions 2.4.51-35.63.1, 2.4.51-150400.6.37.1, 2.4.58-150600.5.26.1, 2.4.66-150400.6.57.1
apache2-tls13-utils - update to 2.4.51-35.63.1
apache2-worker-debuginfo - addressed in versions 2.4.51-35.63.1, 2.4.51-150400.6.37.1, 2.4.58-150600.5.26.1, 2.4.66-150400.6.57.1
apache2-tls13-prefork-debuginfo - update to 2.4.51-35.63.1
apache2-doc - addressed in versions 2.4.51-35.63.1, 2.4.51-150400.6.37.1, 2.4.66-150400.6.57.1
apache2-utils - addressed in versions 2.4.51-35.63.1, 2.4.51-150400.6.37.1, 2.4.58-150600.5.26.1, 2.4.66-150400.6.57.1
apache2-tls13-debuginfo - update to 2.4.51-35.63.1
apache2-worker - addressed in versions 2.4.51-35.63.1, 2.4.51-150400.6.37.1, 2.4.58-150600.5.26.1, 2.4.66-150400.6.57.1
apache2-example-pages - addressed in versions 2.4.51-35.63.1, 2.4.51-150400.6.37.1, 2.4.66-150400.6.57.1
apache2-debugsource - addressed in versions 2.4.51-35.63.1, 2.4.51-150400.6.37.1, 2.4.58-150600.5.26.1, 2.4.66-150400.6.57.1
apache2-prefork - addressed in versions 2.4.51-35.63.1, 2.4.51-150400.6.37.1, 2.4.58-150600.5.26.1, 2.4.66-150400.6.57.1
apache2-tls13-debugsource - update to 2.4.51-35.63.1
apache2-utils-debuginfo - addressed in versions 2.4.51-35.63.1, 2.4.51-150400.6.37.1, 2.4.58-150600.5.26.1, 2.4.66-150400.6.57.1
apache2-tls13-doc - update to 2.4.51-35.63.1
apache2-event - addressed in versions 2.4.51-150400.6.37.1, 2.4.58-150600.5.26.1, 2.4.66-150400.6.57.1
apache2-devel - addressed in versions 2.4.51-150400.6.37.1, 2.4.58-150600.5.26.1, 2.4.66-150400.6.57.1
apache2-event-debuginfo - addressed in versions 2.4.51-150400.6.37.1, 2.4.58-150600.5.26.1, 2.4.66-150400.6.57.1
httpd-debuginfo - update to 2.4.58-7
httpd - update to 2.4.58-7
httpd-debugsource - update to 2.4.58-7
httpd-devel - update to 2.4.58-7
httpd-tools - update to 2.4.58-7
mod_ldap - update to 2.4.58-7
mod_md - update to 2.4.58-7
mod_proxy_html - update to 2.4.58-7
mod_session - update to 2.4.58-7
mod_ssl - update to 2.4.58-7
httpd-filesystem - update to 2.4.58-7
httpd-help - update to 2.4.58-7
apache2-prefork-debugsource - update to 2.4.58-150600.5.26.1
apache2-utils-debugsource - update to 2.4.58-150600.5.26.1
apache2-event-debugsource - update to 2.4.58-150600.5.26.1
apache2-worker-debugsource - update to 2.4.58-150600.5.26.1
apache2-manual - update to 2.4.58-150600.5.26.1
www-servers/apache - update to 2.4.62
httpd - update to 2.4.62
HP-UX Apache Web Server - update to 2.4.62.00
httpd-doc - update to 2.4.62-1
httpd - update to 2.4.62-1
mod_lua - update to 2.4.62-1
httpd-core - update to 2.4.62-1
httpd-devel - update to 2.4.62-1
httpd-tools - update to 2.4.62-1
mod_ldap - update to 2.4.62-1
httpd-filesystem - update to 2.4.62-1
httpd-manual - update to 2.4.62-1
mod_proxy_html - update to 2.4.62-1
mod_session - update to 2.4.62-1
mod_ssl - update to 2.4.62-1
httpd - addressed in versions 2.4.62-1.fc39, 2.4.62-1.fc40, 2.4.62-2.fc39
IBM Aspera Console - update to 3.4.5
IBM Cloud Object Storage Systems - addressed in versions 3.18.0.84, 3.18.5.40
IBM Tivoli Monitoring - update to 6.3.0.7 Plus Service Pack 5
IBM Rational Build Forge - update to 8.0.0.27
CTPView - update to 9.2R1
NetWorker Management Console (NMC) - update to 19.10.0.5
EMC NetWorker Server - update to 19.10.0.5

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins