Executive brief
CubeCart is an e-commerce platform used to manage online stores. A security flaw allows attackers to manipulate the links sent in official store emails, such as password reset requests. By tricking a user or administrator into clicking a link in one of these forged emails, an attacker can steal their login credentials and take full control of their account or the entire online store.
Technical details
CubeCart (versions 6.6.x to 6.7.1) improperly constructs the 'CC_STORE_URL' constant using the 'Host' HTTP request header without validation during bootstrap. An unauthenticated attacker can provide a malicious Host header (e.g., evil.com) when triggering a password reset request via '/index.php?_a=recover'. The application then generates a legitimate verification token but embeds it into a URL pointing to the attacker's domain within the transactional email sent to the victim. If the victim clicks the link, the attacker captures the valid token, which can be used against the real store to reset the password and achieve full account or administrative takeover. This issue is fixed in version 6.7.2.
Affected products
- CubeCart CubeCart 6.6.0 - 6.7.1
Timeline
- 2026-05-12: advisory: GitHub Security Advisory published
- 2026-05-13: disclosed: CVE published to NVD
- 2026-05-13: patched: Fix released in version 6.7.2