An issue was discovered in OWASP ModSecurity Core Rule Set (CRS) through 3.1.0. /rules/REQUEST-933-APPLICATION-ATTACK-PHP.conf allows remote attackers to cause a denial of service (ReDOS) by entering a specially crafted string with $a# at the beginning and nested repetition operators. NOTE: the software maintainer disputes that this is a vulnerability because the issue cannot be exploited via ModSecurity
The product does not properly control the allocation and maintenance of a limited resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Owasp_modsecurity_core_rule_set | Modsecurity | * | 3.1.0 (including) |
Modsecurity-crs | Ubuntu | bionic | * |
Modsecurity-crs | Ubuntu | cosmic | * |
Modsecurity-crs | Ubuntu | disco | * |
Modsecurity-crs | Ubuntu | eoan | * |
Modsecurity-crs | Ubuntu | groovy | * |
Modsecurity-crs | Ubuntu | hirsute | * |
Modsecurity-crs | Ubuntu | impish | * |
Modsecurity-crs | Ubuntu | kinetic | * |
Modsecurity-crs | Ubuntu | lunar | * |
Modsecurity-crs | Ubuntu | mantic | * |
Modsecurity-crs | Ubuntu | trusty | * |
Modsecurity-crs | Ubuntu | xenial | * |
Mitigation of resource exhaustion attacks requires that the target system either:
The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.
The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.