A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
The LearnPress plugin for WordPress is vulnerable to SQL Injection via the 'orderby' parameter of the export_order_csv AJAX action in versions up to, and including, 4.4.4. This is due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query in the LP_Order::handle_params_query_list_orders() and DataBase::execute() functions — only the literal values 'date' and 'title' are normalized, while any other attacker-controlled string is assigned directly to the filter's order_by property and concatenated into the ORDER BY clause without $wpdb->prepare() or an identifier whitelist. This makes it possible for authenticated attackers, with administrator-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 products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- plugins.trac.wordpress.org /browser/learnpress/trunk/inc/Ajax/Order/ExportOrderCSVAjax…
- plugins.trac.wordpress.org /browser/learnpress/trunk/inc/Databases/DataBase.php
- plugins.trac.wordpress.org /browser/learnpress/trunk/inc/order/class-lp-order.php
- plugins.trac.wordpress.org /changeset
- www.wordfence.com /threat-intel/vulnerabilities/id/dfd960b6-34c9-48b0-9259-46…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning