Skip to main content
← All vulnerabilities
CVE-2024-45691GHSA-XFV7-H2QG-RJM7BIT-MOODLE-2024-45691

Moodle: lesson activity password bypass through php loose comparison

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.1.13, 4.2.10, 4.3.7, 4.4.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • moodle

    fixed in 4.1.13; From 4.2 · fixed in 4.2.10; From 4.3 · fixed in 4.3.7; From 4.4 · fixed in 4.4.3

  • moodle/moodlePackagist

    fixed in 4.1.13

  • moodle/moodlePackagist

    From 4.2.0-beta · fixed in 4.2.10

  • moodle/moodlePackagist

    From 4.3.0-beta · fixed in 4.3.7

  • moodle/moodlePackagist

    From 4.4.0-beta · fixed in 4.4.3

References 2

bugzilla.redhat.com

moodle.org