VDB-96506 · CVE-2017-5218 · BID 95968

SageCRM up to 7.3 SP2 AP_DocumentUI.asp sql injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.4$0-$5k0.00

Summaryinfo

A vulnerability was found in SageCRM up to 7.3 SP2 and classified as critical. This vulnerability affects unknown code of the file AP_DocumentUI.asp. Such manipulation of the argument /CRM/CustomPages/ACCPAC/AP_DocumentUI.asp?SID=<VALID-SID>/database=1/WAITFOR leads to sql injection. This vulnerability is documented as CVE-2017-5218. The attack can be executed remotely. There is not any exploit available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in SageCRM up to 7.3 SP2. It has been rated as critical. Affected by this issue is an unknown code of the file AP_DocumentUI.asp. The manipulation of the argument /CRM/CustomPages/ACCPAC/AP_DocumentUI.asp?SID=/database=1/WAITFOR with an unknown input leads to a sql injection vulnerability. Using CWE to declare the problem leads to CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. CVE summarizes:

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.

The bug was discovered 01/24/2017. The weakness was released 02/02/2017 (Website). The advisory is available at research.aurainfosec.io. This vulnerability is handled as CVE-2017-5218. The exploitation is known to be easy. The attack may be launched remotely. A simple authentication is needed for exploitation. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1505 by the MITRE ATT&CK project.

The vulnerability was handled as a non-public zero-day exploit for at least 9 days. During that time the estimated underground price was around $0-$5k. By approaching the search of inurl:AP_DocumentUI.asp it is possible to find vulnerable targets with Google Hacking.

Upgrading to version 7.3 SP3 eliminates this vulnerability.

The vulnerability is also documented in the vulnerability database at SecurityFocus (BID 95968†). Entry connected to this vulnerability is available at VDB-96507. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.6
VulDB Meta Temp Score: 7.4

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Sql injection
CWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: SageCRM 7.3 SP3

Timelineinfo

01/09/2017 🔍
01/24/2017 +15 days 🔍
02/01/2017 +8 days 🔍
02/02/2017 +1 days 🔍
02/02/2017 +0 days 🔍
02/03/2017 +1 days 🔍
11/11/2022 +2107 days 🔍

Sourcesinfo

Advisory: research.aurainfosec.io
Status: Not defined

CVE: CVE-2017-5218 (🔍)
GCVE (CVE): GCVE-0-2017-5218
GCVE (VulDB): GCVE-100-96506
SecurityFocus: 95968 - SageCRM SQL Injection and Arbitrary File Upload Vulnerabilities

See also: 🔍

Entryinfo

Created: 02/03/2017 10:02
Updated: 11/11/2022 13:32
Changes: 02/03/2017 10:02 (45), 12/29/2019 21:34 (9), 11/11/2022 13:27 (2), 11/11/2022 13:32 (11)
Complete: 🔍
Cache ID: 216:5C8:103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!