Severity by source
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
Lifecycle Timeline
2DescriptionGitHub 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.
AnalysisAI
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.
Technical ContextAI
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.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-30171