ADVISORIES

GitHub Advisory Database

GHSA-2hw2-h3mf-c2j9

Moodle open redirect vulnerability

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.

Affected packages

EcosystemPackageAffected versions
Packagistmoodle/moodle
From 2.7.0 before 2.7.9 (fixed in 2.7.9)
Packagistmoodle/moodle
From 2.8.0 before 2.8.7 (fixed in 2.8.7)
Packagistmoodle/moodle
From 2.9.0 before 2.9.1 (fixed in 2.9.1)

References