Skip to main content

PHP CVE-2025-25034

| EUVD-2025-18782 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2025-06-20 disclosure@vulncheck.com
9.3
CVSS 4.0
Share

CVSS VectorNVD

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None

Lifecycle Timeline

7
Analysis Updated
Apr 16, 2026 - 05:53 EUVD-patch-fix
executive_summary
Re-analysis Queued
Apr 16, 2026 - 05:29 backfill_euvd_patch
patch_released
Patch available
Apr 16, 2026 - 05:29 EUVD
6.5.23,7.5.2.4,6.7.12
EUVD ID Assigned
Mar 15, 2026 - 00:19 euvd
EUVD-2025-18782
Analysis Generated
Mar 15, 2026 - 00:19 vuln.today
PoC Detected
Nov 20, 2025 - 17:15 vuln.today
Public exploit code
CVE Published
Jun 20, 2025 - 19:15 nvd
CRITICAL 9.3

DescriptionNVD

A PHP object injection vulnerability exists in SugarCRM versions prior to 6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2, and 7.7.1.0 due to improper validation of PHP serialized input in the SugarRestSerialize.php script. The vulnerable code fails to sanitize the rest_data parameter before passing it to the unserialize() function. This allows an unauthenticated attacker to submit crafted serialized data containing malicious object declarations, resulting in arbitrary code execution within the application context. Although SugarCRM released a prior fix in advisory sugarcrm-sa-2016-001, the patch was incomplete and failed to address some vectors. Exploitation evidence was observed by the Shadowserver Foundation on 2024-09-13 UTC.

AnalysisAI

SugarCRM versions prior to 6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2, and 7.7.1.0 contain a PHP object injection vulnerability via the SugarRestSerialize.php script. The rest_data parameter is passed to unserialize() without validation, allowing unauthenticated attackers to inject malicious PHP objects for remote code execution.

Technical ContextAI

The SugarRestSerialize.php script deserializes the rest_data POST parameter using PHP's unserialize() function without input validation. An attacker can craft a serialized PHP object with magic methods (__destruct, __wakeup, __toString) that trigger arbitrary code execution during deserialization. SugarCRM's large codebase provides numerous gadget chains for exploitation.

RemediationAI

Update SugarCRM to a patched version. Restrict access to the REST API endpoint. Deploy a WAF with PHP serialization detection rules. Monitor the web root for unauthorized file creation.

Share

CVE-2025-25034 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy