CVE-2020-14321 in the critical feed json
Moodle Incorrect Authorization vulnerability
published 4y ago modified 2mo ago also BIT-moodle-2020-14321 , EUVD-2020-6471 , GHSA-9q29-jcjw-fw7h
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 16.0%
- EPSS 16.0% chance of exploitation in 30 days, percentile 96%
- public exploits
- 1
- Metasploit
Summary
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.
Patch / fix
- packagist moodle/moodle 3.5.13, 3.7.7, 3.8.4, 3.9.1
- bitnami moodle 3.5.13, 3.7.7, 3.8.4, 3.9.1
- moodle moodle 3.5.13, 3.7.7, 3.8.4
Is CVE-2020-14321 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerTimeline
- First public exploit (Metasploit exploit/multi/http/moodle_teacher_enrollment_priv_esc_to_rce)
- Published
Exploit prediction
15.99% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/multi/http/moodle_teacher_enrollment_priv_esc_to_rce Moodle Teacher Enrollment Privilege Escalation to RCE metasploit exploit, good rank, 2020-07-20
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=3.9.0-beta, <3.9.1 >=3.8.0-beta, <3.8.4 >=3.6.0-beta, <3.7.7 <3.5.13 |
3.9.1 3.8.4 3.7.7 3.5.13 |
| bitnami | moodle | >=3.5.0, <3.5.13 >=3.7.0, <3.7.7 >=3.8.0, <3.8.4 >=3.9.0, <3.9.1 |
3.5.13 3.7.7 3.8.4 3.9.1 |
Affected products
- n/a Moodle
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
moodle.org
/mod/forum/discuss.php?d=407393
web, patch, vendor-advisory, advisory
-
github.com
/moodle/moodle/commit/d07fb8b9e8bf47fe60ad2aea553329bd1fb96e37
web
-
nvd.nist.gov
/vuln/detail/CVE-2020-14321
advisory, web
-
github.com
/moodle/moodle
package
Sources
- CVE List CVE-2020-14321
- GitHub Advisory GHSA-9q29-jcjw-fw7h
- NVD CVE-2020-14321
- OSV BIT-moodle-2020-14321
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.