
Cloud Vulnerability DB
A community-led vulnerabilities database
Trustwave ModSecurity 3.x before version 3.0.10 contains a vulnerability related to inefficient algorithmic complexity in four transformation actions. The vulnerability was discovered and reported in July 2023, affecting the ModSecurity Web Application Firewall (WAF) engine. This issue specifically impacts ModSecurity v3 installations, while ModSecurity v2 is not affected (Trustwave Blog).
The vulnerability affects four specific transformation actions: removeWhitespace, removeNull, replaceNull, and removeCommentsChar. While these transformations are functionally correct, they implement inefficient solutions that can be exploited when processing specially crafted HTTP requests. The issue has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD, Trustwave Blog).
When exploited, the vulnerability can cause significant processing delays, potentially leading to a denial of service condition. Even with default configuration limits in place (such as SecRequestBodyNoFilesLimit set to 131072), multiple executions of these transformations could result in several seconds of delay for a single HTTP transaction. If multiple malicious requests are processed simultaneously, the webserver may become unable to handle legitimate requests effectively (Trustwave Blog).
For installations where immediate upgrade to version 3.0.10 is not feasible, several mitigation options are available. Administrators can implement ModSecurity rules to limit the size of values being processed while allowing legitimate content. For example, a rule can be added to limit ARGS collection size: SecRule ARGS "@gt 16000" "id:1,phase:2,t:length,deny,status:403,msg:'ARG exceeds length limit'"
. Additionally, reducing the SecRequestBodyNoFilesLimit configuration value can help minimize potential delays from worst-case inputs (Trustwave Blog).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."