PT-2024-24416 · WordPress · Shopping Cart & Ecommerce Store
Krzysztof Zając
·
Published
2024-04-12
·
Updated
2024-04-12
·
CVE-2024-3211
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
The Shopping Cart & eCommerce Store plugin for WordPress versions up to, and including, 5.6.3
Description
The issue arises from insufficient escaping on the user-supplied
productid attribute of the ec addtocart shortcode and lack of sufficient preparation on the existing SQL query, making it possible for authenticated attackers with contributor-level access and above to append additional SQL queries into already existing queries. This can be used to extract sensitive information from the database.Recommendations
For versions up to, and including, 5.6.3, update to a version that includes a fix for this issue to prevent SQL injection attacks.
As a temporary workaround, consider restricting access to the ec addtocart shortcode for users with contributor-level access and above until a patch is available.
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Shopping Cart & Ecommerce Store