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

Critical 10.0 Published Updated

Unauthenticated attackers can exploit SQL injection in the LearnPress plugin to extract sensitive database information via the archive-course REST API endpoint.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-8529?

CVE-2024-8529 is a critical SQL injection vulnerability in thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, published on 12 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to SQL Injection via the 'c_fields' parameter of the /wp-json/lp/v1/courses/archive-course 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.

Weakness: CWE-89

Which versions are affected by CVE-2024-8529?

It affects 1 product.

Products include Thimpress Learnpress.

How do I fix CVE-2024-8529?

No fix has been published for CVE-2024-8529 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2024-8529 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8529 exists.

Public exploit code: 1 Metasploit module, 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-98wp-w76v-f75p.

Is CVE-2024-8529 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free