nday
CVE-2021-21809

A command execution vulnerability exists in the default legacy spellchecker plugin in Moodle 3.10Title composed by nday; the CVE record has none.

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: metasploit. Not in CISA KEV.

tags weakness typecommand injection accessnetworkno user interaction exploitationMetasploit
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-78, stated by NVD's analysts
network
AV:N in CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L (CVSS 3.0) from the CNA talos
no user interaction
UI:N in CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L (CVSS 3.0) from the CNA talos
Metasploit
Metasploit modules exploit/multi/http/moodle_spelling_path_rce
stage
POC
disclosed
cvss
8.2 HIGH v3.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2021-06-23T21:25Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:H
High: administrative or similar privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L

CVSS 3.0 vector from the CVE record, scored by the CNA talos.

Event log

+DISdisclosed

CVE record published by talos. CVSS 8.2, high.

src cvelist · nday , bulk import · raw
{
  "id": 62910,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-21809",
  "occurred_at": "2021-06-23T21:25:46Z",
  "observed_at": "2026-11-12T20:03:12.555163Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L",
      "version": "3.0",
      "base_score": 8.2,
      "base_severity": "HIGH"
    },
    "state": "PUBLISHED",
    "date_published": "2021-06-23T21:25:46.000Z",
    "assigner_short_name": "talos"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/multi/http/moodle_spelling_path_rce (Moodle SpellChecker Path Authenticated Remote Command Execution). The source gives no release time for the module.

src metasploit exploit/multi/http/moodle_spelling_path_rce · nday , bulk import · raw
{
  "id": 51287,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/moodle_spelling_path_rce.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/http/moodle_spelling_path_rce",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/moodle_spelling_path_rce.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/http/moodle_spelling_path_rce.rb",
    "rank": 600,
    "check": true,
    "title": "Moodle SpellChecker Path Authenticated Remote Command Execution",
    "cve_ids": [
      "CVE-2021-21809"
    ],
    "fullname": "exploit/multi/http/moodle_spelling_path_rce",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2025-02-28 09:35:28 +0000",
    "vuln_disclosure_date": "2021-06-22"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.