ADVISORIES

Vulnerability

CVE-2024-45691

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.

2 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Packagist 1Ubuntu 1

Advisories

  • GHSA-xfv7-h2qg-rjm7

    Moodle Lesson activity password bypass through PHP loose comparison

    Moderate CVE-2024-45691 Packagist Updated 3 June 2025
  • UBUNTU-CVE-2024-45691

    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…

    CVE-2024-45691 Ubuntu Updated 23 September 2026

References