CVE-2024-45691
Moodle Lesson activity password bypass through PHP loose comparison
Overview
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.
Source: OX vulnerability database
Severity
5.4 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | moodle | <4.1.13>=4.2.0, <4.2.10>=4.3.0, <4.3.7>=4.4.0, <4.4.3 | 4.1.134.2.104.3.74.4.3 |
| Composer (PHP) | moodle/moodle | <4.1.13>=4.2.0-beta, <4.2.10>=4.3.0-beta, <4.3.7>=4.4.0-beta, <4.4.3 | 4.1.134.2.104.3.74.4.3 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2309940
- github.com https://github.com/moodle/moodle
- github.com https://github.com/moodle/moodle/commit/3fc1073d304f660d2552b591c5fb92547ed01e92
- moodle.org https://moodle.org/mod/forum/discuss.php?d=461897#p1854494
- moodle.org https://moodle.org/security
- moodle.org https://moodle.org/security/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-45691
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.