PT-2020-19845 · Thimpress · Learnpress

Published

2020-03-16

·

Updated

2020-03-20

·

CVE-2020-7916

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions LearnPress plugin versions 3.2.6.5 and earlier
Description The issue allows any registered user to assign itself the teacher role via the "wp-admin/admin-ajax.php?action=learnpress be teacher" API endpoint without any additional permission checks. This enables any user to change its role to an instructor/teacher and gain access to otherwise restricted data.
Recommendations For LearnPress plugin versions 3.2.6.5 and earlier, consider disabling the be teacher function in class-lp-admin-ajax.php until a patch is available to prevent unauthorized role changes. Restrict access to the wp-admin/admin-ajax.php?action=learnpress be teacher API endpoint to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Improper Privilege Management

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-7916

Affected Products

Learnpress