CVE-2024-8522: LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_only_fields'
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to SQL Injection via the 'conlyfields' 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-8522?
The severity of CVE-2024-8522 is classified as critical due to the potential for SQL Injection attacks.
How do I fix CVE-2024-8522?
To fix CVE-2024-8522, update the LearnPress – WordPress LMS Plugin to version 4.2.7.1 or later.
What versions of LearnPress are affected by CVE-2024-8522?
CVE-2024-8522 affects all versions up to and including 4.2.7 of the LearnPress plugin.
What impact does CVE-2024-8522 have on my WordPress site?
CVE-2024-8522 allows attackers to perform SQL Injection, which can lead to unauthorized access to your WordPress database.
Is there a public exploit for CVE-2024-8522?
As of now, there is no known public exploit specifically for CVE-2024-8522, but the potential for SQL Injection poses a significant risk.