Description
Subrion CMS's admin grid sorting helper, _gridGetSorting in includes/classes/ia.base.controller.admin.php, whitelists the (ASC/DESC) request parameter via in_array, but falls back to the raw, attacker-supplied GET parameter whenever the requested key is not present in the per-controller whitelist array: , which is then placed into %s with only backtick-quoting and no escaping.
Published: 2026-08-05
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Subrion CMS’s admin grid sorting helper, _gridGetSorting in includes/classes/ia.base.controller.admin.php, enforces a whitelist for the (ASC/DESC) request parameter using in_array. However, if the requested sort key is not present in a per‑controller whitelist array, the logic falls back to the raw attacker‑supplied GET parameter, inserting it into an ORDER BY clause with only backtick quoting and no escaping. This flaw allows an authenticated administrator to inject malicious SQL via the sort key, enabling extraction of sensitive database data and compromising confidentiality.

Affected Systems

The vulnerability affects Subrion CMS, specifically its admin grid endpoints defined in includes/classes/ia.base.controller.admin.php. With almost all of the CMS’s ~29 admin grid controllers missing or having incomplete whitelists, any installation that supplies an authenticated admin user can exploit the flaw. No specific product version range is provided, so the risk applies to all current releases that have not been patched for this issue.

Risk and Exploitability

The CVSS score of 7.2 indicates a high severity; EPSS data is < 1%, and the vulnerability is not listed in the CISA KEV catalog, but the reliance on an authenticated admin user limits the attack surface. Once the vulnerability is leveraged, an attacker can extract privileged data, including password hashes, and potentially elevate privileges. The lack of public exploitation evidence suggests the risk is moderate to high, but the potential impact warrants immediate attention.

Generated by OpenCVE AI on August 10, 2026 at 20:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Subrion CMS to a release that fixes the admin grid whitelisting flaw if one is available.
  • If no patch exists, modify the _gridSorting whitelist logic to enforce a strict allowlist for every sortable column and reject all others.
  • Ensure the database account used by Subrion runs with the least privileges necessary and cannot read unnecessary tables.
  • Optionally, deploy a web application firewall or input sanitization layer to detect and block backtick injection attempts in ORDER BY clauses.

Generated by OpenCVE AI on August 10, 2026 at 20:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 12:00:00 +0000

Type Values Removed Values Added
Description 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->_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. Subrion CMS's admin grid sorting helper, _gridGetSorting in includes/classes/ia.base.controller.admin.php, whitelists the (ASC/DESC) request parameter via in_array, but falls back to the raw, attacker-supplied GET parameter whenever the requested key is not present in the per-controller whitelist array: , which is then placed into %s with only backtick-quoting and no escaping.
Title Subrion CMS - Admin Grid SQL Injection via Unwhitelisted ORDER BY sort Parameter Subrion CMS Admin Grid SQL Injection via Unwhitelisted ORDER BY sort Parameter

Mon, 10 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Title Subrion CMS Admin Grid SQL Injection via Unwhitelisted ORDER BY sort Parameter Subrion CMS - Admin Grid SQL Injection via Unwhitelisted ORDER BY sort Parameter

Wed, 05 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Intelliants
Intelliants subrion
Vendors & Products Intelliants
Intelliants subrion

Wed, 05 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Description 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->_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.
Title Subrion CMS Admin Grid SQL Injection via Unwhitelisted ORDER BY sort Parameter
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Intelliants Subrion
cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-10T11:47:26.159Z

Reserved: 2026-08-05T12:37:57.358Z

Link: CVE-2026-71292

cve-icon Vulnrichment

Updated: 2026-08-05T15:46:18.592Z

cve-icon NVD

Status : Received

Published: 2026-08-05T13:24:53.943

Modified: 2026-08-10T12:17:31.867

Link: CVE-2026-71292

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T20:30:05Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')