CVE-2026-45054CWE-89

CubeCart: Authenticated SQL Injection via `sort[]` Parameter in Admin Orders Transactions Listing

Medium · published May 13, 2026

CVSS v3.1
4.9
EPSS
0%
Percentile
32.8
In the wild
Unconfirmed
What it is

CubeCart is an ecommerce software solution. Prior to 6.7.0, the admin orders-transactions listing page (admin.php?_g=orders&node=transactions) builds a raw ORDER BY SQL fragment from the attacker-controlled $_GET['sort'] array without column or direction validation. Both the column key and the direction value flow into the query string as bare SQL tokens, and the framework's sqlSafe() (mysqli escape_string) escapes only quote characters — none of which are required for ORDER BY injection. An authenticated administrator with the minimum CC_PERM_READ permission on orders can execute arbitrary SQL against the store database, including time-based blind extraction of admin password hashes, customer PII, and integrated payment-gateway credentials. This vulnerability is fixed in 6.7.0.

The record
Technical detail
CVSS v3.1
4.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00398 · 32.8th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-05-13T20:42Z
EPSS history
Timeline
  • 13 MAY 20:42Z
    CubeCart: Authenticated SQL Injection via `sort[]` Parameter in Admin Orders Transactions Listing
    cvelistv5