CVE-2021-21809: moodle OS Command Injection
Vulnerability summary
CVE-2021-21809 is a critical (CVSS 9.1) OS Command Injection vulnerability in moodle. EPSS estimates a 24.17% chance of exploitation in the next 30 days, higher than 97.8% of scored vulnerabilities. 3 public exploits are recorded.
Timeline
- 23-06-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 3 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.2HighCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L
- NVDNIST8.2HighCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L
EPSS trend
Probability
24.17%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
0.00 pp
From 24.17% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
3 foundExploit Reference (talosintelligence.com)
Maturity: unknown
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
Moodle SpellChecker Path Authenticated Remote Command Execution
exploit/multi/http/moodle_spelling_path_rce
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Moodle1 product
- moodleEOL3.10.0
Ubuntu1 product
- moodleAll versions (No fix recorded)
2 vendors · 2 products
References
4 links- talosintelligence.com/vulnerability_reports/TALOS-2021-1277X Refsource MISCREPORTExploitThird Party Advisory