GitHub Advisoryadvisory · Packagist
GHSA-xfv7-h2qg-rjm7 Moodle Lesson activity password bypass through PHP loose comparison
MEDIUM
Official page ↗
- Aliases
- CVE-2024-45691
- Ecosystem
- Packagist
- Packages
- moodle/moodle
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-285, CWE-289
- Reviewed
- 2024-11-20
Affected packages
• Packagist moodle/moodle: < 4.1.13 → fixed in 4.1.13
• Packagist moodle/moodle: >= 4.2.0-beta, < 4.2.10 → fixed in 4.2.10
• Packagist moodle/moodle: >= 4.3.0-beta, < 4.3.7 → fixed in 4.3.7
• Packagist moodle/moodle: >= 4.4.0-beta, < 4.4.3 → fixed in 4.4.3
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.
Related
Alias · CVE (1)
- CVE-2024-45691 A flaw was found in Moodle. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-45691 advisory
- https://github.com/moodle/moodle/commit/3fc1073d304f660d2552b591c5fb92547ed01e92 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2309940 web
- https://github.com/moodle/moodle package
- https://moodle.org/mod/forum/discuss.php?d=461897#p1854494 web
- https://moodle.org/security web