Skip to content
OpenAdvisories
Medium · 5.4 CVE-2024-45691 BIT-moodle-2024-45691EUVD-2024-3390GHSA-xfv7-h2qg-rjm7

Moodle: lesson activity password bypass through php loose comparison

Published Nov 20, 2024 · Updated Nov 20, 2024 · Assigned by fedora

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 products

VendorProductAffectedFixed
— moodle < 4.1.13, 4.2 – < 4.2.10, 4.3 – < 4.3.7, 4.4 – < 4.4.3 4.1.13

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle < 4.1.13 4.1.13 GHSA-xfv7-h2qg-rjm7
Packagist moodle/moodle >= 4.2.0-beta, < 4.2.10 4.2.10 GHSA-xfv7-h2qg-rjm7
Packagist moodle/moodle >= 4.3.0-beta, < 4.3.7 4.3.7 GHSA-xfv7-h2qg-rjm7
Packagist moodle/moodle >= 4.4.0-beta, < 4.4.3 4.4.3 GHSA-xfv7-h2qg-rjm7

Advisories 1

References