CVE-2026-77823
Vulnérabilité moyenne dans LearnPress – WordPress LMS Plugin for Create and Sell Online Courses (thimpress)
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.
Gravité et risque d'exploitation
CVE-2026-77823 obtient un score CVSS de 4.9/10, soit une gravité moyenne. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.44 %, ce qui la place devant 37.0 % des CVE référencées.
Que faire ?
- Vérifiez si LearnPress – WordPress LMS Plugin for Create and Sell Online Courses (versions 0, <=4.4.4) est présent sur votre parc.
- Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
- À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
- Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.
Références
- https://www.wordfence.com/threat-intel/vulnerabilities/id/dfd960b6-34c9-48b0-9259-46da50754956?source=cve
- https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/Databases/DataBase.php#L600
- https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/order/class-lp-order.php#L1542
- https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/Ajax/Order/ExportOrderCSVAjax.php#L41
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3659942%40learnpress&new=3659942%40learnpress
