CVE-2025-25034 PUBLISHED

SugarCRM PHP Deserialization RCE

Assigner: VulnCheck
Reserved: 31.01.2025 Published: 20.06.2025 Updated: 20.06.2025

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.

Metrics

CVSS Vector: 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
CVSS Score: 9.3

Product Status

Vendor SugarCRM
Product SugarCRM
Versions Default: unaffected
  • affected from 6.5.0 to 6.5.23 (excl.)
  • affected from 6.7.0 to 6.7.12 (excl.)
  • affected from 7.5.0 to 7.5.2.4 (excl.)
  • affected from 7.6.0 to 7.6.2.1 (excl.)

Credits

  • Egidio Romano finder

References

Problem Types

  • CWE-502 Deserialization of Untrusted Data CWE

Impacts

  • CAPEC-586 Object Injection