SQL Injection in Dotcms
CVE-2017-5344
An issue was discovered in dotCMS through 3.6.1. The findChildrenByFilter() function which is called by the web accessible path /categoriesServlet performs string interpolation and direct SQL query execution. SQL quote escaping and a keyword blacklist were implemented in a new class, SQLUtil (main/java/com/dotmarketing/common/util/SQLUtil.java), as part of the remediation of CVE-2016-8902; however, these can be overcome in the case of the q and inode parameters to the /categoriesServlet path. Overcoming these controls permits a number of blind boolean SQL injection vectors in either parameter. The /categoriesServlet web path can be accessed remotely and without authentication in a default dotCMS deployment.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.063 (93.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 93rd percentile — 93.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.063 · newest: 0.063 · change: 0.000
Affected products
Weakness classification (CWE)
References
- www.securityfocus.com/bid/96259 (vdb-entry)
- github.com/xdrr/webapp-exploits/blob/master/vendors/dotcms/2017.01.blind-sqli/d… (Exploit, Third Party Advisory)
- seclists.org/fulldisclosure/2017/Feb/34 (Exploit, Mailing List, Third Party Advisory)
- dotcms.com/security/SI-39 (Vendor Advisory)
- www.exploit-db.com/exploits/41377/ (exploit)
Frequently asked questions
- What is CVE-2017-5344?
- CVE-2017-5344 is a critical-severity vulnerability in Dotcms, classified under SQL Injection. CVSS score: 9.8/10. Published 2017-02-17.
- How severe is CVE-2017-5344?
- Critical severity. CVSS v3 base score is 9.8 out of 10.