{"id":"CVE-2017-5218","title":"A SQL Injection issue was discovered in SageCRM 7.x before 7.3 SP3.","published":"2017-02-02T03:59:00.130Z","updated":"2026-06-16T21:20:11.347Z","severity":"high","cvssScore":8.8,"epss":0.01477,"epssPct":0.74241,"kev":false,"maturity":"none","actionScore":35,"primaryVendor":"sagecrm","primaryProduct":"sagecrm","cweId":"CWE-89","fixAvailable":false,"tags":["sqli","remote","no-ui"],"epssDelta7":0,"summary":"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.","cvssVector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cvssVersion":"3.0","cvssSource":"nvd-primary","cweName":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","kevAdded":null,"kevDue":null,"kevRansomware":null,"source":"nvd","cna":"mitre","ssvc":null,"sources":{"cna":"2024-08-05T14:55:35.634Z","epss":"2026-11-12","cna_seen":"2026-09-29T10:50:41.705Z"},"cvssCna":null,"hasPatchRef":false,"credits":[],"counts":{"exploitdb":0,"metasploit":0,"nuclei":0,"githubPoc":0},"products":[{"vendor":"sagecrm","product":"sagecrm","cpe":"cpe:2.3:a:sagecrm:sagecrm"}],"references":[{"url":"http://research.aurainfosec.io/disclosures/sagecrm-CVE-2017-5219-CVE-2017-5218/","tags":"Third Party Advisory"},{"url":"http://www.securityfocus.com/bid/95968","tags":"Third Party Advisory,VDB Entry"}],"exploits":[],"analysis":null,"affectedVersions":[{"vendor":"sagecrm","product":"sagecrm","version":"7.0","vsi":null,"vse":null,"vei":null,"vee":null},{"vendor":"sagecrm","product":"sagecrm","version":"7.1","vsi":null,"vse":null,"vei":null,"vee":null},{"vendor":"sagecrm","product":"sagecrm","version":"7.2","vsi":null,"vse":null,"vei":null,"vee":null},{"vendor":"sagecrm","product":"sagecrm","version":"7.3","vsi":null,"vse":null,"vei":null,"vee":null}],"source_attribution":"NVD (NIST), CVE Program, CISA KEV, FIRST EPSS, OSV. Aggregated by Noroxi."}