Apache HTTP Server weakness with encoded question marks in backreferences
Summary
Apache HTTP Server weakness with encoded question marks in backreferences
Original description
The description as published by the source.
Substitution encoding issue in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows attacker to 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.
Users are recommended to upgrade to version 2.4.60, which fixes this issue.
Some RewriteRules that capture and substitute unsafely will now fail unless rewrite flag "UnsafeAllow3F" is specified.
Affected packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2024-38474 apache2 Fixed in: 2.4.60-r0
- Debian DEBIAN-CVE-2024-38474 apache2 Fixed in: 2.4.61-1~deb11u1
References
- advisory httpd.apache.org
- advisory security.netapp.com
- web openwall.com
- web nvd.nist.gov