Description
The grade-reporting feature in Singleview (aka Single View) in Moodle 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 does not consider the moodle/grade:manage capability, which allows remote authenticated users to modify "Exclude grade" settings by leveraging the Non-Editing Instructor role.
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.8.0, < 2.8.11 | 2.8.11 | GHSA-32hg-73hp-vwc8 |
| Packagist | moodle/moodle | >= 2.9.0, < 2.9.5 | 2.9.5 | GHSA-32hg-73hp-vwc8 |
| Packagist | moodle/moodle | >= 3.0.0, < 3.0.3 | 3.0.3 | GHSA-32hg-73hp-vwc8 |