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.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub