CVE-2021-42717
HIGHOWASP ModSecurity 2.8.0-2.9.4 and 3.0.0-3.0.5 - Denial of Service via Excessively Nested JSON Objects
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2021-42717. PoCs published by EkamSinghWalia.
AI-analyzed exploit summary This repository contains a detection and mitigation script for CVE-2021-42717, a ModSecurity DoS vulnerability in JSON parsing. The script checks for the presence of ModSecurity and its configuration to determine vulnerability and applies mitigation by adjusting the SecRequestBodyNoFilesLimit setting.
Description
ModSecurity 3.x through 3.0.5 mishandles excessively nested JSON objects. Crafted JSON objects with nesting tens-of-thousands deep could result in the web server being unable to service legitimate requests. Even a moderately large (e.g., 300KB) HTTP request can occupy one of the limited NGINX worker processes for minutes and consume almost all of the available CPU on the machine. Modsecurity 2 is similarly vulnerable: the affected versions include 2.8.0 through 2.9.4.
Exploits (1)
This repository contains a detection and mitigation script for CVE-2021-42717, a ModSecurity DoS vulnerability in JSON parsing. The script checks for the presence of ModSecurity and its configuration to determine vulnerability and applies mitigation by adjusting the SecRequestBodyNoFilesLimit setting.
References (4)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H