GHSA-xfv7-h2qg-rjm7MediumCVSS 5.4
Moodle Lesson activity password bypass through PHP loose comparison
🔗 CVE IDs covered (1)
📋 Description
A flaw was found in Moodle. When restricting access to a lesson activity with a password, certain passwords could be bypassed or less secure due to a loose comparison in the password-checking logic. This issue only affected passwords set to "magic hash" values.
🎯 Affected products4
- composer/moodle/moodle:< 4.1.13
- composer/moodle/moodle:>= 4.2.0-beta, < 4.2.10
- composer/moodle/moodle:>= 4.3.0-beta, < 4.3.7
- composer/moodle/moodle:>= 4.4.0-beta, < 4.4.3
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2024-45691
- https://bugzilla.redhat.com/show_bug.cgi?id=2309940
- https://moodle.org/security
- https://github.com/moodle/moodle/commit/3fc1073d304f660d2552b591c5fb92547ed01e92
- https://moodle.org/mod/forum/discuss.php?d=461897#p1854494
- https://github.com/advisories/GHSA-xfv7-h2qg-rjm7