{"id":"CVE-2024-45691","state":"PUBLISHED","title":"Moodle: lesson activity password bypass through php loose comparison","description":"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.","publishedAt":"2024-11-20T10:25:30.380Z","updatedAt":"2024-11-20T19:17:19.480Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","source":"CISA-ADP"},"assigner":"fedora","products":["moodle"],"affected":[{"packageName":"moodle","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"4.1.13","versionType":"semver"},{"version":"4.2","status":"affected","lessThan":"4.2.10","versionType":"semver"},{"version":"4.3","status":"affected","lessThan":"4.3.7","versionType":"semver"},{"version":"4.4","status":"affected","lessThan":"4.4.3","versionType":"semver"}],"collectionURL":"https://github.com/moodle/moodle"}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=2309940","https://moodle.org/security/"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/45xxx/CVE-2024-45691.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-45691","state":"PUBLISHED","datePublished":"2024-11-20T10:25:30.380Z","dateUpdated":"2024-11-20T19:17:19.480Z","assignerShortName":"fedora","assignerOrgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","dateReserved":"2024-09-04T22:00:30.976Z"},"containers":{"cna":{"title":"Moodle: lesson activity password bypass through php loose comparison","descriptions":[{"lang":"en","value":"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."}],"affected":[{"packageName":"moodle","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"4.1.13","versionType":"semver"},{"version":"4.2","status":"affected","lessThan":"4.2.10","versionType":"semver"},{"version":"4.3","status":"affected","lessThan":"4.3.7","versionType":"semver"},{"version":"4.4","status":"affected","lessThan":"4.4.3","versionType":"semver"}],"collectionURL":"https://github.com/moodle/moodle"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2309940","name":"RHBZ#2309940","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://moodle.org/security/"}],"metrics":[{"other":{"content":{"value":"Important","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}}],"providerMetadata":{"shortName":"fedora","orgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","dateUpdated":"2024-11-20T10:25:30.380Z"},"datePublic":"2024-09-09T00:00:00.000Z","timeline":[{"lang":"en","time":"2024-09-04T22:12:05.832Z","value":"Reported to Red Hat."},{"lang":"en","time":"2024-09-09T00:00:00.000Z","value":"Made public."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.4,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-11-20T19:17:16.356151Z","id":"CVE-2024-45691","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-noinfo Not enough information"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-20T19:17:19.480Z"}}]}}}