VDB
Sign up
MEDIUM

GHSA-c87j-9rrq-h3j8

Moodle allows attackers to trigger the generation of arbitrary messages

Quick fix

GHSA-c87j-9rrq-h3j8 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.5.9

Details

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 does not properly restrict the parameters used in a return URL, which allows remote attackers to trigger the generation of arbitrary messages via a modified URL, related to mod/lti/locallib.php and mod/lti/return.php.

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