Strategic Overview
- Status
- Patched in 3.2.6.8
- Affected Version
<= 3.2.6.6- CVSS
- 7.1High
- Weakness type
- CWE-269 · Improper Privilege Management
- CVE
CVE-2020-7916
At a glance
CVE-2020-7916 is a high-severity Improper Privilege Management vulnerability in the LearnPress WordPress plugin, affecting versions <= 3.2.6.6. It carries a CVSS score of 7.1 (reachable over the network; low attack complexity; high confidentiality impact). The issue is fixed in version 3.2.6.8; sites on affected versions should update now. Disclosed March 2020.
Vulnerability Overview
be_teacher in class-lp-admin-ajax.php in the LearnPress plugin 3.2.6.5 and earlier for WordPress allows any registered user to assign itself the teacher role via the wp-admin/admin-ajax.php?action=learnpress_be_teacher URI without any additional permission checks. Therefore, any user can change its role to an instructor/teacher and gain access to otherwise restricted data.
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. A successful exploit has high impact on confidentiality.
CWE-269: Improper Privilege Management
Reaching this weakness in LearnPress <= 3.2.6.6 takes a caller who can reach the endpoint. Improper privilege management means the code lets an account end up with capabilities its role should not have.
It converts a low-privileged account into an administrative one, which makes every other restriction on the site irrelevant. For LearnPress the fix is 3.2.6.8: builds <= 3.2.6.6 are affected, anything from 3.2.6.8 onward is not.
Remediation
Update to version 3.2.6.8, 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 3.2.6.8 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