Goal Reached Thanks to every supporter β€” we hit 100%!

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

CVE-2024-8522 β€” AI Deep Analysis Summary

CVSS 10.0 Β· Critical

Q1What is this vulnerability? (Essence + Consequences)

🚨 **Essence**: Unauthenticated SQL Injection in LearnPress REST API. πŸ’₯ **Consequences**: Attackers can extract sensitive DB data, create admin accounts, and gain full system control.…

Q2Root Cause? (CWE/Flaw)

πŸ›‘οΈ **CWE-89**: SQL Injection. πŸ” **Root Cause**: Insufficient escaping of user-supplied parameters (`c_only_fields`) and lack of prepared statements in existing SQL queries within the REST API endpoint.

Q3Who is affected? (Versions/Components)

🏒 **Vendor**: ThimPress. πŸ“¦ **Product**: LearnPress – WordPress LMS Plugin. πŸ“… **Affected**: Versions **4.2.7 and earlier**. 🌐 **Platform**: WordPress sites using this plugin.

Q4What can hackers do? (Privileges/Data)

πŸ•΅οΈ **Privileges**: Unauthenticated access required. πŸ“Š **Data**: Extract sensitive database info. πŸ‘‘ **Action**: Create new admin users via SQLi, leading to full website compromise and system access.

Q5Is exploitation threshold high? (Auth/Config)

⚑ **Threshold**: LOW. 🚫 **Auth**: None required (Unauthenticated). 🌍 **Config**: Remote exploitation via REST API (`/wp-json/learnpress/v1/courses`). Easy to exploit for anyone.

Q6Is there a public Exp? (PoC/Wild Exploitation)

βœ… **Yes**. Public POCs available on GitHub (e.g., `realbotnet`, `Avento`). πŸ“œ **Details**: Exploits `c_only_fields` parameter. Nuclei templates also exist for automated scanning. CVSS Score: 10.0.

Q7How to self-check? (Features/Scanning)

πŸ” **Check**: Scan for LearnPress plugin version ≀ 4.2.7. πŸ§ͺ **Test**: Target `/wp-json/learnpress/v1/courses` with SQLi payloads in `c_only_fields`.…

Q8Is it fixed officially? (Patch/Mitigation)

πŸ”§ **Fix**: Upgrade to version **4.2.7.1** or later. πŸ“ **Patch**: Official changeset 3148560 addresses the escaping and query preparation issues in `class-lp-rest-courses-v1-controller.php`.

Q9What if no patch? (Workaround)

🚧 **Workaround**: If patching is delayed, restrict REST API access via WAF rules. πŸ›‘ **Block**: Filter malicious payloads targeting `c_only_fields` in the LearnPress REST endpoint. Disable plugin if not in use.

Q10Is it urgent? (Priority Suggestion)

πŸ”₯ **Priority**: CRITICAL. 🚨 **Urgency**: Immediate action required. CVSS 10.0 + Unauthenticated + Public POCs = High risk of active exploitation. Patch immediately to prevent data breach and admin takeover.