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.13Details
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
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-4294[ADVISORY]
- https://github.com/moodle/moodle/commit/18c2fcf8f19e00f0e89421d8fd8b7486a6dc6f79[WEB]
- https://github.com/moodle/moodle/commit/417fdfab6bbdcfc3f5b64704ec06912ae9cd1050[WEB]
- https://github.com/moodle/moodle/commit/8f9f666c902cb30ef6f519353f38c45a29fdf4a6[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- http://git.moodle.org/gw?p=moodle.git;a=commit;h=8f9f666c902cb30ef6f519353f38c45a29fdf4a6[WEB]
- http://moodle.org/mod/forum/discuss.php?d=182737[WEB]
- http://openwall.com/lists/oss-security/2011/11/14/1[WEB]