Description
user/view.php in Moodle through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 does not enforce the forceloginforprofiles setting, which allows remote attackers to obtain sensitive course-profile information by leveraging the guest role, as demonstrated by a Google search.
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 | <= 2.1.10 | — | GHSA-8r7x-qq55-74v2 |
| Packagist | moodle/moodle | >= 2.2.0, < 2.2.8 | 2.2.8 | GHSA-8r7x-qq55-74v2 |
| Packagist | moodle/moodle | >= 2.3.0, < 2.3.5 | 2.3.5 | GHSA-8r7x-qq55-74v2 |
| Packagist | moodle/moodle | >= 2.4.0, < 2.4.2 | 2.4.2 | GHSA-8r7x-qq55-74v2 |