Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
SugarCRM6.5.0 – < 6.5.246.5.24CNA
SugarCRM6.7.0 – < 6.7.136.7.13CNA
SugarCRM7.5.0 – < 7.5.2.57.5.2.5CNA
SugarCRM7.6.0 – < 7.6.2.27.6.2.2CNA
SugarCRM7.7.0 – < 7.7.1.07.7.1.0CNA

Scores by source

VulnCheck (CNA)9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

advisoryweb.archive.org/web/20160725194502/http://www.sugarcrm.com/security/sugarcrm-sa-2016-008advisoryweb.archive.org/web/20160508053502/http://www.sugarcrm.com/security/sugarcrm-sa-2016-001writeupkarmainsecurity.com/KIS-2016-07exploitexploit-db.com/exploits/40344exploitraw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/sugarcrm_rest_unserialize_exec.rbrefsugarcrm.com/crmwriteupvulncheck.com/advisories/sugarcrm-php-deserialization-rce