VDB
Sign up
MEDIUM6.1

GHSA-243v-5pff-qqfj

Moodle Open redirect risk in mobile auto-login feature

Quick fix

GHSA-243v-5pff-qqfj — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.0.2

Details

An open redirect issue was found in Moodle due to improper sanitization of user-supplied data in mobile auto-login feature. A remote attacker can create a link that leads to a trusted website, however, when clicked, it redirects the victims to arbitrary URL/domain. Successful exploitation of this vulnerability may allow a remote attacker to perform a phishing attack and steal potentially sensitive information.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 4.0Fixed in: 4.0.2
Fixcomposer require moodle/moodle:^4.0.2
Packagist/moodle/moodle
Introduced in: 3.11Fixed in: 3.11.8
Fixcomposer require moodle/moodle:^3.11.8
Packagist/moodle/moodle
Introduced in: 3.9Fixed in: 3.9.15
Fixcomposer require moodle/moodle:^3.9.15

References