{"exploit":{"id":"EDB-52663","name":"Devellion CubeCart 6.7.4 - SQL","description":"Devellion CubeCart 6.7.4 - SQL","cves":["CVE-2026-54646"],"author":"Mikail KOCADAĞ","published":"2026-08-31","platform":"multiple","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/52663","path":"exploits/multiple/webapps/52663.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-52663.txt","vulnerabilities":[{"id":"CVE-2026-54646","state":"PUBLISHED","title":"CubeCart: SQL Identifier Injection via Backtick Bypass in maintenance.index.inc.php","titleSource":"CVE Program","description":"CubeCart is an ecommerce software solution. Prior to 6.7.5, admin/sources/maintenance.index.inc.php places administrator-controlled tablename values into ALTER TABLE, CHECK TABLE, and ANALYZE TABLE statements without validating the identifiers or escaping embedded backticks. An authenticated administrator can terminate the quoted identifier with a closing backtick and introduce attacker-controlled structural SQL, potentially compromising database confidentiality, integrity, and availability within the application's database privileges. This issue is fixed in version 6.7.5.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2026-54646","cvss":{"version":"3.1","baseScore":7.2,"severity":"high","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-54646"},"updatedAt":"2026-09-18T18:32:29.629Z","retrievedAt":"2026-11-25T16:13:47.049Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-52663.png?v=2","url":"https://exploitbin.com/exploits/EDB-52663","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-52663/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-52663/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: CubeCart 6.7.4 - SQL\nBypass in maintenance.index.inc.php\n# Date: 2026-06-08\n# Exploit Author: Mikail Kocadağ\n# Vendor Homepage: https://www.cubecart.com/\n# Software Link: https://github.com/cubecart/v6\n# Vulnerable Version: 6.7.4\n# Fixed Version: 6.7.5\n# CVE: CVE-2026-54646\n# Advisory / References:\nhttps://github.com/cubecart/v6/security/advisories/GHSA-qcx6-cg43-ffmx\n\n--------------------------------------------------------------------------------\nVULNERABILITY SUMMARY\n--------------------------------------------------------------------------------\nAn authenticated administrative SQL injection vulnerability via identifier\ninjection\nexists in the maintenance component of CubeCart 6.7.4.\n\nIn `admin/sources/maintenance.index.inc.php` at line 551, user-supplied\ntable names\nfrom POST parameters are wrapped in backticks (`) and passed directly into\nstructural\nSQL statements like `ALTER TABLE`, `CHECK TABLE`, or `ANALYZE TABLE`.\n\nBecause the global `htmlspecialchars` sanitizer does not alter backticks,\nan attacker\ncan supply a closing backtick followed by SQL commands to perform arbitrary\ndatabase\noperations.\n\n--------------------------------------------------------------------------------\nIMPACT\n--------------------------------------------------------------------------------\nAn authenticated administrator can break out of the table identifier\nenclosure\nand execute arbitrary SQL statements. This can result in complete\ncompromise of\nthe database structure and data depending on the database user's privileges.\n\n--------------------------------------------------------------------------------\nPROOF OF CONCEPT (PoC)\n--------------------------------------------------------------------------------\n1. Log into the administration panel with database maintenance capabilities.\n2. Navigate to Database Maintenance toolkit.\n3. Select a database table action and inject a closing backtick within the\ntable name POST parameter:\n\n   mytable`; [MALICIOUS_SQL]-- -\n\n4. Submit the request to observe the execution of arbitrary SQL commands.","sha256":"a3de55bb0182a07cd042424b6b7cfd1f366dfab30faeb6b3ab500c31b43b0319","bytes":2063,"fetchedAt":"2026-11-25T10:17:07.320Z","encoding":"utf-8 (display only; download retains original bytes)"}