GitHub Advisory Database
GHSA-q3cm-ccrm-2mr6
Moodle Authenticated LFI risk in some misconfigured shared hosting environments
Details
In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user with both access to restore wiki modules and direct access to the web server outside of the Moodle webroot could execute a local file include.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | From 4.3.0 before 4.3.4 (fixed in 4.3.4) |
| Packagist | moodle/moodle | From 4.2.0 before 4.2.7 (fixed in 4.2.7) |
| Packagist | moodle/moodle | All versions before 4.1.10 (fixed in 4.1.10) |