medium5.4
CVE-2024-45691
Moodle Lesson activity password bypass through PHP loose comparison
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | moodle/moodle | < 4.1.13 | 4.1.13 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Moodle | Moodle | before 4.1.13 from 4.2.0 before 4.2.10 from 4.3.0 before 4.3.7 from 4.4.0 before 4.4.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2309940
- https://moodle.org/security/
- https://github.com/advisories/GHSA-xfv7-h2qg-rjm7
- https://nvd.nist.gov/vuln/detail/CVE-2024-45691
- https://moodle.org/security
- https://github.com/moodle/moodle/commit/3fc1073d304f660d2552b591c5fb92547ed01e92
- https://moodle.org/mod/forum/discuss.php?d=461897#p1854494