NetSight
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

EcosystemPackageAffectedFixed in
composermoodle/moodle< 4.1.134.1.13

Affected products

VendorProductAffected versions
MoodleMoodle
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