VDB
Sign up
MEDIUM

GHSA-2vhr-4mhq-m35c

Moodle does not properly restrict access

Quick fix

GHSA-2vhr-4mhq-m35c — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.4.9

Details

The wiki subsystem in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 does not properly restrict (1) view and (2) edit access, which allows remote authenticated users to perform wiki operations by leveraging the student role and using the Recent Activity block to reach the individual wiki of an arbitrary student.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 2.4.9
Fixcomposer require moodle/moodle:^2.4.9
Packagist/moodle/moodle
Introduced in: 2.5.0Fixed in: 2.5.5
Fixcomposer require moodle/moodle:^2.5.5
Packagist/moodle/moodle
Introduced in: 2.6.0Fixed in: 2.6.2
Fixcomposer require moodle/moodle:^2.6.2

References