Database for Contact Form 7, WPforms, Elementor Forms PHP Object Injection Vulnerability

Vulnerability

A PHP Object Injection vulnerability has been identified in the Database for Contact Form 7, WPforms, and Elementor Forms plugin for WordPress, affecting all versions through 1.4.3. The vulnerability arises from the deserialization of untrusted input in the 'get_lead_detail' function, allowing unauthenticated attackers to inject PHP objects. Exploitation of this vulnerability is facilitated by a Property-Oriented Programming (POP) chain present in the Contact Form 7 plugin, which could be used to delete arbitrary files. This file deletion could result in a denial-of-service condition or potentially allow for remote code execution if the deleted file is critical, such as 'wp-config.php'.

Impact

Exploitation of this vulnerability could lead to unauthorized PHP object injection, with the potential for arbitrary file deletion. If a critical file like 'wp-config.php' is deleted, it could result in a denial-of-service condition or allow for remote code execution.

Reproduction

The vulnerability can be reproduced by sending a crafted request that exploits the 'get_lead_detail' function. This request must include serialized data that, when deserialized, injects a PHP object. The presence of a POP chain in the Contact Form 7 plugin can then be used to delete arbitrary files on the server.

Remediation

Users are advised to update the plugin to version 1.4.4 or later.

Added: Sep 1, 2025, 7:22 PM
Updated: Sep 1, 2025, 7:22 PM

Vulnerability Rating

Custom Algorithm
spread
3.4
impact
7.5
exploitability
9.3
remediation
7.7
relevance
0.4
threat
4.8
urgency
2.9
incentive
10.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.