Skip to main content

CubeCart CVE-2026-45054

| EUVDEUVD-2026-30171 MEDIUM
SQL Injection (CWE-89)
2026-05-13 GitHub_M
4.9
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid CubeCart admin credentials
  2. Delivery
    Authenticate to admin panel
  3. Exploit
    Navigate to orders-transactions listing endpoint
  4. Execution
    Inject SQL expression into sort GET parameter
  5. Persist
    Trigger time-based blind ORDER BY injection
  6. Impact
    Exfiltrate password hashes, PII, and payment credentials from database

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated CubeCart administrator account holding at minimum the CC_PERM_READ permission scoped to the orders module - this is the specific access control gate documented in the CVE description. The vulnerable endpoint is admin.php?_g=orders&node=transactions, which must be reachable over the network (AV:N). No non-default configuration is required beyond the attacker possessing valid admin credentials with orders read access. What limits exploitation: the PR:H CVSS designation confirms high-privilege authentication is mandatory, making this inaccessible to unauthenticated or low-privilege attackers; the SSVC 'Automatable: no' rating indicates the credential prerequisite prevents scripted mass scanning; and scope is unchanged (S:U), meaning the injection cannot pivot beyond the CubeCart database. Defenders should note that shared hosting environments where multiple CubeCart instances share a database user could expand the blast radius.

Impact

The CVSS score of 4.9 (medium) is well-calibrated for this vulnerability. The vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N reflects that while the attack is network-accessible and requires no user interaction, it demands high-privilege (administrator-level) authentication, which is a meaningful barrier. The confidentiality impact is rated High - consistent with the ability to exfiltrate password hashes, PII, and payment credentials - while integrity and availability are unaffected. The EPSS score of 0.03% at the 9th percentile indicates very low observed exploitation probability relative to the broader CVE population, suggesting this vulnerability has not attracted significant attacker interest. SSVC assessment (Exploitation: poc, Automatable: no, Technical Impact: partial) aligns with these signals: a POC exists but the requirement for valid admin credentials prevents automated mass exploitation. The primary real-world risk scenario is a malicious insider or a compromised admin account, not an opportunistic external attacker. The CVSS High confidentiality rating should not be dismissed - if admin credentials are obtained via phishing or credential stuffing, the SQL injection materially expands the blast radius beyond what the admin role alone would permit.

Exploit ScenarioDerived

An attacker who has obtained CubeCart administrator credentials - whether through phishing, credential stuffing against the admin login, or insider access - navigates to admin.php?_g=orders&node=transactions and appends a crafted sort parameter such as ?sort[IF(1=1,SLEEP(5),id)]=ASC. The server-side SQL query incorporates this expression without validation, causing the database to delay responses conditionally based on injected logic, enabling time-based blind extraction of the admin_user table (including bcrypt/MD5 password hashes) and payment gateway API keys stored in the database. A POC exists per SSVC data, meaning the technique is documented and replicable by moderately skilled attackers.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

SQL injection in CubeCart v6 prior to 6.7.0 allows an authenticated administrator to execute arbitrary SQL against the store database via the unsanitized ORDER BY clause on the admin transactions listing page. The admin.php orders-transactions endpoint passes attacker-controlled GET parameters directly into a raw SQL fragment, bypassing the platform's sqlSafe() function which only escapes quote characters - none of which are required for ORDER BY injection. An attacker with at minimum CC_PERM_READ permission on orders can leverage time-based blind SQL injection to extract admin password hashes, customer PII, and integrated payment-gateway credentials. No public exploit identified at time of analysis, though SSVC data indicates POC code exists; the EPSS score of 0.03% (9th percentile) reflects limited observed exploitation interest.

RemediationAI

