Description
A vulnerability was found in Moodle where users with "Log in as" capability in a course context (typically, course managers) may gain access to some site administration capabilities by "logging in as" a System manager. This affects 3.9 to 3.9.1, 3.8 to 3.8.4, 3.7 to 3.7.7, 3.5 to 3.5.13 and earlier unsupported versions. This is fixed in 3.9.2, 3.8.5, 3.7.8 and 3.5.14.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Moodle | 3.9 to 3.9.1, 3.8 to 3.8.4, 3.7 to 3.7.7, 3.5 to 3.5.13, earlier unsupported versions | — |
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.9, < 3.9.2 | 3.9.2 | GHSA-f5r8-7h4f-jr9x |
| Packagist | moodle/moodle | >= 3.8, < 3.8.5 | 3.8.5 | GHSA-f5r8-7h4f-jr9x |
| Packagist | moodle/moodle | >= 3.7, < 3.7.8 | 3.7.8 | GHSA-f5r8-7h4f-jr9x |
| Packagist | moodle/moodle | >= 3.5, < 3.5.14 | 3.5.14 | GHSA-f5r8-7h4f-jr9x |