Moodle calculated question type allows remote code execution by Question authors
High severity
GitHub Reviewed
Published
May 13, 2022
to the GitHub Advisory Database
•
Updated May 3, 2024
Package
Affected versions
>= 3.1, < 3.1.12
>= 3.2, < 3.2.9
>= 3.3, < 3.3.6
>= 3.4, < 3.4.3
Patched versions
3.1.12
3.2.9
3.3.6
3.4.3
Description
Published by the National Vulnerability Database
May 25, 2018
Published to the GitHub Advisory Database
May 13, 2022
Reviewed
Apr 23, 2024
Last updated
May 3, 2024
An issue was discovered in Moodle 3.x. A Teacher creating a Calculated question can intentionally cause remote code execution on the server, aka eval injection.
References