VDB
Sign up
MEDIUM

GHSA-mphj-h2fc-62x3

Moodle allows attackers to bypass the mod/lti:view capability requirement

Quick fix

GHSA-mphj-h2fc-62x3 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.5.9

Details

mod/lti/launch.php in the LTI module in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 performs access control at the course level rather than at the activity level, which allows remote authenticated users to bypass the mod/lti:view capability requirement by viewing an activity instance.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 2.5.9
Fixcomposer require moodle/moodle:^2.5.9
Packagist/moodle/moodle
Introduced in: 2.6.0Fixed in: 2.6.6
Fixcomposer require moodle/moodle:^2.6.6
Packagist/moodle/moodle
Introduced in: 2.7.0Fixed in: 2.7.3
Fixcomposer require moodle/moodle:^2.7.3

References