CVE-2025-25034
JSON

9.3critical

SugarCRM PHP Deserialization RCE

Severity
9.3critical CVSS:4.0 by VulnCheck
Exploit likelihood
4.97% (higher than 92% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

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

Product or packageVersionsReported by
SugarCRM SugarCRMfrom 6.5.0 before 6.5.24, from 6.7.0 before 6.7.13, from 7.5.0 before 7.5.2.5, from 7.6.0 before 7.6.2.2, from 7.7.0 before 7.7.1.0CVE List

Classification

CWE-502

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Existe una vulnerabilidad de inyección de objetos PHP en versiones de SugarCRM anteriores a 6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2 y 7.7.1.0 debido a una validación incorrecta de la entrada serializada de PHP en el script SugarRestSerialize.php. El código vulnerable no depura el parámetro rest_data antes de pasarlo a la función unserialize(). Esto permite que un atacante no autenticado envíe datos serializados manipulados que contienen declaraciones de objetos maliciosos, lo que provoca la ejecución de código arbitrario en el contexto de la aplicación. Aunque SugarCRM publicó una corrección previa en el aviso sugarcrm-sa-2016-001, el parche estaba incompleto y no solucionaba algunos vectores.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-25034 changed 2026-10-29CVE Terms of Use
NVDCVE-2025-25034 changed 2026-10-29Public domain