Patchfirst
CVE-2024-8522 Public exploit Critical · 10.0 EPSS 62.9%

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

No fixed version listed yet.Check the vendor advisory. References ↓

thimpress · LearnPress – WordPress LMS Plugin for Create and Sell Online Courses

Summary

The LearnPress WordPress LMS plugin (LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, by thimpress) contains an SQL injection flaw in the 'c_only_fields' parameter of its /wp-json/learnpress/v1/courses REST API endpoint, where user input is insufficiently escaped and the underlying SQL query is not properly prepared. An unauthenticated remote attacker, with no user interaction or special configuration required, can append additional SQL queries to existing ones to extract sensitive information from the site's database.

Official description · CVE.org

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.

Breakdown
66.8 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited the day it was disclosed. Public exploit code (Metasploit) was available 1 day before disclosure.

  1. Public exploit codeMetasploit1 day before
  2. DisclosedFirst seen exploitedVulnCheck KEV evidenceday 0

Affected versions and fixes

as published in the CVE record

thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses

Affected: <= 4.2.7

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close