{"id":"BIT-moodle-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.","aliases":["CVE-2024-45691","GHSA-xfv7-h2qg-rjm7"],"modified":"2026-09-08T08:48:15.139016481Z","published":"2025-06-03T14:59:09.259Z","database_specific":{"cpes":["cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"],"severity":"Medium"},"references":[{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2309940"},{"type":"ADVISORY","url":"https://moodle.org/security/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45691"}],"affected":[{"package":{"name":"moodle","ecosystem":"Bitnami","purl":"pkg:bitnami/moodle"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.1.13"},{"introduced":"4.2.0"},{"fixed":"4.2.10"},{"introduced":"4.3.0"},{"fixed":"4.3.7"},{"introduced":"4.4.0"},{"fixed":"4.4.3"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/moodle/BIT-moodle-2024-45691.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}],"schema_version":"1.9.0"}