Moodle Lesson activity password bypass through PHP loose comparison
Moderate severity
GitHub Reviewed
Published
Nov 20, 2024
to the GitHub Advisory Database
•
Updated Nov 20, 2024
Package
Affected versions
< 4.1.13
>= 4.2.0-beta, < 4.2.10
>= 4.3.0-beta, < 4.3.7
>= 4.4.0-beta, < 4.4.3
Patched versions
4.1.13
4.2.10
4.3.7
4.4.3
Description
Published by the National Vulnerability Database
Nov 20, 2024
Published to the GitHub Advisory Database
Nov 20, 2024
Reviewed
Nov 20, 2024
Last updated
Nov 20, 2024
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