CVE-2024-38475: Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.
Noroxi assessment
Priority: Now (action score 96/100)
- CISA has confirmed exploitation in the wild (May 1, 2025). Remediation deadline for US federal agencies: May 22, 2025.
- A ready-made attack module is public (Nuclei); exploiting it takes no special expertise.
- Probability of exploitation in the next 30 days: 99.9% (FIRST EPSS); higher than 99.9% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: httpd (AlmaLinux:8) 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1; httpd-devel (AlmaLinux:8) 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1; httpd-filesystem (AlmaLinux:8) 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Patch today or shut off access. Upgrade to httpd (AlmaLinux:8) 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1; httpd-devel (AlmaLinux:8) 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1; httpd-filesystem (AlmaLinux:8) 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · CISA KEV · FIRST EPSS
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.
- BDU:2024-04936
- ALSA-2024:4720
- ALSA-2024:4726
- DSA-5729-1
- openSUSE-SU-2024:14116-1
- RHSA-2024:4719
- RHSA-2024:4720
- RHSA-2024:4726
- RHSA-2024:4820
- RHSA-2024:4827
- RHSA-2024:4830
- RHSA-2024:4862
- RHSA-2024:4863
- RHSA-2024:4938
- RHSA-2024:4943
- RHSA-2024:5239
- RLSA-2024:4720
- RLSA-2024:4726
- SUSE-SU-2024:2436-1
- SUSE-SU-2024:2591-1
- Published
- Jul 1, 2024
- Updated
- Jun 17, 2026
- EPSS
- 99.9% · 99th percentile
- CWE
- CWE-116
Report tools
Action score
96
Now
Patch today or shut off access.
- CVSS
- 36 / 40 · 9.1 / 10
- CISA KEV
- 30 / 30 · Listed
- EPSS
- 30 / 30 · 99.9%
CISA SSVC decision
- Exploitation
- active
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Actively exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on May 1, 2025. That signals real attacks, not theory.
Remediation deadline for US federal agencies: May 22, 2025.
Get told when this record changes
- In CISA KEV: exploitation in the wild confirmed
- Weaponized exploit exists
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| apache | http server | cpe:2.3:a:apache:http_server |
| netapp | ontap 9 | cpe:2.3:a:netapp:ontap_9 |
| sonicwall | sma 200 firmware | cpe:2.3:o:sonicwall:sma_200_firmware |
| sonicwall | sma 200 | cpe:2.3:h:sonicwall:sma_200 |
| sonicwall | sma 210 firmware | cpe:2.3:o:sonicwall:sma_210_firmware |
| sonicwall | sma 210 | cpe:2.3:h:sonicwall:sma_210 |
| sonicwall | sma 400 firmware | cpe:2.3:o:sonicwall:sma_400_firmware |
| sonicwall | sma 400 | cpe:2.3:h:sonicwall:sma_400 |
| sonicwall | sma 410 firmware | cpe:2.3:o:sonicwall:sma_410_firmware |
| sonicwall | sma 410 | cpe:2.3:h:sonicwall:sma_410 |
| sonicwall | sma 500v firmware | cpe:2.3:o:sonicwall:sma_500v_firmware |
| sonicwall | sma 500v | cpe:2.3:h:sonicwall:sma_500v |
Using http server? Add it to your stack and be the first to know about CVEs like this one. (Apache HTTP)
Is Apache HTTP Server on your server exposed to the internet?
The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.
Run a port scanAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache http server2.4.0 and later · before 2.4.60
- sonicwall sma 200 firmwarebefore 10.2.1.14-75sv
- sonicwall sma 210 firmwarebefore 10.2.1.14-75sv
- sonicwall sma 400 firmwarebefore 10.2.1.14-75sv
- sonicwall sma 410 firmwarebefore 10.2.1.14-75sv
- sonicwall sma 500v firmwarebefore 10.2.1.14-75sv
Versions reported by the vendor
Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.
Apache Software Foundation Apache HTTP Server
- 2.4.0 and later · up to and including 2.4.59affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | httpd | before 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 | 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 |
| AlmaLinux:8 | httpd-devel | before 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 | 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 |
| AlmaLinux:8 | httpd-filesystem | before 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 | 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 |
| AlmaLinux:8 | httpd-manual | before 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 | 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 |
| AlmaLinux:8 | httpd-tools | before 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 | 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 |
| AlmaLinux:8 | mod_http2 | before 1.15.7-10.module_el8.10.0+3832+564e7653 | 1.15.7-10.module_el8.10.0+3832+564e7653 |
| AlmaLinux:8 | mod_ldap | before 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 | 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 |
| AlmaLinux:8 | mod_md | before 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa | 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa |
| AlmaLinux:8 | mod_md | before 1:2.0.8-8.module_el8.6.0+3031+fb177b09 | 1:2.0.8-8.module_el8.6.0+3031+fb177b09 |
| AlmaLinux:8 | mod_proxy_html | before 1:2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 | 1:2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 |
| AlmaLinux:8 | mod_session | before 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 | 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 |
| AlmaLinux:8 | mod_ssl | before 1:2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 | 1:2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 |
| AlmaLinux:9 | httpd | before 2.4.57-11.el9_4 | 2.4.57-11.el9_4 |
| AlmaLinux:9 | httpd-core | before 2.4.57-11.el9_4 | 2.4.57-11.el9_4 |
| AlmaLinux:9 | httpd-devel | before 2.4.57-11.el9_4 | 2.4.57-11.el9_4 |
| AlmaLinux:9 | httpd-filesystem | before 2.4.57-11.el9_4 | 2.4.57-11.el9_4 |
| AlmaLinux:9 | httpd-manual | before 2.4.57-11.el9_4 | 2.4.57-11.el9_4 |
| AlmaLinux:9 | httpd-tools | before 2.4.57-11.el9_4 | 2.4.57-11.el9_4 |
| AlmaLinux:9 | mod_ldap | before 2.4.57-11.el9_4 | 2.4.57-11.el9_4 |
| AlmaLinux:9 | mod_lua | before 2.4.57-11.el9_4 | 2.4.57-11.el9_4 |
| AlmaLinux:9 | mod_proxy_html | before 1:2.4.57-11.el9_4 | 1:2.4.57-11.el9_4 |
| AlmaLinux:9 | mod_session | before 2.4.57-11.el9_4 | 2.4.57-11.el9_4 |
| AlmaLinux:9 | mod_ssl | before 1:2.4.57-11.el9_4 | 1:2.4.57-11.el9_4 |
| Alpine:v3.17 | apache2 | before 2.4.60-r0 | 2.4.60-r0 |
+96
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-42013Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)KEV99Now
- CVE-2021-41773Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49KEV99Now
- CVE-2019-0211In Apache HTTP Server 2.4 releases 2.4.17 to 2.4.38, with MPM event, worker or prefork, code executing in less-privileged child processes orKEV81Now
Published before and after this one in the same product
- ← EarlierCVE-2024-38473Jul 1, 2024 · Apache HTTP Server proxy encoding problem40Plan
- ← EarlierCVE-2024-38474Jul 1, 2024 · Apache HTTP Server weakness with encoded question marks in backreferences40Plan
- Later →CVE-2024-38476Jul 1, 2024 · Apache HTTP Server may use exploitable/malicious backend application output to run local handlers via internal redirect51Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:httpd | 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:httpd-core | 2.4.57-11.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:httpd-devel | 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:httpd-filesystem | 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:httpd-manual | 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:httpd-tools | 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mod_http2 | 1.15.7-10.module_el8.10.0+3832+564e7653 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mod_ldap | 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mod_md | 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mod_proxy_html | 1:2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mod_session | 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mod_ssl | 1:2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 · AlmaLinux:8 | Package registry (OSV) |
| alpine:apache2 | 2.4.60-r0 · Alpine:v3.17 | Package registry (OSV) |
| debian:apache2 | 2.4.61-1~deb12u1 · Debian:12 | Package registry (OSV) |
| opensuse:apache2 | 2.4.58-150600.5.18.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:apache2-devel | 2.4.58-150600.5.18.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:apache2-event | 2.4.58-150600.5.18.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:apache2-manual | 2.4.58-150600.5.18.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:apache2-prefork | 2.4.58-150600.5.18.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:apache2-utils | 2.4.58-150600.5.18.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:apache2-worker | 2.4.58-150600.5.18.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| red hat:httpd | 0:2.4.37-56.module+el8.8.0+22079+e03f6970.8 · Red Hat:rhel_eus:8.8::appstream | Package registry (OSV) |
| red hat:httpd-debuginfo | 0:2.4.37-56.module+el8.8.0+22079+e03f6970.8 · Red Hat:rhel_eus:8.8::appstream | Package registry (OSV) |
| red hat:httpd-debugsource | 0:2.4.37-56.module+el8.8.0+22079+e03f6970.8 · Red Hat:rhel_eus:8.8::appstream | Package registry (OSV) |
| red hat:httpd-devel | 0:2.4.37-56.module+el8.8.0+22079+e03f6970.8 · Red Hat:rhel_eus:8.8::appstream | Package registry (OSV) |
| red hat:httpd-filesystem | 0:2.4.37-56.module+el8.8.0+22079+e03f6970.8 · Red Hat:rhel_eus:8.8::appstream | Package registry (OSV) |
| red hat:httpd-manual | 0:2.4.37-56.module+el8.8.0+22079+e03f6970.8 · Red Hat:rhel_eus:8.8::appstream | Package registry (OSV) |
| red hat:httpd-tools | 0:2.4.37-56.module+el8.8.0+22079+e03f6970.8 · Red Hat:rhel_eus:8.8::appstream | Package registry (OSV) |
| red hat:httpd-tools-debuginfo | 0:2.4.37-56.module+el8.8.0+22079+e03f6970.8 · Red Hat:rhel_eus:8.8::appstream | Package registry (OSV) |
| red hat:mod_http2 | 0:1.15.7-8.module+el8.8.0+21773+20528f83.5 · Red Hat:rhel_eus:8.8::appstream | Package registry (OSV) |
+14
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Nuclei detection template ×1
- Proof-of-concept repository on GitHub ×6
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Nuclei detection template | Nuclei template CVE-2024-38475 | — |
| Proof-of-concept repository on GitHub | stars:17 | 2024-08-18 |
| Proof-of-concept repository on GitHub | stars:5 | 2024-12-12 |
| Proof-of-concept repository on GitHub | stars:0 | 2025-05-07 |
| Proof-of-concept repository on GitHub | stars:0 | 2025-05-09 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-05-31 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-10-17 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+47 d
- CISA KEV+303 d
- TodayNov 1, 2026+853 d
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Orange Tsai (@orange_8361)DEVCOREfinder
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2024-384730 days apartApache HTTP Server proxy encoding problem40Plan
- CVE-2024-384740 days apartApache HTTP Server weakness with encoded question marks in backreferences40Plan
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-0851 · Jul 2, 2024(Apache HTTP Server Güvenlik Bildirimi)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-116 · Improper Encoding or Escaping of OutputCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- security.netapp.com/advisory/ntap-20240712-0001/
- www.openwall.com/lists/oss-security/2024/07/01/8
- github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0018
- www.blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-server-pre-recorded-40227
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475
Vendor advisories and official records. Exploit/PoC links are deliberately left out.