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

EcosystemPackageFixed inAdvisory
Packagistmoodle/moodle4.1.13GHSA-xfv7-h2qg-rjm7
Packagistmoodle/moodle4.2.10GHSA-xfv7-h2qg-rjm7
Packagistmoodle/moodle4.3.7GHSA-xfv7-h2qg-rjm7
Packagistmoodle/moodle4.4.3GHSA-xfv7-h2qg-rjm7

Affected products (as reported)

VendorProductVersions
moodle 0 – before 4.1.134.2 – before 4.2.104.3 – before 4.3.74.4 – before 4.4.3

References