All reports
Medium

Moodle Lesson activity password bypass through PHP loose comparison

Affected versions

Affected versions
>= 4.2.0-beta, < 4.2.10
Fixed version
4.2.10
Affected versions
>= 4.3.0-beta, < 4.3.7
Fixed version
4.3.7
Affected versions
>= 4.4.0-beta, < 4.4.3
Fixed version
4.4.3
Affected versions
< 4.1.13
Fixed version
4.1.13

Exploitation

CVE-2024-45691

Probability of exploitation in the next 30 days: 0.41%

FIRST EPSS · 2026-11-21

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.

Links