Live threats

All CVEs / Moodle

CVE-2024-45691Moodle

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.6%
probability of exploitation in 30 days · percentile 45
Auth required
Yes
Published
Nov 20, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist moodle/moodle < 4.1.13 4.1.13 composer require "moodle/moodle:^4.1.13"
Packagist moodle/moodle ≥ 4.2.0-beta < 4.2.10 4.2.10 composer require "moodle/moodle:^4.2.10"
Packagist moodle/moodle ≥ 4.3.0-beta < 4.3.7 4.3.7 composer require "moodle/moodle:^4.3.7"
Packagist moodle/moodle ≥ 4.4.0-beta < 4.4.3 4.4.3 composer require "moodle/moodle:^4.4.3"

Per OSV / GitHub Advisories (GHSA-xfv7-h2qg-rjm7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle< 4.1.13
moodlemoodle≥ 4.2.0 < 4.2.10
moodlemoodle≥ 4.3.0 < 4.3.7
moodlemoodle≥ 4.4.0 < 4.4.3

Official sources

References

Links published by the sources. Open them with care.