GitHub Advisory Database
GHSA-2jrm-gww7-wch2
Moodle Arbitrary PHP code execution by site admins via Shibboleth configuration
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | From 3.5 before 3.5.16 (fixed in 3.5.16) |
| Packagist | moodle/moodle | From 3.8 before 3.8.7 (fixed in 3.8.7) |
| Packagist | moodle/moodle | From 3.9 before 3.9.4 (fixed in 3.9.4) |
| Packagist | moodle/moodle | From 3.10 before 3.10.1 (fixed in 3.10.1) |