VDB

CVE-2024-38474

CVE-2024-38474 PUBLISHED CVSS 8.1 HIGH

Apache HTTP Server weakness with encoded question marks in backreferences

Reported by apache · Published July 1, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
apache2Alpine2.4.60-r0
mod_sslAmazon Linux1:2.4.61-1.amzn2023, 1:2.4.61-1.amzn2.0.1
mod_ldapAmazon Linux2.4.61-1.amzn2023, 2.4.61-1.amzn2.0.1
httpd-toolsAmazon Linux2.4.61-1.amzn2023, 2.4.61-1.amzn2.0.1
httpdAmazon Linux2.4.61-1.amzn2023, 2.4.61-1.amzn2.0.1
httpd-manualAmazon Linux2.4.61-1.amzn2023, 2.4.61-1.amzn2.0.1
httpd-develAmazon Linux2.4.61-1.amzn2023, 2.4.61-1.amzn2.0.1
httpd-filesystemAmazon Linux2.4.61-1.amzn2023, 2.4.61-1.amzn2.0.1
mod_proxy_htmlAmazon Linux1:2.4.61-1.amzn2023, 1:2.4.61-1.amzn2.0.1
mod_sessionAmazon Linux2.4.61-1.amzn2023, 2.4.61-1.amzn2.0.1
mod_luaAmazon Linux2.4.61-1.amzn2023
httpd-coreAmazon Linux2.4.61-1.amzn2023

5 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
8.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
Apache Software FoundationApache HTTP Server2.4.0
alpineapache20
amazon:2mod_ssl0
amazon:2mod_ldap0
amazon:2023httpd-tools0
amazon:2httpd0
amazon:2httpd-manual0
amazon:2023httpd-devel0
Apache Software FoundationApache HTTP Server2.4.0
amazon:2httpd-filesystem0
amazon:2023mod_ldap0
amazon:2023mod_proxy_html0
amazon:2023mod_session0
amazon:2httpd-tools0
amazon:2023httpd-filesystem0
amazon:2mod_session0
amazon:2mod_proxy_html0
amazon:2023mod_lua0
amazon:2023httpd-core0
amazon:2023httpd0

…and 4 more

Timeline

  • Jul 1, 2024 CVE Published
  • Jul 2, 2024 EPSS Score (30 in total, the first dated here)
  • Jul 13, 2024 PoC Published (21 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (29 in total, the first dated here)
  • May 4, 2026 Security Advisory (50 in total, the first dated here)
  • Nov 22, 2026 Distribution Patch (48 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-38474
vulnetix vdb fixes CVE-2024-38474

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-38474/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›