{"id":"CVE-2026-45054","aliases":["CVE-2026-45054"],"related":[],"kind":"vulnerability","state":"published","title":"CubeCart: Authenticated SQL Injection via `sort[]` Parameter in Admin Orders Transactions Listing","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-05-13T20:42:56.106Z","modified":"2026-06-17T10:51:39.263Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"< 6.7.0","status":"affected"}],"vendor":"cubecart","product":"v6","source":"cvelist"}],"references":[{"url":"https://github.com/cubecart/v6/security/advisories/GHSA-rm2f-rpcq-6w9f","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-14T12:51:14.447Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45054","url":"https://www.cve.org/CVERecord?id=CVE-2026-45054","licence":"CVE Terms of Use","modified":"2026-05-14T12:51:18.199Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45054","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45054","licence":"Public domain","modified":"2026-06-17T10:51:39.263Z"}],"updatedAt":"2026-11-25T22:59:21.666Z","epss":{"score":0.00297,"percentile":0.24122,"date":"2026-12-01T12:00:22.000Z"}}