Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain/hijack admin session
-
ExploitSubmit settings form with comma-delimited download_expire payload
-
ExecutionSQL injected into UPDATE SET clause
-
ImpactManipulate arbitrary DB columns within app privileges
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 | Requires an authenticated CubeCart administrator session with access to the admin settings page (admin/sources/settings.index.inc.php); the attacker submits the download_expire POST parameter as a comma-delimited value that breaks out of the intended numeric SET assignment because HTML sanitization does not neutralize SQL syntax. Limiting factors: exploitation is gated behind administrator privileges (PR:H) - it is not exploitable by anonymous or low-privileged users - and affects only CubeCart versions prior to 6.7.5. No user interaction beyond the attacker's own form submission is needed, and the injection runs with the application database user's privileges. |
| Impact | This is an authenticated-administrator SQL injection (CWE-89) in CubeCart's settings handler, where the download_expire POST parameter is concatenated into a raw UPDATE against CubeCart_downloads without numeric validation. The provided CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (7.2 HIGH) is internally consistent with the description: network reachable, low complexity, but requiring high privileges (a valid admin session). Publicly available exploit code exists (Exploit-DB 52664) and the fix commit (af7def4d) is confirmed, which raises reproducibility, but this is NOT confirmed actively exploited - no CISA KEV listing and no EPSS/SSVC data was supplied. The key mitigating reality is the PR:H gate: an attacker must already hold administrator credentials, and an admin already has extensive legitimate control over the application's database through the panel, so the marginal escalation is manipulation of columns/data reachable via the app's DB user beyond the normal admin UI, rather than a privilege breakout from an unauthenticated position. Treat this as a real-but-gated priority: patch-worthy given a public PoC and confirmed fix, but not an internet-facing unauthenticated emergency. No signals conflict; the main caveat is that impact scores (C:H/I:H/A:H) assume the admin gains DB access materially broader than the panel already grants. |
| Exploit ScenarioDerived | An authenticated CubeCart administrator (or an attacker who has phished/hijacked an admin session) submits the download settings form with a crafted comma-delimited download_expire value that HTML sanitization does not neutralize, injecting additional SQL into the UPDATE SET clause. Public exploit code (Exploit-DB 52664) demonstrates the injection, letting the attacker alter arbitrary database columns within the application's DB privileges. Because AC is low and the payload is a simple POST parameter, exploitation is trivially reproducible once admin access is held. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 17, 2026
Authenticated SQL injection in CubeCart before 6.7.5 allows an administrator with access to the admin settings page to manipulate database columns by submitting a comma-delimited download_expire value that is concatenated into a raw UPDATE against CubeCart_downloads without numeric validation; publicly available exploit code exists, and the issue is rated CVSS 7.2 with vector PR:H and CWE-89. Successful exploitation can alter data within the application's database privileges, though it requires an authenticated admin session and no anonymous or low-privileged access, and the issue is fixed in version 6.7.5.
RemediationAI
Upgrade to CubeCart 6.7.5, which casts the download_expire and download_expire_old parameters to integers (commit af7def4d279f7cefb23c1009a987737c16a105da); vendor-released patch: 6.7.5. See https://github.com/cubecart/v6/releases/tag/6.7.5 and https://github.com/cubecart/v6/security/advisories/GHSA-hvmw-v8gc-4c29. If immediate upgrade is not possible, restrict access to the admin panel to trusted networks and enforce least privilege on administrator accounts, understanding that a compromised admin session still permits the injection. A web application firewall rule can block comma characters in download_expire or download_expire_old POST values, but this is fragile because legitimate settings may use commas and POST inspection may not cover all deployments, while the only complete fix remains applying the 6.7.5 update.
Affected VersionsENISA
Affected Packages
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 application. The vulnerable code path is the admin settings handler at admin/sources/settings.index.inc.php, which builds an UPDATE statement for the CubeCart_downloads table by directly concatenating the administrator-controlled download_expire POST parameter without numeric validation. HTML sanitization applied elsewhere in the request does not neutralize SQL syntax such as commas, so an authenticated administrator can break out of the intended numeric SET assignment and inject additional column assignments or clauses, a classic CWE-89 improper neutralization of special elements used in an SQL command. The upstream fix in commit af7def4d279f7cefb23c1009a987737c16a105da casts both download_expire and download_expire_old to integers, confirming the root cause is missing type enforcement rather than a logic flaw.
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
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Network-reachable admin panel with a trivial POST payload gives AV:N/AC:L, but a valid administrator session is required so PR:H; SQL injection allows read/write/delete within the DB user's scope, so C/I/A:H.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
CubeCart is an ecommerce software solution. Prior to 6.7.5, admin/sources/settings.index.inc.php directly concatenates the administrator-controlled download_expire POST parameter into a raw UPDATE statement for CubeCart_downloads without numeric validation. An authenticated administrator can supply a comma-delimited value that changes the SET clause because HTML sanitization does not neutralize SQL syntax, allowing manipulation of database columns and potentially other data within the application's database privileges. This issue is fixed in version 6.7.5.
Technical POC Analysis
CWE-89 (improper neutralisation of special elements in an SQL command).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 public PoC link from exploitdb
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
CubeCart's administrative settings interface is affected by an authenticated SQL injection vulnerability (CVE-2026-54647) that allows a malicious administrator to manipulate database columns via the download_expire parameter, potentially compromising data integrity. Publicly available exploit code exists, lowering the barrier for exploitation by insiders or attackers who have compromised an admin account. With no vendor-released patch identified at time of analysis and a fix noted for version 6.7.5, leadership should prioritize upgrading to 6.7.5 when available and immediately tighten admin access controls.
Enforce least privilege for admin accounts, enable multi-factor authentication, monitor and alert on changes to download_expire and CubeCart_downloads table, restrict admin panel access to trusted IP ranges, and deploy database activity monitoring. Consider WAF rules to block suspicious input in download_expire.
Threat Model
5 threats: Tampering, Elevation of Privilege, Information Disclosure and 2 more
6-step attack chain with trust boundaries and controls
Full threat model - attack chain, trust boundaries, controls per stage and evidence - is part of the Pro and Business plans.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
The Cubecart::_basket method in classes/cubecart.class.php in CubeCart 5.0.0 through 5.2.0 allows remote attackers to un
Directory Traversal vulnerability in CubeCart v.6.5.5 and before allows an attacker to execute arbitrary code via a craf
Multiple open redirect vulnerabilities in CubeCart 3.0.20 and earlier allow remote attackers to redirect users to arbitr
File Upload vulnerability in CubeCart before 6.5.5 allows an authenticated user to execute arbitrary code via a crafted
Session fixation vulnerability in CubeCart before 5.2.9 allows remote attackers to hijack web sessions via the PHPSESSID
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
CubeCart is an ecommerce software solution. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable
Reflected cross-site scripting in CubeCart versions prior to 6.7.5 allows unauthenticated remote attackers to execute Ja
Reflected XSS in CubeCart v6 (prior to 6.7.0) enables unauthenticated remote attackers to execute arbitrary JavaScript i
CubeCart is an ecommerce software solution. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable
CubeCart is an ecommerce software solution. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable
Cubecart 6.4.2 allows Session Fixation. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, lo
EUVD-2026-82528
NVD
CVE.org
EPSS
Exploit-DB
GitHub
VulDB