The primary fix is to upgrade CubeCart to version 6.7.0, which is confirmed as the patched release per the vendor security advisory at https://github.com/cubecart/v6/security/advisories/GHSA-rm2f-rpcq-6w9f. If immediate upgrade is not possible, operators should apply the following specific compensating controls: restrict access to admin.php at the web server or WAF layer to trusted IP ranges only, which eliminates network-level access to the vulnerable endpoint while accepting the trade-off of reduced administrative flexibility for remote admins; audit and minimize the number of administrator accounts holding CC_PERM_READ on orders, since the vulnerability requires that specific permission; and deploy a WAF rule blocking GET parameters matching patterns consistent with SQL expressions in sort fields (e.g., SLEEP, IF, CASE tokens). These controls reduce exposure but do not eliminate the underlying flaw - upgrade to 6.7.0 remains the authoritative remediation.

Affected VersionsENISA

v6 < 6.7.0

Affected Packages

euvd v6 fix: 6.7.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CubeCart is a PHP-based ecommerce platform (CPE: cpe:2.3:a:cubecart:v6:*:*:*:*:*:*:*:*). The root cause is CWE-89 (Improper Neutralization of Special Elements in SQL Commands). The flaw lies specifically in the ORDER BY clause construction: user-supplied values from the $_GET['sort'] array - both the column key and the sort direction - are interpolated directly into the SQL query string as bare tokens. The framework's sqlSafe() wrapper calls mysqli_escape_string(), which escapes quote-delimiting characters but provides no defense against ORDER BY injection because the attack vector does not require quotes. An ORDER BY clause accepts arbitrary SQL expressions, enabling techniques such as conditional time delays (e.g., ORDER BY IF(1=1, SLEEP(5), id)) to blind-extract data one bit at a time. The absence of a column allowlist and direction validation (ASC/DESC) is the direct technical failure.

Know when Cubecart gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
May 13, 2026 - 22:03 EUVD

DescriptionGitHub Advisory

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2013-1465 CRITICAL POC
9.8 Feb 08

The Cubecart::_basket method in classes/cubecart.class.php in CubeCart 5.0.0 through 5.2.0 allows remote attackers to un

CVE-2024-34832 CRITICAL POC
9.8 Jun 06

Directory Traversal vulnerability in CubeCart v.6.5.5 and before allows an attacker to execute arbitrary code via a craf

CVE-2012-0865 MEDIUM POC
5.8 Feb 21

Multiple open redirect vulnerabilities in CubeCart 3.0.20 and earlier allow remote attackers to redirect users to arbitr

CVE-2024-33438 HIGH POC
8.0 Apr 29

File Upload vulnerability in CubeCart before 6.5.5 allows an authenticated user to execute arbitrary code via a crafted

CVE-2014-2341 MEDIUM POC
6.8 Apr 22

Session fixation vulnerability in CubeCart before 5.2.9 allows remote attackers to hijack web sessions via the PHPSESSID

CVE-2026-54647 HIGH POC
7.2 Sep 17

Authenticated SQL injection in CubeCart before 6.7.5 allows an administrator with access to the admin settings page to m

CVE-2015-6928 MEDIUM POC
6.8 Sep 28

classes/admin.class.php in CubeCart 5.2.12 through 5.2.16 and 6.x before 6.0.7 does not properly validate that a passwor

CVE-2025-59413 MEDIUM POC
6.5 Sep 22

CubeCart is an ecommerce software solution. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable

CVE-2026-54644 MEDIUM POC
6.1 Sep 17

Reflected cross-site scripting in CubeCart versions prior to 6.7.5 allows unauthenticated remote attackers to execute Ja

CVE-2026-44376 MEDIUM POC
6.1 May 13

Reflected XSS in CubeCart v6 (prior to 6.7.0) enables unauthenticated remote attackers to execute arbitrary JavaScript i

CVE-2025-59411 MEDIUM POC
5.4 Sep 22

CubeCart is an ecommerce software solution. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable

CVE-2025-59412 MEDIUM POC
5.4 Sep 22

CubeCart is an ecommerce software solution. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy