RCE in Moodle

CVE-2021-20187

It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 and 3.5.16 that it was possible for site administrators to execute arbitrary PHP scripts via a PHP include used during Shibboleth authentication.

Vulnerability class: RCE (Remote Code Execution)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.016, 76.1th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Moodle — versions 3.10.0
  • Moodle — versions moodle 3.10.1, moodle 3.9.4, moodle 3.8.7, moodle 3.5.16

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 1 other repository (jev770/badmoodle-scan). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References