WAF bypass of the ModSecurity v3 release line
CVE-2024-1019Published 30 Jan 2024, 16:09 UTC
Real-world risk
6.0/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.6
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from NCSC.ch)
ModSecurity / libModSecurity 3.0.0 to 3.0.11 is affected by a WAF bypass for path-based payloads submitted via specially crafted request URLs. ModSecurity v3 decodes percent-encoded characters present in request URLs before it separates the URL path component from the optional query string component. This results in an impedance mismatch versus RFC compliant back-end applications. The vulnerability hides an attack payload in the path component of the URL from WAF rules inspecting it. A back-end may be vulnerable if it uses the path component of request URLs to construct queries. Integrators and users are advised to upgrade to 3.0.12. The ModSecurity v2 release line is not affected by this vulnerability.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| ModSecurityNiche | >= 3.0.0, <= 3.0.11 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.7% chance of exploitation in 30 days (percentile 54), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.7 × prerequisites 1 × threat 0.855.950
- Rounded to one decimal between 0.1 and 106.0
Exploitation and evidence timeline
- 30 Jan 2024 Published
- 3 Dec 2026 Risk 6.0 (cvss fallback)
Weakness
CWE-20
References
- https://owasp.org/www-project-modsecurity/tab_cves#cve-2024-1019-2024-01-30x-transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/34KDQNZE2RS3CWFG5654LNHKXXDPIW5I/x-transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/K6ZGABPJK2JPVH2JDFHZ5LQLWGONUH7V/x-transferred
- CVE-2024-1019 on CVE.org