SQL injection in PrestaShop Custom Product Designer 2.1.4
CVE-2023-27638 is a SQL injection vulnerability in version 2.1.4 of the tshirtecommerce component, also known as Custom Product Designer, for PrestaShop. A forged HTTP request containing a manipulated tshirtecommerce_design_cart_id GET parameter can exploit insecure parameter handling in the hookActionCartSave and updateCustomizationTable functions. Exploitation in the wild was reported in March 2023.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Exploitation can lead to SQL injection in the PrestaShop component's database operations. The specific effects on database confidentiality, integrity, and availability are not established.
If you can’t patch tonight, do this now.
If an immediate patch is not available, disable or remove the vulnerable tshirtecommerce component, or restrict access to functionality that processes the tshirtecommerce_design_cart_id parameter. Apply virtual patching through a WAF or reverse proxy to block malicious requests targeting that parameter, enforce strict input validation for numeric cart identifiers, and monitor logs and database activity for signs of exploitation. Because exploitation in the wild was reported, incident response review and compromise assessment are advisable on exposed systems.
Patch, then assume compromise.
Upgrade the tshirtecommerce (Custom Product Designer) component to a fixed version if one is available from the vendor. Review and patch the vulnerable code paths in hookActionCartSave and updateCustomizationTable so that the tshirtecommerce_design_cart_id parameter is strictly validated, type-checked, and only used in parameterized queries or properly escaped database operations. Conduct a code review for similar unsafe handling of request parameters elsewhere in the component.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.