Skip to main content

CubeCart EUVDEUVD-2026-30175

| CVE-2026-45708 HIGH
Code Injection (CWE-94)
2026-05-13 GitHub_M
7.2
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Recon
    Obtain admin account with documents-edit rights
  2. Delivery
    Inject PHP payload into Invoice Editor template
  3. Exploit
    Trigger Print on any order
  4. Install
    Webshell written to files/print.<md5>.php
  5. C2
    Unauthenticated GET to print.<md5>.php URL
  6. Execute
    Execute commands as webserver user
  7. Impact
    Pivot to full store and database compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

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

Exploitation Conditions

Requires a CubeCart v6 instance prior to 6.7.3 with the default-shipped files/.htaccess containing the '<Files print.*.php> allow from all' carve-out and the Apache PHP handler enabled for the files/ directory. The attacker must hold an admin account with the 'documents edit' permission (CVSS PR:H) sufficient to modify the Invoice Editor template, and a second precondition is that some admin subsequently clicks 'Print' on any order to materialize the file - the CVE description states the trigger is 'any admin', so an attacker can self-trigger if their account also has order-print access. Once written, fetching the resulting files/print.<md5>.php URL needs no authentication (PR:N at fetch time). Limiting factors: PR:H admin credential, the second-stage Print click, and any non-default web-server config that disables PHP execution under files/.

Impact

Signals diverge: CVSS 7.2 is driven by Confidentiality/Integrity/Availability=High with AV:N/AC:L but PR:H, reflecting the need for a high-privilege admin account to inject the payload - yet the resulting payload is executable by AV:N/PR:N unauthenticated visitors, so the post-exploitation reach is broader than the score suggests. EPSS at 0.04% (13th percentile) and absence from CISA KEV indicate no observed mass exploitation, and SSVC marks Automatable=no, consistent with a two-stage flow requiring an admin trigger ('Print'). However, SSVC Technical Impact=total and confirmed POC mean any compromised or malicious sub-admin yields full webshell on the store, making this a high-priority patch for multi-admin deployments and lower-priority for single-admin shops. Note also that exploitation depends on a second admin clicking Print, which the CVSS vector does not cleanly capture.

Exploit ScenarioDerived

An attacker who has obtained - via phishing, credential reuse, or insider access - an admin account holding 'documents edit' permission opens the Invoice Editor and saves a template containing '<?php system($_GET["c"]); ?>'. When any administrator next clicks Print on an order, the malicious payload is written to files/print.<md5>.php; the attacker (or any unauthenticated visitor with the URL) then fetches /files/print.<md5>.php?c=id and executes arbitrary commands as the webserver user. A POC is referenced by SSVC (Exploitation: poc) but no widespread weaponization is reported.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

Authenticated remote code execution in CubeCart v6 prior to 6.7.3 allows an admin with documents-edit permission to embed raw PHP into the Invoice Editor template, which is later written to a predictable files/print.<md5>.php path that the bundled .htaccess explicitly exposes to unauthenticated visitors. SSVC rates technical impact as total and a POC exists, though EPSS remains very low (0.04%) and the issue is not on CISA KEV - no public exploit identified at time of analysis beyond researcher disclosure.

RemediationAI

Vendor-released patch: upgrade to CubeCart 6.7.3 or later, per GHSA-747j-4mmc-cj63 (https://github.com/cubecart/v6/security/advisories/GHSA-747j-4mmc-cj63). If immediate upgrade is not possible, remove or tighten the '<Files print.*.php> allow from all' block in files/.htaccess so that .php files in files/ are not served - note this will break legitimate print-preview retrieval until patched; alternatively configure the webserver to refuse PHP execution under files/ entirely (AddHandler/SetHandler override or php_flag engine off), and audit existing files/print.*.php artifacts for backdoors. As an interim access-control measure, revoke 'documents edit' permission from all but trusted administrators and rotate admin credentials, accepting the loss of template self-service for those users.

Affected VersionsENISA

v6 < 6.7.3

Affected Packages

euvd v6 fix: 6.7.3

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 open-source ecommerce platform whose Invoice Editor stores admin-supplied template HTML and renders it server-side when an order is printed. The rendered output is materialized to disk inside the public files/ directory using an MD5-hashed name, and the shipped files/.htaccess contains a deliberate <Files print.*.php> 'allow from all' carve-out - intended to permit print artifacts but in practice allowing any *.php file matching that pattern to be served and executed by the PHP handler. Combined with the lack of output sanitization on '<?php ... ?>' fragments, this is a textbook CWE-94 code-injection sink: attacker-controlled template content reaches eval-equivalent semantics through the PHP interpreter. Affected CPE is cpe:2.3:a:cubecart:v6:*.

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 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

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
High
Availability
High

Lifecycle Timeline

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

DescriptionGitHub Advisory

CubeCart is an ecommerce software solution. Prior to 6.7.3, an admin with documents edit permission can save raw <?php … ?> into the Invoice Editor. The next time any admin clicks Print on any order, the rendered template is written to files/print.<md5>.php. files/.htaccess ships an explicit <Files print.*.php> allow from all </Files> carve-out, so the file is fetched and executed by any unauthenticated visitor. This vulnerability is fixed in 6.7.3.

Executive ViewAI

Why It Matters

CubeCart v6 prior to version 6.7.3 contains a remote code execution vulnerability exploitable by administrator-level users with documents-edit permissions. Compromised or malicious admin accounts could execute arbitrary code and fully compromise the platform and underlying server infrastructure. Organizations operating affected CubeCart versions face material risk of data breach, service disruption, and customer impact.

Business Impact: High
Compensating Controls

Apply vendor patch: CubeCart 6.7.3 or later.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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