CVE-2026-71292: Subrion CMS Admin Grid SQL Injection via Unwhitelisted ORDER BY sort Parameter
Subrion CMS's admin grid sorting helper, gridGetSorting() in includes/classes/ia.base.controller.admin.php, whitelists the dir (ASC/DESC) request parameter via inarray(), but falls back to the raw, attacker-supplied sort GET parameter whenever the requested key is not present in the per-controller $gridSorting whitelist array: $column = isset($this->gridSorting[$params['sort']]) ? ... : $params['sort'];, which is then placed into sprintf(' ORDER BY %s%s %s', $tableAlias, $column, $direction) with only backtick-quoting and no escaping. Because a backtick in the payload breaks out of the identifier context, an authenticated admin session can inject arbitrary SQL (error-based via EXTRACTVALUE, or time-based via SLEEP()) to extract database contents including administrator password hashes. Most of Subrion's ~29 admin grid controllers either define no $gridSorting whitelist at all (e.g. pages.php, transactions.php, languages.php) or an incomplete one covering only some of their sortable columns (e.g. members.php whitelists only 1 of 7 sortable fields), making the vast majority of admin grid endpoints exploitable.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-71292?
The severity of CVE-2026-71292 is rated as high with a score of 7.2.
What type of vulnerability is CVE-2026-71292?
CVE-2026-71292 is an SQL Injection vulnerability.
How do I fix CVE-2026-71292?
To fix CVE-2026-71292, ensure that the 'sort' parameter is properly validated against a whitelist of acceptable values before being processed.
Which software is affected by CVE-2026-71292?
CVE-2026-71292 affects Subrion CMS.
What component is vulnerable in CVE-2026-71292?
The vulnerable component in CVE-2026-71292 is the admin grid sorting helper, _gridGetSorting(), in Subrion CMS.