CVE-2024-3211
Description
The Shopping Cart & eCommerce Store plugin for WordPress is vulnerable to SQL Injection via the 'productid' attribute of the ec_addtocart shortcode in all versions up to, and including, 5.6.3 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Affected WordPress components
-
Shopping Cart & eCommerce Store Plugin · wp-easycartUp to and including 5.6.3View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- levelfourstorefront Shopping Cart & eCommerce Store — Up to and including 5.6.3
- wp_easycart shopping_cart_and_ecommerce_store — Up to and including 5.6.3
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3068711/wp-easycart/trunk/wpeasycart.php
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/576ca901-45e2-4e6d-9bc4-370bf1f68077?source=cve
- nvd.nist.gov Official NVD record