8.8
HIGH CVSS 3.1
CVE-2020-14321
Moodle Role Escalation Vulnerability
Description

In Moodle before 3.9.1, 3.8.4, 3.7.7 and 3.5.13, teachers of a course were able to assign themselves the manager role within that course.

INFO

Published Date :

Aug. 16, 2022, 9:15 p.m.

Last Modified :

Nov. 21, 2024, 5:03 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2020-14321 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Moodle moodle
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Public PoC/Exploit Available at Github

CVE-2020-14321 has a 8 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2020-14321.

URL Resource
https://moodle.org/mod/forum/discuss.php?d=407393 Patch Vendor Advisory
https://moodle.org/mod/forum/discuss.php?d=407393 Patch Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-14321 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2020-14321 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Сканування за допомогою ПЗ Badmoodle системи дистанційного навчання ДУІТЗ

Updated: 1 year, 2 months ago
0 stars 0 fork 0 watcher
Born at : June 19, 2024, 7:56 a.m. This repo has been linked 181 different CVEs too.

None

Updated: 4 months, 3 weeks ago
9 stars 1 fork 1 watcher
Born at : June 21, 2022, 7:45 a.m. This repo has been linked 944 different CVEs too.

Modified Moodle exploit for privilege escalation (Dorvack)

Python

Updated: 4 months, 2 weeks ago
2 stars 0 fork 0 watcher
Born at : Feb. 1, 2022, 6:29 p.m. This repo has been linked 1 different CVEs too.

Python script to exploit CVE-2020-14321 - Moodle 3.9 - Course enrollments allowed privilege escalation from teacher role into manager role to RCE.

moodle rce

Python

Updated: 6 months, 3 weeks ago
20 stars 3 fork 3 watcher
Born at : April 28, 2021, 7:46 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 months ago
37 stars 4 fork 4 watcher
Born at : March 12, 2021, 12:22 p.m. This repo has been linked 1063 different CVEs too.

None

Updated: 4 months, 3 weeks ago
18 stars 10 fork 10 watcher
Born at : Jan. 2, 2021, 10:19 p.m. This repo has been linked 1053 different CVEs too.

None

Updated: 2 months ago
84 stars 31 fork 31 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1114 different CVEs too.

Course enrolments allowed privilege escalation from teacher role into manager role to RCE

Python

Updated: 2 months, 3 weeks ago
44 stars 8 fork 8 watcher
Born at : July 26, 2020, 1:28 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-14321 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-14321 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://moodle.org/mod/forum/discuss.php?d=407393
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Dec. 08, 2022

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 07, 2022

    Action Type Old Value New Value
    Removed CWE Red Hat, Inc. CWE-285
    Added CWE Red Hat, Inc. CWE-863
    Removed CWE Reason CWE-285 / More specific CWE option available
  • Initial Analysis by [email protected]

    Aug. 17, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://moodle.org/mod/forum/discuss.php?d=407393 No Types Assigned https://moodle.org/mod/forum/discuss.php?d=407393 Patch, Vendor Advisory
    Added CWE NIST CWE-863
    Added CPE Configuration OR *cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* versions from (including) 3.5.0 up to (excluding) 3.5.13 *cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* versions from (including) 3.7.0 up to (excluding) 3.7.7 *cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* versions from (including) 3.8.0 up to (excluding) 3.8.4 *cpe:2.3:a:moodle:moodle:3.9.0:-:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

60.18 }} 0.03%

score

0.98189

percentile