Unauthenticated SQL Injection Vulnerability in LearnPress LMS Plugin
CVE-2024-8522

7.5HIGH

Key Information:

Vendor
Wordpress
Vendor
CVE Published:
12 September 2024

Badges

πŸ‘Ύ Exploit Exists🟑 Public PoC

Summary

The LearnPress plugin for WordPress, designed for Learning Management Systems (LMS), is susceptible to SQL injection attacks through the 'c_only_fields' parameter in the /wp-json/learnpress/v1/courses REST API endpoint. This vulnerability arises from inadequate escaping of user-supplied parameters, combined with insufficient preparation in the SQL query. As a result, unauthenticated attackers can append malicious SQL queries to existing ones, potentially compromising database security and allowing unauthorized access to sensitive information.

Affected Version(s)

LearnPress – WordPress LMS Plugin * <= 4.2.7

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • 🟑

    Public PoC available

  • πŸ‘Ύ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

abrahack
.