Moodle Open redirect risk in mobile auto-login feature
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 4.0 before 4.0.2Ecosystem versions | 4.0.2 |
| From 3.11 before 3.11.8Ecosystem versions | 3.11.8 |
| From 3.9 before 3.9.15Ecosystem versions | 3.9.15 |
Version evidence: OSV · GHSA-243v-5pff-qqfj
View original version evidence (37 explicit versions)
Original source description
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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2022-35652
- Source reference bugzilla.redhat.com/show_bug.cgi
- Source reference github.com/moodle/moodle
- Source reference lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3
- Source reference lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V
- Source reference moodle.org/mod/forum/discuss.php
- Source reference git.moodle.org/gw