{"id":"CVE-2026-71292","summary":"Subrion CMS Admin Grid SQL Injection via Unwhitelisted ORDER BY sort Parameter","details":"Subrion CMS's admin grid sorting helper, _gridGetSorting() in includes/classes/ia.base.controller.admin.php, whitelists the `dir` (ASC/DESC) request parameter via in_array(), 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-\u003e_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.","modified":"2026-08-07T03:47:03.698497702Z","published":"2026-08-05T12:38:43.068Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71292.json","cna_assigner":"TuranSec","cwe_ids":["CWE-89"]},"references":[{"type":"WEB","url":"https://github.com/intelliants/subrion/blob/master/includes/classes/ia.base.controller.admin.php"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71292.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71292"},{"type":"PACKAGE","url":"https://github.com/intelliants/subrion"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/intelliants/subrion","events":[{"introduced":"0"},{"last_affected":"b8d2c1b2d71120bb55162722818f49ddcd064108"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"4.2.1"}]}}],"versions":["v4.2.1","v4.2.0","v4.1.5","v4.1.4","v4.1.0","v4.0.5","v4.0.4","v4.0.3","v4.0.2","v4.0.1","v4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-71292.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}