Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-8522 PoC — LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_only_fields'

Source
Associated Vulnerability
Title:LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_only_fields' (CVE-2024-8522)
Description: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.
Description
POC Wordpress SQL Injection vulnerability  LearnPress REST API endpoint 
Readme
# CVE-2024-8522 - Contact <a href="https://t.me/bl4ckhatx" target="_blank">@bl4ckhatx</a> Tool is available for purchase. 
POC Wordpress SQL Injection vulnerability  LearnPress REST API endpoint Contact:  <a href="https://t.me/bl4ckhatx" target="_blank">@bl4ckhatx</a>

# With SQJ Injection, a new admin user can be created and the target website can be access full system. 
Contact:  <a href="https://t.me/bl4ckhatx" target="_blank">@bl4ckhatx</a>
🚨🚨CVE-2024-8522 (CVSS: 10) : LearnPress - WordPress LMS Plugin Unauthenticated SQL Injection
⚠️The vulnerability resides in the LearnPress REST API endpoint, specifically in the handling of the ‘c_only_fields’ parameter. Insufficient escaping and inadequate preparation of SQL queries allow attackers to inject malicious SQL code.

ZoomEye Dork👉app:"WordPress LearnPress"
Contact:  <a href="https://t.me/bl4ckhatx" target="_blank">@bl4ckhatx</a>
https://www.zoomeye.hk/searchResult?q=app%3A%22WordPress%20LearnPress%22&from=5o6o54m5MjQwOTEyMDM=
File Snapshot

[4.0K] /data/pocs/9de3f0b13b7563c5a6af3a51604ed4308ff6f422 └── [1011] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →