LearnPress โ€“ WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_fields'

10.0
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2024-8529
CVSS 10.0 (Critical)
Publicly Published September 11, 2024
Last Updated September 12, 2024
Researcher abrahack

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.

References

Share

Vulnerability Details for LearnPress โ€“ WordPress LMS Plugin

Software Type Plugin
Software Slug learnpress (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.2.7.1, or a newer patched version
Affected Version
  • <= 4.2.7
Patched Version
  • 4.2.7.1

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation