BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2020-14321 in Moodle

High 8.8 Public exploit reported Fix available

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.

CVSS 3.18.8
EPSS36.9%
EPSS percentile99th
FixAvailable

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

VendorProductAffected 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

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · 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 IDCVE-2020-14321
BreachSpider IDBS-2022-GLOBAL-232490-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2022-08-16
Last modified2024-11-21
Weakness (CWE)
SourceNVD

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"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.