CVE-2024-1019

NameCVE-2024-1019
DescriptionModSecurity / 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
modsecurity (PTS)buster (security), buster, buster (lts)3.0.3-1+deb10u2vulnerable
bullseye3.0.4-2vulnerable
bookworm3.0.9-1+deb12u1vulnerable
sid, trixie3.0.13-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
modsecuritysource(unstable)3.0.12-1

Notes

[bookworm] - modsecurity <no-dsa> (Minor issue)
[bullseye] - modsecurity <no-dsa> (Minor issue)
[buster] - modsecurity <no-dsa> (Minor issue)
https://owasp.org/www-project-modsecurity/tab_cves#cve-2024-1019-2024-01-30

Search for package or bug name: Reporting problems