SecurityOnlineDo Son
CubeCart confirms active exploitation of RCE flaw
CubeCart has disclosed two critical flaws in its sixth major release, with active exploitation observed for the remote code execution (RCE) flaw and a high-severity SQL injection vulnerability in storefront search. In advisory GHSA-86w8-pwv3-4vph, CubeCart confirms live raids on 2 December 2026 targeting a shop running v6.7.5, where attackers edited copyright text, executed server commands and planted web shells in images/, before restoring the original copyright text to conceal activity.
Concurrently, advisory GHSA-jfqc-r63w-28cp, reported by p-w, describes an unauthenticated SQL injection in the search handler that builds an ORDER BY clause from user-supplied sort parameters, allowing access to customer data, password hashes and API keys when the sorting key contains spaces or dots. Neither CVE IDs are yet published for these flaws in the article, though CVSS 7.5 is noted for the SQLi.
Affected versions are explicitly listed: the RCE affects CubeCart 6.6.0 through 6.8.6 and is fixed in 6.8.7, while the SQL injection affects 6.5.12 through 6.8.6 and is fixed in 6.8.7. The article details the RCE mechanism as a pre-auth PHP object injection vector that exploits a fallback in session deserialisation, enabling remote command execution via a forged Config object that writes a Smarty template into config.store_copyright and runs OS commands.
The SQLi is described as unauthenticated and precludes proper escaping in the raw database query when sorting input contains spaces or dots. Mitigation steps include upgrading to CubeCart 6.8.7 or applying a hotfix to Session::_decodePhpSession() and tightening header filtering, with guidance to audit images/ for rogue shells.