Description
Conditional Fields for Contact Form 7 WordPress plugin through version 2.6.7 contains an uncontrolled resource consumption vulnerability in the Wpcf7cfMailParser class where the hide_hidden_mail_fields_regex_callback() method reads an iteration count directly from user-supplied POST parameters without validation or upper bound enforcement. Unauthenticated attackers can supply an arbitrarily large integer value through the REST API endpoint to cause unbounded loop execution with multiple preg_replace() operations, exhausting server memory and crashing the PHP process.
Problem types
CWE-1284 Improper Validation of Specified Quantity in Input
Product status
Any version before 2.7.3
Credits
Rahul Karne
VulnCheck
References
wordpress.org/plugins/cf7-conditional-fields/
www.vulncheck.com/...s-via-uncontrolled-resource-consumption