CVE-2024-45691Published Nov 20, 2024 · Nov 20Updated Oct 28
Moodle: lesson activity password bypass through php loose comparison
moodle
Medium5.4Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| moodle/moodle Packagist |
|
|
moodle
| Product | Affected | Fixed in |
|---|---|---|
| moodle/moodle Packagist |
|
|
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.
From the CVE record · fedora
Moodle’s password check for restricted lesson activities uses a loose comparison. An attacker could bypass the lesson password when it is set to a “magic hash” value. The input does not specify network access, other authentication requirements, or user interaction.
Teams running moodle/moodle versions below 4.1.13, from 4.2.0-beta to before 4.2.10, from 4.3.0-beta to before 4.3.7, or from 4.4.0-beta to before 4.4.3 should check their installations.