PT-2020-16809 · Dotcms · Dotcms

Xiaozhicaio

·

Published

2020-12-30

·

Updated

2021-01-04

·

CVE-2020-27848

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions dotCMS versions prior to 20.10.1
Description The issue allows SQL injection, as demonstrated by the "/api/v1/containers" endpoint with the orderby parameter. The PaginatorOrdered classes used for paginating results of REST endpoints do not sanitize the orderby parameter, making it vulnerable to SQL injection attacks in some cases. A user must be an authenticated manager in the dotCMS system to exploit this issue.
Recommendations For versions prior to 20.10.1, update to version 20.10.1 or later to resolve the issue. As a temporary workaround, consider restricting access to the /api/v1/containers endpoint or sanitizing the orderby parameter to minimize the risk of exploitation.

Exploit

Fix

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-27848

Affected Products

Dotcms