Skip to content

CVE-2024-47252 Apache HTTP Server: mod_ssl error log variable escaping

HighCVSS 7.5 EPSS 0.80%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Apache HTTP ServerUbuntuDebian

Description

Insufficient escaping of user-supplied data in mod_ssl in Apache HTTP Server 2.4.63 and earlier allows an untrusted SSL/TLS client to insert escape characters into log files in some configurations.

In a logging configuration where CustomLog is used with "%{varname}x" or "%{varname}c" to log variables provided by mod_ssl such as SSL_TLS_SNI, no escaping is performed by either mod_log_config or mod_ssl and unsanitized data provided by the client may appear in log files.

Upgrade path

14 packages: 14 fixed.

PackageAffectedFixed inStatus
alpine/apache2(Alpine v3.19) < 2.4.64-r0 2.4.64-r0 Fixed
alpine/apache2(Alpine v3.20) < 2.4.64-r0 2.4.64-r0 Fixed
alpine/apache2(Alpine v3.21) < 2.4.64-r0 2.4.64-r0 Fixed
alpine/apache2(Alpine v3.22) < 2.4.64-r0 2.4.64-r0 Fixed
alpine/apache2(Alpine v3.23) < 2.4.64-r0 2.4.64-r0 Fixed
alpine/apache2(Alpine v3.24) < 2.4.64-r0 2.4.64-r0 Fixed
Apache HTTP Server >= 2.4, <= 2.4.63; >= 2.4.0, < 2.4.64 2.4.64 Fixed
Apache HTTP Server(Azure Linux 3.0) < 2.4.64-1 2.4.64-1 Fixed
Apache HTTP Server(CBL-Mariner 2.0) < 2.4.64-1 2.4.64-1 Fixed
debian/apache2(Debian 12) < 2.4.65-1~deb12u1; = 2.4.57-2; = 2.4.57-3; = 2.4.58-1 +22 more 2.4.65-1~deb12u1 Fixed
debian/apache2(Debian 13) < 2.4.64-1 2.4.64-1 Fixed
debian/apache2(Debian 14) < 2.4.64-1 2.4.64-1 Fixed
ubuntu/apache2(Ubuntu 22.04) < 2.4.52-1ubuntu4.15 2.4.52-1ubuntu4.15 Fixed
ubuntu/apache2(Ubuntu 24.04) < 2.4.58-1ubuntu8.7 2.4.58-1ubuntu8.7 Fixed

Affected products

ProductAffected versionsFixed in
Apache HTTP Server(Azure Linux:3.0) < 2.4.64-1 2.4.64-1
Apache HTTP Server(CBL-Mariner:2.0) < 2.4.64-1 2.4.64-1
debian/apache2(Debian:12) < 2.4.65-1~deb12u1 2.4.65-1~deb12u1
debian/apache2(Debian:12) = 2.4.57-2 No fix listed
debian/apache2(Debian:12) = 2.4.57-3 No fix listed
debian/apache2(Debian:12) = 2.4.58-1 No fix listed
debian/apache2(Debian:12) = 2.4.59-1 No fix listed
debian/apache2(Debian:12) = 2.4.59-1~deb10u1 No fix listed
debian/apache2(Debian:12) = 2.4.59-1~deb11u1 No fix listed
debian/apache2(Debian:12) = 2.4.59-1~deb12u1 No fix listed
debian/apache2(Debian:12) = 2.4.59-2 No fix listed
debian/apache2(Debian:12) = 2.4.60-1 No fix listed
debian/apache2(Debian:12) = 2.4.61-1 No fix listed
debian/apache2(Debian:12) = 2.4.61-1~deb11u1 No fix listed
debian/apache2(Debian:12) = 2.4.61-1~deb12u1 No fix listed
debian/apache2(Debian:12) = 2.4.62-1 No fix listed
debian/apache2(Debian:12) = 2.4.62-1~deb11u1 No fix listed
debian/apache2(Debian:12) = 2.4.62-1~deb11u2 No fix listed
debian/apache2(Debian:12) = 2.4.62-1~deb12u1 No fix listed
debian/apache2(Debian:12) = 2.4.62-1~deb12u2 No fix listed
debian/apache2(Debian:12) = 2.4.62-2 No fix listed
debian/apache2(Debian:12) = 2.4.62-3 No fix listed
debian/apache2(Debian:12) = 2.4.62-4 No fix listed
debian/apache2(Debian:12) = 2.4.62-5 No fix listed
debian/apache2(Debian:12) = 2.4.62-6 No fix listed
Show 15 more
ProductAffected versionsFixed in
debian/apache2(Debian:12) = 2.4.63-1 No fix listed
debian/apache2(Debian:12) = 2.4.64-1 No fix listed
debian/apache2(Debian:12) = 2.4.65-1~deb11u1 No fix listed
debian/apache2(Debian:13) < 2.4.64-1 2.4.64-1
debian/apache2(Debian:14) < 2.4.64-1 2.4.64-1
ubuntu/apache2(Ubuntu:22.04) < 2.4.52-1ubuntu4.15 2.4.52-1ubuntu4.15
Apache HTTP Server >= 2.4, <= 2.4.63 No fix listed
alpine/apache2(Alpine:v3.19) < 2.4.64-r0 2.4.64-r0
alpine/apache2(Alpine:v3.20) < 2.4.64-r0 2.4.64-r0
alpine/apache2(Alpine:v3.21) < 2.4.64-r0 2.4.64-r0
alpine/apache2(Alpine:v3.22) < 2.4.64-r0 2.4.64-r0
alpine/apache2(Alpine:v3.23) < 2.4.64-r0 2.4.64-r0
alpine/apache2(Alpine:v3.24) < 2.4.64-r0 2.4.64-r0
ubuntu/apache2(Ubuntu:24.04) < 2.4.58-1ubuntu8.7 2.4.58-1ubuntu8.7
Apache HTTP Server >= 2.4.0, < 2.4.64 2.4.64

References