GitHub Advisory Database
GHSA-243v-5pff-qqfj
Moodle Open redirect risk in mobile auto-login feature
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | From 4.0 before 4.0.2 (fixed in 4.0.2) |
| Packagist | moodle/moodle | From 3.11 before 3.11.8 (fixed in 3.11.8) |
| Packagist | moodle/moodle | From 3.9 before 3.9.15 (fixed in 3.9.15) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-35652
- https://bugzilla.redhat.com/show_bug.cgi?id=2106276
- https://github.com/moodle/moodle
- https://lists.fedoraproject.org/archives/list/[email protected]/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V
- https://moodle.org/mod/forum/discuss.php?d=436459
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72171