Skip to content

CVE-2024-8522 LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_only_fields'

HighCVSS 7.5 EPSS 62.9% Public exploit Scanner template
Published
Updated
Exploit status
Public exploit available
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
WordPress

Description

The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to SQL Injection via the 'c_only_fields' parameter of the /wp-json/learnpress/v1/courses REST API endpoint in all versions up to, and including, 4.2.7 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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
ThimPress LearnPress < 4.2.7; < 4.2.7.1 4.2.7, 4.2.7.1 Fixed
ThimPress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses <= 4.2.7 after 4.2.7 Fixed
wordpress learnpress(WordPress) < 4.2.7.1 4.2.7.1 Fixed

Affected products

ProductAffected versionsFixed in
ThimPress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses <= 4.2.7 No fix listed
ThimPress LearnPress < 4.2.7 4.2.7
ThimPress LearnPress < 4.2.7.1 4.2.7.1
wordpress learnpress(WordPress) < 4.2.7.1 4.2.7.1

References