SugarCRM WorkFlow PHP Code Injection

SugarCRM versions prior to 7.9.4.0 and 7.11.0.0 suffer from a PHP code injection vulnerability in the WorkFlow module. User input passed through the $_POST['base_module'] parameter to the "Save" action of the WorkFlow module is not properly sanitized before being used to write data into the 'workflow.php' file. This can be exploited to inject and execute arbitrary PHP code. Successful exploitation of this vulnerability requires admin privileges.


MD5 | 695389da1dad0e4c2419d379b1d1e132

-----------------------------------------------------------
SugarCRM (WorkFlow module) PHP Code Injection Vulnerability
-----------------------------------------------------------


[-] Software Link:

http://www.sugarcrm.com


[-] Affected Versions:

All versions prior to 7.9.4.0 and 7.11.0.0.


[-] Vulnerability Description:

User input passed through the $_POST['base_module'] parameter to the "Save" action
of the WorkFlow module is not properly sanitized before being used to write data into
the 'workflow.php' file. 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.4.0, 7.11.0.0, or later.


[-] Disclosure Timeline:

[09/10/2017] - Vendor notified
[28/03/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-02


[-] Other References:

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

Related Posts