CVE-2025-25034
A PHP object injection vulnerability exists in SugarCRM versions …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- karmainsecurity.com/KIS-2016-07
- raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/
- vulncheck.com/advisories/sugarcrm-php-deserialization-rce
- web.archive.org/web/20160508053502/http://www.sugarcrm.com/security/sugarcrm-sa-2016-001
- web.archive.org/web/20160725194502/http://www.sugarcrm.com/security/sugarcrm-sa-2016-008
- www.exploit-db.com/exploits/40344
- www.sugarcrm.com/crm/
- nvd.nist.gov/vuln/detail/CVE-2025-25034
- cve.org/CVERecord?id=CVE-2025-25034
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.