{"id":"CVE-2017-5218","aliases":["EUVD-2017-14324","GHSA-v4x7-98xc-8fp6"],"status":"published","title":"A SQL Injection issue was discovered in SageCRM 7.x before 7.3 SP3. The AP_DocumentUI.asp web...","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=\u003cVALID-SID\u003e\u0026database=1';WAITFOR DELAY '0:0:5'-- URI is a Proof of Concept.","severity":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01477,"percentile":0.74047,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-89"],"published":"2017-02-02T06:54:00Z","modified":"2026-06-17T01:20:11Z","products":[{"vendor":"sagecrm","product":"sagecrm"}],"references":[{"url":"http://research.aurainfosec.io/disclosures/sagecrm-CVE-2017-5219-CVE-2017-5218/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/95968","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5218"},{"url":"http://research.aurainfosec.io/disclosures/sagecrm-CVE-2017-5219-CVE-2017-5218"},{"url":"https://github.com/advisories/GHSA-v4x7-98xc-8fp6"}],"sources":{"cve":[{"id":"CVE-2017-5218","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=\u003cVALID-SID\u003e\u0026database=1';WAITFOR DELAY '0:0:5'-- URI is a Proof of Concept.","status":"published","published":"2017-02-02T06:54:00Z","modified":"2024-08-05T14:55:35.634Z","updated_at":"2026-11-02T14:33:12.599234Z"}],"euvd":[{"id":"EUVD-2017-14324","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=\u003cVALID-SID\u003e\u0026database=1';WAITFOR DELAY '0:0:5'-- URI is a Proof of Concept.","status":"published","published":"2017-02-02T06:54:00Z","modified":"2024-08-05T14:55:35Z","updated_at":"2026-11-03T02:39:16.415448Z"}],"ghsa":[{"id":"GHSA-v4x7-98xc-8fp6","title":"A SQL Injection issue was discovered in SageCRM 7.x before 7.3 SP3. The AP_DocumentUI.asp web...","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=\u003cVALID-SID\u003e\u0026database=1';WAITFOR DELAY '0:0:5'-- URI is a Proof of Concept.","status":"published","published":"2022-05-17T02:57:06Z","modified":"2025-04-20T03:32:19Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:01:39.626411Z"}],"nvd":[{"id":"CVE-2017-5218","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=\u003cVALID-SID\u003e\u0026database=1';WAITFOR DELAY '0:0:5'-- URI is a Proof of Concept.","status":"published","published":"2017-02-02T07:59:00.13Z","modified":"2026-06-17T01:20:11.347Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:03:42.372487Z"}]}}
