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.
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72171
bugzilla.redhat.com/show_bug.cgi?id=2106276
github.com/moodle/moodle
lists.fedoraproject.org/archives/list/[email protected]/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3
lists.fedoraproject.org/archives/list/[email protected]/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V
moodle.org/mod/forum/discuss.php?d=436459
nvd.nist.gov/vuln/detail/CVE-2022-35652