Skip to content
OpenAdvisories
High · 8.2 Public exploit CVE-2021-21809 BIT-moodle-2021-21809EUVD-2022-3528GHSA-c7jj-vfmr-j9mj

Moodle command execution vulnerability exists in the default legacy spellchecker plugin

Published Jun 23, 2021 · Updated Aug 3, 2024 · Assigned by talos

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.

Affected products

VendorProductAffectedFixed
— Moodle Moodle 3.10 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle 3.10.0 — GHSA-c7jj-vfmr-j9mj
Packagist moodle/moodle 3.11.2 — GHSA-c7jj-vfmr-j9mj
Packagist moodle/moodle 3.8.0 — GHSA-c7jj-vfmr-j9mj

References