CVE-2024-8522 is an SQL Injection vulnerability in the LearnPress WordPress LMS Plugin, affecting all versions up to and including 4.2.7. The vulnerability exists in the /wp-json/learnpress/v1/courses REST API endpoint, specifically via the 'c_only_fields' parameter. Insufficient escaping and lack of proper SQL query preparation allow unauthenticated attackers to inject arbitrary SQL, potentially leading to unauthorized data access.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (2 hidden).
This repository contains a single Metasploit auxiliary scanner module targeting unauthenticated SQL injection vulnerabilities (CVE-2024-8522 and CVE-2024-8529) in the WordPress LearnPress plugin up to version 4.2.7. The module exploits time-based blind SQL injection via the 'c_only_fields' and 'c_fields' parameters on two REST API endpoints: '/learnpress/v1/courses' and '/wp-json/lp/v1/courses/archive-course'. The exploit does not require authentication and, if successful, extracts user credentials from the WordPress database. The code is written in Ruby and leverages Metasploit's HTTP and SQLi libraries. The repository is operational and suitable for confirming and exploiting the vulnerabilities in a controlled environment.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.