SecurityContext

CVE-2017-5344: dotCMS - SQL Injection

  • Cve: CVE-2017-5344
  • Name: dotCMS - SQL Injection
  • Description: 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.
  • Impact: Attackers can execute arbitrary SQL queries, potentially leading to data disclosure, data tampering, or database compromise.
  • Remediation: Update to the latest version of dotCMS where the vulnerability is fixed or apply security patches addressing the SQL injection issue.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.06304
  • Epss percentile: 0.93777
  • Assignee: [email protected]
  • Published at: 2017-02-17T07:59:00Z
  • Age in days: 3567
  • Modified at: 2026-06-17T01:20:18Z
  • Public exploits total: 2
  • References total: 5
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-5344
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Hackerone

  • Reports: 1
  • Rank: 5193

Public exploits

UrlSourceAdded date
http://seclists.org/fulldisclosure/2017/Feb/34nvd2017-02-17
https://github.com/xdrr/webapp-exploits/blob/master/vendors/dotcms/2017.01.blind-sqli/dotcms-dump.shnvd2017-02-17

References

Same in every row:

  • Source: nvd
UrlTags
http://dotcms.com/security/SI-39Vendor Advisory
http://seclists.org/fulldisclosure/2017/Feb/34Exploit, Mailing List, Third Party Advisory
https://github.com/xdrr/webapp-exploits/blob/master/vendors/dotcms/2017.01.blind-sqli/dotcms-dump.shExploit, Third Party Advisory
http://www.securityfocus.com/bid/96259
https://www.exploit-db.com/exploits/41377/

Products

ProductAffectedPlatform boundSourcesUrl
dotcms:dotcms<= 3.6.1nonvd/v1/products/dotcms/dotcms

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2017-02-17
  • Remote: yes
  • Hackerone reports: 1
  • Exposed hosts: 629
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since