CVE-2017-5344 SQL injection in n/a
Unauthenticated attackers can exploit SQL injection in dotCMS categoriesServlet to read or modify database contents via blind boolean vectors.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2017-5344?
CVE-2017-5344 is a critical SQL injection vulnerability in Dotcms Dotcms, published on 17 Feb 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2017-5344?
It affects 1 product.
Products include Dotcms Dotcms.
How do I fix CVE-2017-5344?
No fix has been published for CVE-2017-5344 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-5344 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-5344 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Dotcms Dotcms
Sources
Also known as GHSA-fg7c-gm2c-26m5.