p PatchFirst

CVE-2024-1019

CVE-2024-1019 · WAF bypass of the ModSecurity v3 release line

CVSS 8.6 · High · EPSS 0.7% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="modsecurity"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • modsecurity

    Versions
    • ≥ 3.0.0, ≤ 3.0.11: Affected (patch)

    No fix published

  • modsecurity Debian 12

    Versions
    • 3.0.10-1
    • 3.0.11-1
    • 3.0.12-1
    • 3.0.12-1.1
    • 3.0.12-1.1~exp1
    • 3.0.13-1
    All versions (12)
    • 3.0.14-1
    • 3.0.15-1
    • 3.0.16-1
    • 3.0.9-1
    • 3.0.9-1+deb12u1
    • 3.0.9-1+deb12u2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • modsecurity Debian 13

    Affected ranges
    • ECOSYSTEM: < 3.0.12-1

    Update to 3.0.12-1

  • modsecurity Debian 14

    Affected ranges
    • ECOSYSTEM: < 3.0.12-1

    Update to 3.0.12-1

  • modsecurity Ubuntu 20.04 LTS

    Versions
    • 3.0.3-1
    • 3.0.4-1
    • 3.0.4-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • modsecurity Ubuntu 22.04 LTS

    Versions
    • 3.0.4-2
    • 3.0.6-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • modsecurity Ubuntu 24.04 LTS

    Versions
    • 3.0.10-1
    • 3.0.11-1
    • 3.0.12-1
    • 3.0.12-1.1build1
    • 3.0.12-1.1build2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • modsecurity Ubuntu 25.10

    Versions
    • 3.0.13-1
    • 3.0.14-1
    • 3.0.14-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • modsecurity Ubuntu 26.10

    Versions
    • 3.0.14-1build2
    • 3.0.15-1
    • 3.0.16-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • modsecurity Ubuntu 26.04 LTS

    Versions
    • 3.0.14-1build1
    • 3.0.14-1build2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →