Contact Form CFDB7 CVE-2025-4665
CRITICALSeverity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Pre-auth, network-reachable, low-complexity SQLi-to-object-injection gives AV:N/AC:L/PR:N; the trigger is attacker-controlled so UI:N (disagreeing with input UI:R), with full CIA impact within the application (S:U).
Primary rating from Vendor (google).
CVSS VectorVendor: google
Lifecycle Timeline
2DescriptionCVE.org
WordPress plugin Contact Form CFDB7 versions up to and including 1.3.2 are affected by a pre-authentication SQL injection vulnerability that cascades into insecure deserialization (PHP Object Injection). The weakness arises due to insufficient validation of user input in plugin endpoints, allowing crafted input to influence backend queries in unexpected ways. Using specially crafted payloads, this can escalate into unsafe deserialization, enabling arbitrary object injection in PHP. Although the issue is remotely exploitable without authentication, it does require a crafted interaction with the affected endpoint in order to trigger successfully.
AnalysisAI
Pre-authentication SQL injection in the WordPress plugin Contact Form CFDB7 (all versions up to and including 1.3.2) cascades into PHP object injection, allowing remote attackers to reach code paths that can fully compromise confidentiality, integrity, and availability of an affected WordPress site. The CVSS vector (AV:N/AC:L/PR:N) confirms the attack is remotely reachable and unauthenticated, and the plugin must simply be installed and active on the target - no valid account or victim action is required in practice. Exploitation status is unconfirmed: there is no CISA KEV entry and no public exploit code identified at time of analysis, and the EPSS score is low at 0.33% (24th percentile), so this appears to be a severe but not yet broadly exploited issue; it was disclosed by Mandiant (MNDT-2025-0006).
Technical ContextAI
The vulnerable component is a WordPress plugin (slug contact-form-cfdb7) that stores contact-form submissions and exposes front-end and AJAX endpoints to unauthenticated visitors. Per CWE-89, user-supplied input reaching those endpoints is not properly validated or parameterized before being used to build backend SQL queries, so crafted values can alter query logic and manipulate what the plugin reads back out of its own tables. The disclosed chain extends beyond classic SQLi: attacker-influenced data flows into PHP's unserialize() handling, producing PHP Object Injection. When a gadget chain exists in the WordPress core, other active plugins, or the theme's autoloaded classes, object injection can escalate to file operations, arbitrary option manipulation, SSRF, or remote code execution. Note a scoring discrepancy worth tracking: NVD rates this 9.6 with UI:R (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H), while this assessment treats it as UI:N (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), because the "crafted interaction" described is attacker-side payload construction rather than victim-side user interaction - meaning default installations of the affected plugin should be treated as directly exploitable over the network.
Affected ProductsAI
Contact Form CFDB7, a WordPress plugin, versions up to and including 1.3.2, as distributed through the official WordPress plugin directory (https://wordpress.org/plugins/contact-form-cfdb7). No CPE string was supplied in the available intelligence, so scoping should be done by plugin slug and installed version rather than by CPE matching; any WordPress site with the plugin installed and active at 1.3.2 or earlier is in scope, regardless of WordPress core version. The authoritative technical write-up is Mandiant's vulnerability disclosure MNDT-2025-0006 (https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2025/MNDT-2025-0006.md), which is also referenced by NVD. Sites that have merely downloaded but not activated the plugin are not exposed until activation.
RemediationAI
No vendor-released patch or fixed version is identified in the available references, so treat this as unpatched at time of analysis and verify current status directly on the plugin's WordPress.org page (https://wordpress.org/plugins/contact-form-cfdb7) and in Mandiant's advisory (https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2025/MNDT-2025-0006.md). The most reliable mitigation is to deactivate and remove Contact Form CFDB7 from all sites until a version above 1.3.2 ships, accepting the loss of the contact-form/submission-logging functionality and the need to clean up any submission data or migrate to an alternative form plugin. If removal is not operationally possible, restrict access to the plugin's front-end and AJAX endpoints so only trusted networks can reach them (for example, blocking direct requests to the plugin's admin-ajax.php actions and its public submission handlers at the reverse proxy), at the cost of breaking legitimate public form submissions. A WAF or ModSecurity rule set that blocks SQL metacharacters and serialized-object payloads (O: and C: patterns) in requests to the plugin's endpoints reduces exposure but is bypass-prone and does not fix the underlying parameterization flaw, so it should be treated as temporary. Combine these with database-level monitoring for anomalous queries against the plugin's submission tables and a review of PHP object autoloading classes that could serve as gadget chains. The low EPSS (0.33%) and absence of a KEV listing argue for patching on a normal high-severity cycle unless the site is internet-facing with the plugin active.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today