CubeCart: Authenticated SQL Injection via `sort[]` Parameter in Admin Orders Transactions Listing
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA v6 (cubecart) Fixed in 6.7.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45054
More cubecart vulnerabilities
- TI-2024-23117 Directory Traversal vulnerability in CubeCart v.6.5.5 and before allows an attacker to… CVSS 3.1CRITICAL 9.8
- TI-2026-33453 CubeCart: Server-Side Template Injection (SSTI) in Smarty Templates leading to RCE CVSS 3.1CRITICAL 9.1
- TI-2026-32902 CubeCart: Authenticated Arbitrary File Upload to RCE in REST Files API CVSS 3.1CRITICAL 9.1
- TI-2026-32334 CubeCart: Server-Side Template Injection (SSTI) in Smarty Templates leading to RCE CVSS 3.1CRITICAL 9.1
- TI-2026-32904 CubeCart: Pre-Authenticated Password Reset Link Poisoning via HTTP Host Header CVSS 3.1HIGH 8.1
- TI-2024-22066 File Upload vulnerability in CubeCart before 6.5.5 allows an authenticated user to… CVSS 3.1HIGH 8.0
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences