LearnPress <= 4.2.6.8.2 - Authenticated (Subscriber+) Insecure Direct Object Reference
Strategic Overview
- Status
- Patched in 4.2.6.9
- Affected Version
<= 4.2.6.8.2- CVSS
- 5.4Medium
- Weakness type
- CWE-639 · Authorization Bypass Through User-Controlled Key
- CVE
CVE-2024-39642
At a glance
CVE-2024-39642 is a medium-severity Authorization Bypass Through User-Controlled Key vulnerability in the LearnPress WordPress plugin, affecting versions <= 4.2.6.8.2. It carries a CVSS score of 5.4 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Subscriber level or above. The issue is fixed in version 4.2.6.9; sites on affected versions should update now. Disclosed August 2024, reported by Rafie Muhammad.
Vulnerability Overview
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 4.2.6.8.2 due to missing validation on a user controlled key. This makes it possible for authenticated attackers, with subscriber-level access and above, to perform an unauthorized action.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-639: Authorization Bypass Through User-Controlled Key
Reaching this weakness in LearnPress <= 4.2.6.8.2 takes an account at Subscriber level or above. Authorization bypass through a user-controlled key, often called insecure direct object reference, means the application looks up a record by an identifier from the request without checking that the caller owns it.
Changing a number in the request is enough to read or modify other users' records, which on commerce and membership sites means customer data. For LearnPress the fix is 4.2.6.9: builds <= 4.2.6.8.2 are affected, anything from 4.2.6.9 onward is not.
Remediation
Update to version 4.2.6.9, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: LearnPress 4.2.6.9 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses
- 10.0CVE-2024-8529: LearnPress – WordPress LMS Plugin SQL Injection
CVE-2024-8529 - 10.0CVE-2024-8522: LearnPress – WordPress LMS Plugin SQL Injection
CVE-2024-8522 - 9.8CVE-2024-4434: LearnPress – WordPress LMS Time-Based SQL Injection
CVE-2024-4434 - 9.8CVE-2023-6567: LearnPress <= 4.2.5.7 SQL Injection
CVE-2023-6567 - 9.8CVE-2022-45808: LearnPress <= 4.1.7.3.2 SQL Injection
CVE-2022-45808 - 9.8CVE-2022-47615: LearnPress <= 4.1.7.3.2 Local File Inclusion
CVE-2022-47615 - 9.8CVE-2022-3360: LearnPress <= 4.1.7.1 PHP Object Injection
CVE-2022-3360 - 9.8CVE-2021-24951: LearnPress <= 4.1.3 SQL Injection
CVE-2021-24951
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C