Lucene search
+L

CubeCart 6.7.4 - SQL

🗓️ 31 Aug 2026 00:00:00Reported by Mikail KOCADAĞType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 5 Views

Authenticated SQL injection in CubeCart 6.7.4 maintenance table name enabling arbitrary SQL.

Related
Code
ReporterTitlePublishedViews
Family
packetstorm
Packet Storm
CubeCart 6.7.4 SQL Injection
31 Aug 202600:00
packetstorm
# Exploit Title: CubeCart 6.7.4 - SQL
Bypass in maintenance.index.inc.php
# Date: 2026-06-08
# Exploit Author: Mikail Kocadağ
# Vendor Homepage: https://www.cubecart.com/
# Software Link: https://github.com/cubecart/v6
# Vulnerable Version: 6.7.4
# Fixed Version: 6.7.5
# CVE: CVE-2026-54646
# Advisory / References:
https://github.com/cubecart/v6/security/advisories/GHSA-qcx6-cg43-ffmx

--------------------------------------------------------------------------------
VULNERABILITY SUMMARY
--------------------------------------------------------------------------------
An authenticated administrative SQL injection vulnerability via identifier
injection
exists in the maintenance component of CubeCart 6.7.4.

In `admin/sources/maintenance.index.inc.php` at line 551, user-supplied
table names
from POST parameters are wrapped in backticks (`) and passed directly into
structural
SQL statements like `ALTER TABLE`, `CHECK TABLE`, or `ANALYZE TABLE`.

Because the global `htmlspecialchars` sanitizer does not alter backticks,
an attacker
can supply a closing backtick followed by SQL commands to perform arbitrary
database
operations.

--------------------------------------------------------------------------------
IMPACT
--------------------------------------------------------------------------------
An authenticated administrator can break out of the table identifier
enclosure
and execute arbitrary SQL statements. This can result in complete
compromise of
the database structure and data depending on the database user's privileges.

--------------------------------------------------------------------------------
PROOF OF CONCEPT (PoC)
--------------------------------------------------------------------------------
1. Log into the administration panel with database maintenance capabilities.
2. Navigate to Database Maintenance toolkit.
3. Select a database table action and inject a closing backtick within the
table name POST parameter:

   mytable`; [MALICIOUS_SQL]-- -

4. Submit the request to observe the execution of arbitrary SQL commands.

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation