Description
calendar/externallib.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 provides calendar-event data without considering whether an activity is hidden, which allows remote authenticated users to obtain sensitive information via a web-service request.
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 18.04 LTS | moodle | 3.0.3+dfsg-0ubuntu1 | — |
| Ubuntu 16.04 LTS | moodle | 3.0.3+dfsg-0ubuntu1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | < 2.7.13 | 2.7.13 | GHSA-h8vc-v44p-5r2q |
| Packagist | moodle/moodle | >= 2.8.0, < 2.8.11 | 2.8.11 | GHSA-h8vc-v44p-5r2q |
| Packagist | moodle/moodle | >= 2.9.0, < 2.9.5 | 2.9.5 | GHSA-h8vc-v44p-5r2q |
| Packagist | moodle/moodle | >= 3.0.0, < 3.0.3 | 3.0.3 | GHSA-h8vc-v44p-5r2q |