SugarCRM addLabels PHP Code Injection

SugarCRM versions prior to 7.9.5.0, 8.0.2, and 8.2.0 suffer from a PHP code injection vulnerability. User input passed through key values of the 'labels_' parameters is not properly sanitized before being used to save PHP code within the "ParserLabel::addLabels()" method when saving labels through the Module Builder. This can be exploited to inject and execute arbitrary PHP code. Successful exploitation of this vulnerability requires admin privileges.


MD5 | a185f42ec61a0417ce4c9024f155944a

-----------------------------------------------------
SugarCRM (addLabels) PHP Code Injection Vulnerability
-----------------------------------------------------


[-] Software Link:

http://www.sugarcrm.com


[-] Affected Versions:

All versions prior to 7.9.5.0, 8.0.2, and 8.2.0.


[-] Vulnerability Description:

User input passed through key values of the 'labels_' parameters is not properly sanitized
before being used to save PHP code within the "ParserLabel::addLabels()" method when saving
labels through the Module Builder. This can be exploited to inject and execute arbitrary
PHP code. Successful exploitation of this vulnerability requires admin privileges.


[-] Solution:

Update to versions 7.9.5.0, 8.0.2, 8.2.0, or later.


[-] Disclosure Timeline:

[30/07/2018] - Vendor notified
[25/09/2018] - Fixed versions released and security advisory published
[31/12/2018] - Publication of this advisory


[-] CVE Reference:

The Common Vulnerabilities and Exposures project (cve.mitre.org)
has not assigned a CVE identifier for this vulnerability.


[-] Credits:

Vulnerability discovered by Egidio Romano.


[-] Original Advisory:

http://karmainsecurity.com/KIS-2018-06


[-] Other References:

https://support.sugarcrm.com/Resources/Security/sugarcrm-sa-2018-008/

Related Posts