CVE-2020-14321
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.
- Published
- Aug 16, 2022
- Updated
- Aug 4, 2024
- Assigning CNA
- redhat
- Evidence observed
- Aug 8, 2026
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HModerate · next 30 days
- Percentile
- 96.9%
- Model date
- Oct 18, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
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.
Sources
modules/exploits/multi/http/moodle_teacher_enrollment_priv_esc_to_rce.rb
Metasploit Framework modulesDeclared conditions
- platform: PHP($.exploit_multi/http/moodle_teacher_enrollment_priv_esc_to_rce.platform)
- verification: check_declared($.exploit_multi/http/moodle_teacher_enrollment_priv_esc_to_rce.check)
Course enrolments allowed privilege escalation from teacher role into manager role to RCE
- CVE-2020-14321Exploit
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.