Description
The WooCommerce Lottery plugin for WordPress is vulnerable to Time-Based SQL Injection via 'orderby' and 'order' GET Parameters in all versions up to, and including, 2.2.9 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
wpgenie WooCommerce Lottery
Default version status: unaffected
0 to ≤ 2.2.9affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/26a34fd5-bfa2-4675-9451-ea742bd13fa3?source=cve ↗
- https://plugins.trac.wordpress.org/browser/woocommerce-lottery/trunk/public/class-wc-lottery-entry-list-tables.php#L162 ↗
- https://plugins.trac.wordpress.org/browser/woocommerce-lottery/trunk/public/class-wc-lottery-entry-list-tables.php#L164 ↗
- https://plugins.trac.wordpress.org/browser/woocommerce-lottery/trunk/public/class-wc-lottery-entry-list-tables.php#L174 ↗
- https://plugins.trac.wordpress.org/browser/woocommerce-lottery/trunk/public/class-wc-lottery-entry-list-tables.php#L212 ↗
- https://codecanyon.net/item/woocommerce-lottery-wordpress-prizes-and-lotteries/15075983#item-description__changelog ↗