CVE-2025-25034: SugarCRM PHP Deserialization RCE
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 restdata 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-25034?
CVE-2025-25034 is classified as a high severity vulnerability due to its potential for PHP object injection, which can lead to remote code execution.
How do I fix CVE-2025-25034?
To fix CVE-2025-25034, upgrade your SugarCRM installation to versions 6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2, or 7.7.1.0 or later.
Which versions of SugarCRM are affected by CVE-2025-25034?
CVE-2025-25034 affects SugarCRM versions prior to 6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2, and 7.7.1.0.
What causes CVE-2025-25034?
CVE-2025-25034 is caused by improper validation of PHP serialized input in the SugarRestSerialize.php script.
Can CVE-2025-25034 be exploited remotely?
Yes, CVE-2025-25034 can be exploited remotely if the attacker can send crafted serialized data to the vulnerable SugarCRM instance.