Skip to main content
← All vulnerabilities
CVE-2024-8522

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

Published
Last modified
published
Not listed in CISA KEV
1 on Exploit-DB, 1 Metasploit module, 1 proof of concept on GitHub, 1 Nuclei template
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Public exploit on Exploit-DB

    EDB-52171

  4. Record last updated
  5. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

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

    through 4.2.7

References 8

wordfence.com

plugins.trac.wordpress.org

abrahack.com

Exploit-DB

GitHub · rapid7/metasploit-framework

GitHub · projectdiscovery/nuclei-templates

GitHub · Avento/CVE-2024-8522