VDB
Sign up
HIGH7.4

GHSA-2hw2-h3mf-c2j9

Moodle open redirect vulnerability

Quick fix

GHSA-2hw2-h3mf-c2j9 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.7.9

Details

Open redirect vulnerability in the clean_param function in lib/moodlelib.php in Moodle through 2.6.11, 2.7.x before 2.7.9, 2.8.x before 2.8.7, and 2.9.x before 2.9.1 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via vectors involving an HTTP Referer header that has a substring match with a local URL.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 2.7.0Fixed in: 2.7.9
Fixcomposer require moodle/moodle:^2.7.9
Packagist/moodle/moodle
Introduced in: 2.8.0Fixed in: 2.8.7
Fixcomposer require moodle/moodle:^2.8.7
Packagist/moodle/moodle
Introduced in: 2.9.0Fixed in: 2.9.1
Fixcomposer require moodle/moodle:^2.9.1

References