Improper neutralization of SQL in the container "Sort contentlets by" setting in dotCMS versions prior to 26.10.22-01, and 25.07.10 LTS prior to v23, allows an authenticated back-end user who can edit a container, without administrator rights, to store a value that dotCMS later inserts unvalidated into the ORDER BY clause of a database query. The stored value runs whenever the contents of that container are reordered and when the page is published, letting the user infer arbitrary data from the dotCMS database, including password hashes, API tokens, app configuration and content of other sites, and slow down the database. Fixed in 26.10.22-01 and later, and in 25.07.10 LTS v23. The setting now accepts only a supported column (tree_order, title, mod_date, sort_order or inode) with an optional asc or desc. Any other value is rejected when a container is saved through the REST API, the container editor, copy or push publishing, and a previously stored unsupported value falls back to the default order.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · Attack vector: NetworkA short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
Affected products appear after NVD analysis.