Vulnerability · Published Nov 20, 2024 · Assigned by fedora
CVE-2024-45691Moodle: lesson activity password bypass through php loose comparison
Medium 5.4
In plain English
A medium-severity security flaw in moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.4%top 64.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | moodle/moodle | 4.1.13 | GHSA-xfv7-h2qg-rjm7 |
| Packagist | moodle/moodle | 4.2.10 | GHSA-xfv7-h2qg-rjm7 |
| Packagist | moodle/moodle | 4.3.7 | GHSA-xfv7-h2qg-rjm7 |
| Packagist | moodle/moodle | 4.4.3 | GHSA-xfv7-h2qg-rjm7 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| moodle | 0 – before 4.1.134.2 – before 4.2.104.3 – before 4.3.74.4 – before 4.4.3 |
References
- RHBZ#2309940 issue-tracking, x_refsource_REDHAT
- https://moodle.org/security/