SQL Injection in SageCRM 7.x before 7.3 SP3 via AP_DocumentUI.asp

SQL Injection in SageCRM 7.x before 7.3 SP3 via AP_DocumentUI.asp

CVE-2017-5218 · MEDIUM Severity

AV:N/AC:L/AU:S/C:P/I:P/A:P

A SQL Injection issue was discovered in SageCRM 7.x before 7.3 SP3. The AP_DocumentUI.asp web resource includes Utilityfuncs.js when the file is opened or viewed. This file crafts a SQL statement to identify the database that is to be in use with the current user's session. The database variable can be populated from the URL, and when supplied non-expected characters, can be manipulated to obtain access to the underlying database. The /CRM/CustomPages/ACCPAC/AP_DocumentUI.asp?SID=<VALID-SID>&database=1';WAITFOR DELAY '0:0:5'-- URI is a Proof of Concept.

Learn more about our Cis Benchmark Audit For Microsoft Sql Server.