CVE-2017-5218 SQL injection in n/a
SQL injection in SageCRM allows attackers to manipulate database queries via the database URL parameter, potentially leading to data theft or execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2017-5218?
CVE-2017-5218 is a high-severity SQL injection vulnerability in n/a, published on 2 Feb 2017. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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=<VALID-SID>&database=1';WAITFOR DELAY '0:0:5'-- URI is a Proof of Concept.
Weakness: CWE-89
Which versions are affected by CVE-2017-5218?
It affects 1 product.
Products include Sagecrm Sagecrm.
How do I fix CVE-2017-5218?
No fix has been published for CVE-2017-5218 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2017-5218 being exploited?
There is no known exploitation of CVE-2017-5218 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-v4x7-98xc-8fp6.