Skip to content

Write-ups

ModSecurity

Every publicly disclosed report for ModSecurity and what kind of bugs they were.

disclosed reports
4
most reported class
Misconfiguration
bug classes found
3

Disclosed reports

Newest first. Only what ModSecurity chose to make public.

Misconfiguration

ModSecurity: Path Confusion and really easy bypass on v2 and v3

ModSecurity implicitly URL-decodes the request path before setting variables such as REQUEST_FILENAME, so a %3f in the path makes the engine treat everything after it as a query string and drop it from the variable. Rules that inspect that variable then miss the payload, allowing a simple bypass of the WAF and the OWASP Core Rule Set, including SQL injection in the path.

ModSecurity

DoS

ModSecurity DoS Vulnerability in JSON Parsing (CVE-2021-42717)

ModSecurity's JSON parser lacked a depth limit, so a request with deeply nested JSON could cause excessive resource consumption and delay responses. An attacker could send many such requests to render the web server unable to handle legitimate traffic.

ModSecurity