Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | moodle | moodle 3.10.1, moodle 3.9.4, moodle 3.8.7, moodle 3.5.16 | — |
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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | moodle | No fix yet | — |
| Ubuntu Pro 16.04 LTS | moodle | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | >= 3.5, < 3.5.16 | 3.5.16 | GHSA-2jrm-gww7-wch2 |
| Packagist | moodle/moodle | >= 3.8, < 3.8.7 | 3.8.7 | GHSA-2jrm-gww7-wch2 |
| Packagist | moodle/moodle | >= 3.9, < 3.9.4 | 3.9.4 | GHSA-2jrm-gww7-wch2 |
| Packagist | moodle/moodle | >= 3.10, < 3.10.1 | 3.10.1 | GHSA-2jrm-gww7-wch2 |