First published: Mon Jul 01 2024(Updated: )
CVE-2024-38474 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. CVE-2024-38475 Improper escaping of output in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to map URLs to filesystem locations that are permitted to be served by the server but are not intentionally/directly reachable by any URL, resulting in code execution or source code disclosure. Substitutions in server context that use a backreferences or variables as the first segment of the substitution are affected. Some unsafe RewiteRules will be broken by this change and the rewrite flag "UnsafePrefixStat" can be used to opt back in once ensuring the substitution is appropriately constrained.
Credit: security@apache.org security@apache.org
Affected Software | Affected Version | How to fix |
---|---|---|
debian/apache2 | 2.4.62-1~deb11u1 2.4.61-1~deb11u1 2.4.62-1~deb12u1 2.4.62-1~deb12u2 2.4.62-3 | |
IBM Planning Analytics Cloud | <=2.1 | |
IBM Planning Analytics Cloud | <=2.0 | |
F5 BIG-IP and BIG-IQ Centralized Management | >=17.1.0<=17.1.2 | 17.5.0 |
F5 BIG-IP and BIG-IQ Centralized Management | >=16.1.0<=16.1.5 | |
F5 BIG-IP and BIG-IQ Centralized Management | >=15.1.0<=15.1.10 | |
F5 Traffix Systems Signaling Delivery Controller | =5.2.0=5.1.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-38475 has a high severity rating due to its potential to allow unauthorized script execution.
To fix CVE-2024-38475, update to the patched versions of Apache HTTP Server 2.4.62 or later.
CVE-2024-38475 affects Apache HTTP Server versions 2.4.59 and earlier.
CVE-2024-38475 also affects IBM Planning Analytics and specific versions of F5 BIG-IP and Traffix Systems.
Yes, CVE-2024-38475 can allow disclosure of scripts that should only be executed as server-side processes.