SQL Injection in Thimpress Learnpress

CVE-2024-8522

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.

Vulnerability class: SQL Injection

EPSS: 0.629 (99.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-8522?
CVE-2024-8522 is a critical-severity vulnerability in Thimpress Learnpress, classified under SQL Injection. CVSS score: 10.0/10. Published 2024-09-12.
How severe is CVE-2024-8522?
Critical severity. CVSS v3 base score is 10.0 out of 10.
Is CVE-2024-8522 known to be exploited?
22 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.