NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2024-45691: Moodle Lesson activity password bypass through PHP loose comparison

mediumCVSS 4.0 6.3 · 3.1 5.4GHSA-xfv7-h2qg-rjm7

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.

Published Nov 20, 2024

Affected packages

moodle/moodle

Ecosystem
Composer (PHP)
Affected
< 4.1.13
Fixed in
4.1.13
Check
composer show moodle/moodle

moodle/moodle

Ecosystem
Composer (PHP)
Affected
>= 4.2.0-beta, < 4.2.10
Fixed in
4.2.10
Check
composer show moodle/moodle

moodle/moodle

Ecosystem
Composer (PHP)
Affected
>= 4.3.0-beta, < 4.3.7
Fixed in
4.3.7
Check
composer show moodle/moodle

moodle/moodle

Ecosystem
Composer (PHP)
Affected
>= 4.4.0-beta, < 4.4.3
Fixed in
4.4.3
Check
composer show moodle/moodle

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries