cbcvebase.
CVE-2024-38473
published 2024-07-01

CVE-2024-38473: Encoding problem in mod_proxy in Apache HTTP Server 2.4.59 and earlier allows request URLs with incorrect encoding to be sent to backend services, potentially…

PriorityP269high8.1CVSS 3.1
AVNACLPRLUINSUCHINAH
EXPLOIT
EPSS
25.88%
97.7th percentile
Encoding problem in mod_proxy in Apache HTTP Server 2.4.59 and earlier allows request URLs with incorrect encoding to be sent to backend services, potentially bypassing authentication via crafted requests. Users are recommended to upgrade to version 2.4.60, which fixes this issue.

Affected

13 ranges
VendorProductVersion rangeFixed in
apachehttp_server>= 2.4.0 < 2.4.602.4.60
apache_software_foundationapache_http_server2.4.0 – 2.4.59
debianapache2< apache2 2.4.61-1~deb12u1 (bookworm)apache2 2.4.61-1~deb12u1 (bookworm)
msrcazl3_httpd_2.4.58-4_on_azure_linux_3.0
msrcazl3_httpd_2.4.61-1_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl2_httpd_2.4.59-1_on_cbl_mariner_2.0
msrccbl2_httpd_2.4.61-1_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
netappontap
ubuntuapache2

Detection & IOCsextracted from sources · hover to see the quote

path/{{files}}%3ftest.php
path/html/usr/share/doc/hostname/copyright%3f
  • Look for requests containing URL-encoded question marks (%3f) in proxy-forwarded paths — this is the core encoding bypass technique used to smuggle crafted URLs past ACL checks in mod_proxy.
  • Monitor for HTTP 403/401 responses on sensitive paths (admin.php, .env, xmlrpc.php, phpinfo.php, etc.) immediately followed by a 200 response to the same path with %3f appended — this two-step pattern is the ACL bypass fingerprint.
  • This vulnerability specifically affects configurations using SetHandler or inadvertent proxying (CVE-2024-39573) rather than ProxyPass/ProxyPassMatch or RewriteRule with the 'P' flag — focus detection on those alternate proxy configuration mechanisms.
  • Docroot confusion probe: requests to /html/usr/share/doc/hostname/copyright%3f returning content containing 'On Debian systems, the complete text of the GNU General Public License' or 'This package was written by Peter Tobias' indicate successful exploitation.
  • The vulnerability affects Apache HTTP Server 2.4.0 through 2.4.59 with mod_proxy loaded; any server in this range with mod_proxy enabled should be treated as potentially exploitable.
  • ·mod_proxy must be loaded and in use for this vulnerability to be exploitable; disabling mod_proxy entirely mitigates the issue.
  • ·Red Hat Enterprise Linux 6 is not affected because the vulnerable code was introduced in a newer version of httpd.
  • ·The bypass is only reachable via alternate proxy configuration mechanisms (SetHandler, .htaccess-based proxying, or inadvertent proxying via CVE-2024-39573); standard ProxyPass/ProxyPassMatch and RewriteRule with 'P' flag configurations are not the primary attack surface.

CVSS provenance

nvdv3.18.1HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
osv8.1HIGH
vendor_debian8.1HIGH
vendor_msrc8.1HIGH
vendor_redhat8.1HIGH
vendor_ubuntu7.3HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.