{"id":"CVE-2024-45691","aliases":["BIT-moodle-2024-45691","GHSA-xfv7-h2qg-rjm7"],"url":"https://o3.security/vulnerability/CVE-2024-45691","summary":"Moodle: lesson activity password bypass through php loose comparison","details":"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":"2024-11-20T10:25:30.380Z","modified":"2026-07-15T01:48:58.878363423Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"4.1.13"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"4.2.10"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"4.3.7"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"4.4.3"}],"fix":null,"references":[{"type":"WEB","url":"https://moodle.org/security/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45691.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45691"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2309940"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:58.878363423Z"}}