Input validation error in Apache HTTP Server - CVE-2024-38474

 

Input validation error in Apache HTTP Server - CVE-2024-38474

Published: July 1, 2024


Vulnerability identifier: #VU93541
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-38474
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Affected software:
Apache HTTP Server
HP-UX Apache Web Server
IBM HTTP Server
Gentoo Linux
Amazon Linux AMI
Debian Linux
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
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 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
Anolis OS
SUSE Enterprise Storage
IBM i
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Ubuntu
Slackware Linux
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Desktop 15 SP4 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
Basesystem Module
Server Applications Module
SUSE Package Hub 15
openSUSE Leap
openEuler
Fedora
CyberSense OS
IBM Business Automation Workflow
EasyApache
IBM Cloud Object Storage Systems
IBM Tivoli Monitoring
IBM Rational Build Forge
IBM Power Hardware Management Console (HMC)
EMC NetWorker Server
DataPower Operations Dashboard
Dell EMC OpenManage Enterprise Modular
IBM Aspera Console
IBM Cloud Pak for Watson AIOps
Maximo Application Suite - IoT Component
NetWorker Management Console (NMC)
Traffix SDC
IBM Cloud Pak for Multicloud Management
Red Hat OpenShift Container Platform
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
apache2 (Ubuntu package)
jbcs-httpd24-mod_proxy_cluster (Red Hat package)
mod_http2
jbcs-httpd24-mod_http2 (Red Hat package)
mod_md
httpd (Red Hat package)
mod_proxy_html
mod_session
mod_ssl
httpd-manual
httpd
mod_ldap
httpd-devel
httpd-tools
jbcs-httpd24-mod_md (Red Hat package)
httpd-filesystem
httpd-debuginfo
httpd-debugsource
httpd-help
apache2-example-pages
apache2-utils-debuginfo
apache2-prefork-debuginfo
apache2
apache2-worker-debuginfo
apache2-worker
apache2-utils
apache2-prefork
apache2-devel
apache2-debugsource
apache2-debuginfo
apache2-doc
apache2-tls13-debuginfo
apache2-tls13-devel
apache2-tls13-debugsource
apache2-tls13-worker-debuginfo
apache2-tls13-prefork
apache2-tls13-utils-debuginfo
apache2-tls13-worker
apache2-tls13
apache2-tls13-example-pages
apache2-tls13-prefork-debuginfo
apache2-tls13-utils
apache2-tls13-doc
apache2-event
apache2-event-debuginfo
jbcs-httpd24-httpd (Red Hat package)
apache2-worker-debugsource
apache2-prefork-debugsource
apache2-utils-debugsource
apache2-event-debugsource
apache2-manual
apache2 (Debian package)
httpd24
www-servers/apache
httpd-core
httpd-doc
mod_lua
jbcs-httpd24-mod_security (Red Hat package)
BIG-IP
SecurityCenter
Planning Analytics Local
IBM Cloud Pak System
JBoss Core Services

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to insufficient validation of user-supplied input in mod_rewrite when parsing encoded question marks in backreferences. A remote attacker can execute scripts in directories permitted by the configuration but not directly reachable by any URL or source disclosure of scripts meant to only to be executed as CGI.


How to mitigate CVE-2024-38474

Install updates from vendor's website.

Sources