VDB
Sign up
MEDIUM

GHSA-hxmp-8f47-x9fc

Moodle Open Redirect Via Error Messages

Quick fix

GHSA-hxmp-8f47-x9fc — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^1.9.13

Details

The error-message functionality in Moodle 1.9.x before 1.9.13, 2.0.x before 2.0.4, and 2.1.x before 2.1.1 does not ensure that a continuation link refers to an http or https URL for the local Moodle instance, which might allow attackers to trick users into visiting arbitrary web sites via error message links that lead offsite.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 1.9.13
Fixcomposer require moodle/moodle:^1.9.13
Packagist/moodle/moodle
Introduced in: 2.0Fixed in: 2.0.4
Fixcomposer require moodle/moodle:^2.0.4
Packagist/moodle/moodle
Introduced in: 2.1Fixed in: 2.1.1
Fixcomposer require moodle/moodle:^2.1.1

References