CVE-2020-7916

LearnPress <= 3.2.6.6 - Privilege Escalation

2020-03-16 00:00
Anonymous

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
View all LearnPress – WordPress LMS Plugin for Create and Sell Online Courses vulnerabilities

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

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C