CVE-2017-5218

Severity CVSS v4.0:
Pending analysis
Type:
CWE-89 SQL Injection
Publication date:
02/02/2017
Last modified:
20/04/2025

Description

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=&database=1';WAITFOR DELAY '0:0:5'-- URI is a Proof of Concept.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:sagecrm:sagecrm:7.0:*:*:*:*:*:*:*
cpe:2.3:a:sagecrm:sagecrm:7.1:*:*:*:*:*:*:*
cpe:2.3:a:sagecrm:sagecrm:7.2:*:*:*:*:*:*:*
cpe:2.3:a:sagecrm:sagecrm:7.3:*:*:*:*:*:*:*
cpe:2.3:a:sagecrm:sagecrm:7.3:sp1:*:*:*:*:*:*
cpe:2.3:a:sagecrm:sagecrm:7.3:sp2:*:*:*:*:*:*