SugarCRM (Web Logic Hooks module) Path Traversal Vulnerability

• Affected Versions:

All versions prior to, 8.0.2, and 8.2.0.

• Vulnerability Description:

User input passed through the “webhook_target_module” parameter is not properly sanitized before being used to save PHP code into the hooks file through the Web Logic Hooks module. This can be exploited to carry out Path Traversal attacks and e.g. create arbitrary directories. Successful exploitation of this vulnerability requires admin privileges.

• Solution:

Update to versions, 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 ( has not assigned a CVE identifier for this vulnerability.

• Credits:

Vulnerability discovered by Egidio Romano.

• Other References: