RCE in Moodle
CVE-2021-21809
A command execution vulnerability exists in the default legacy spellchecker plugin in Moodle 3.10. A specially crafted series of HTTP requests can lead to command execution. An attacker must have administrator privileges to exploit this vulnerabilities.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.242, 97.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Moodle — versions 3.10.0
- Moodle — versions Moodle 3.10
Weakness classification (CWE)
Public exploits and proof-of-concept code
Metasploit modules
1 public repository with exploit or proof-of-concept code for this CVE:
- anldori/CVE-2021-21809 (1 star, last pushed 2022-12-20): CVE-2021-21809 POC
Also mentioned in 6 other repositories (ARPSyndicate/cvemon, k0mi-tg/CVE-POC, manas3c/CVE-POC, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- talosintelligence.com/vulnerability_reports/TALOS-2021-1277 (Exploit, Third Party Advisory)
- packetstormsecurity.com/files/164481/Moodle-SpellChecker-Path-Authenticated-Rem… (Exploit, VDB Entry, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.