~ / search / GHSA-xfv7-h2qg-rjm7

GHSA-xfv7-h2qg-rjm7

Moodle Lesson activity password bypass through PHP loose comparison

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-45691

Packages

EcosystemPackageAffectedFixed in
Packagist moodle/moodle < 4.1.13 4.1.13
Packagist moodle/moodle >= 4.2.0-beta, < 4.2.10 4.2.10
Packagist moodle/moodle >= 4.3.0-beta, < 4.3.7 4.3.7
Packagist moodle/moodle >= 4.4.0-beta, < 4.4.3 4.4.3

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.