CVE-2020-14321 in Moodle
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Moodle | Moodle | 3.9.0 ≥ 3.5.0, < 3.5.13 ≥ 3.7.0, < 3.7.7 ≥ 3.8.0, < 3.8.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-14321 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-232490-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-08-16 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
A vulnerability in Moodle versions prior to 3.9.1, 3.8.4, 3.7.7, and 3.5.13 allows teachers to assign themselves the manager role within a course, potentially escalating their privileges.
An attacker who has a teacher role in a Moodle course can exploit this vulnerability to elevate their permissions to a manager role, gaining additional administrative capabilities within that course.
Questions
What is CVE-2020-14321?
A vulnerability in Moodle versions prior to 3.9.1, 3.8.4, 3.7.7, and 3.5.13 allows teachers to assign themselves the manager role within a course, potentially escalating their privileges.
What is the CVSS score for CVE-2020-14321?
CVE-2020-14321 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 36.9%.
Is CVE-2020-14321 actively exploited?
Public exploit available for CVE-2020-14321. Exploitation risk elevated.
How do I remediate CVE-2020-14321?
Priority: IMMEDIATE. Advisory: https://moodle.org/mod/forum/discuss.php?d=407393 PSIRT: [email protected]
What systems are affected by CVE-2020-14321?
CVE-2020-14321 affects Moodle Moodle.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Moodle","product":"Moodle","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.