CVE-2016-2355

SQL injection vulnerability in the REST API in dotCMS before 3.3.2 allows remote attackers to execute arbitrary SQL commands via the stName parameter to…

published December 19, 2016

CVSS
—
EPSS
2%
Percentile
81.4
In the wild
Unconfirmed
What it is

⚠️ A sneaky SQL injection hides in the dotCMS REST API, allowing attackers to execute arbitrary commands through the stName parameter — all without any magic spells required! 🔥 Think of it like a restaurant where the chef prepares dishes based on a confusing order slip — if the kitchen accepts anything without verifying the request, they might whip up something totally harmful instead of what was intended. An attacker could exploit this oversight to execute unauthorized SQL commands, potentially accessing, modifying, or even deleting sensitive data stored in the database. This could lead to devastating consequences, including data breaches or service disruptions.

Put simply

Think of it like a restaurant where the chef prepares dishes based on a confusing order slip — if the kitchen accepts anything without verifying the request, they might whip up something totally harmful instead of what was intended. This vulnerability in dotCMS before version 3.3.2 allows for SQL injection via the stName parameter in the api/content/save/1 endpoint, enabling attackers to run arbitrary SQL queries on the database.

What to do

An attacker could exploit this oversight to execute unauthorized SQL commands, potentially accessing, modifying, or even deleting sensitive data stored in the database. This could lead to devastating consequences, including data breaches or service disruptions. To protect your application, immediately upgrade to dotCMS version 3.3.2 or later. Also, implement parameterized queries to avoid SQL injection in your API endpoints. Regularly audit your code for vulnerabilities like this one! You've got this! With a quick upgrade, you'll keep your data safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02100 · 81.4th percentile
Published
2016-12-19T22:00Z
EPSS history
Timeline
  • 19 DEC 22:00Z
    SQL injection vulnerability in the REST API in dotCMS before 3.3.2 allows remote attackers to execute arbitrary SQL commands via the stName parameter to…
    cvelistv5