OS Command Injection in Moodle - CVE-2021-21809

 

OS Command Injection in Moodle - CVE-2021-21809

Published: June 23, 2021 / Updated: January 9, 2023


Vulnerability identifier: #VU54334
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Clear
CVE-ID: CVE-2021-21809
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: moodle.org
Affected software:
Moodle

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation in the default legacy spellchecker plugin. A remote administrator can pass specially crafted data to the application and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2021-21809

Install updates from vendor's website.

Sources