Description
In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user who also has direct access to the web server outside of the Moodle webroot could utilise a local file include to achieve remote code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | moodle | 4.2.0 – < 4.2.3, 4.1.0 – < 4.1.6, 4.0.0 – < 4.0.11, 3.11.0 – < 3.11.17, < 3.9.24 | 4.2.3 |
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 | >= 4.3.0-beta, < 4.3.0-rc2 | 4.3.0-rc2 | GHSA-5cvx-cwpx-9rjh |
| Packagist | moodle/moodle | >= 4.2.0, < 4.2.3 | 4.2.3 | GHSA-5cvx-cwpx-9rjh |
| Packagist | moodle/moodle | >= 4.1.0, < 4.1.6 | 4.1.6 | GHSA-5cvx-cwpx-9rjh |
| Packagist | moodle/moodle | >= 4.0.0, < 4.0.11 | 4.0.11 | GHSA-5cvx-cwpx-9rjh |
| Packagist | moodle/moodle | >= 3.10.0, < 3.11.17 | 3.11.17 | GHSA-5cvx-cwpx-9rjh |
| Packagist | moodle/moodle | < 3.9.24 | 3.9.24 | GHSA-5cvx-cwpx-9rjh |
Advisories 1
- WID-SEC-2023-2701 Moodle: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 17, 2023