SugarCRM <= 12.2.0 (Docusign_GlobalSettings) PHP Object Injection Vulnerability

https://www.sugarcrm.com

• Affected Versions:

Version 12.2.0 and prior versions.

Version 12.0.2 and prior versions.

Version 11.0.5 and prior versions.

• Vulnerability Description:

There is a Second-Order PHP Object Injection vulnerability which might allow malicious admin users to execute arbitrary PHP code on the web server (RCE) by storing malicious serialized objects into the database.

The vulnerability can be triggered by invoking the "/DocuSign/getGlobalConfig" REST API endpoint, which is using the unserialize() PHP function with the “Docusign_GlobalSettings” parameter. This can be exploited to inject arbitrary PHP objects into the application scope, allowing an attacker to perform a variety of attacks.

• Proof of Concept:

https://karmainsecurity.com/pocs/CVE-2023-35810.php

• Solution:

Upgrade to version 12.3.0, 12.0.3, 11.0.6, or later.

• Disclosure Timeline:

[14/02/2023] – Vendor notified

[12/04/2023] – Fixed versions released

[17/06/2023] – CVE number assigned

[23/08/2023] – Publication of this advisory

• CVE Reference:

The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2023-35810 to this vulnerability.

• Credits:

Vulnerability discovered by Egidio Romano.

• Other References:

https://support.sugarcrm.com/Resources/Security/sugarcrm-sa-2023-009