Advisory record · GHSA-xfv7-h2qg-rjm7

Moodle Lesson activity password bypass through PHP loose comparison

CVSS 5.4 MediumEPSS 0.0041 · 35th percentile

Published by the GitHub Advisory Database at 20 Nov 2024, 12:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
moodle/moodlePackagist<4.1.13 || >=4.2.0-beta, <4.2.10 || >=4.3.0-beta, <4.3.7 || >=4.4.0-beta, <4.4.34.1.13, 4.2.10, 4.3.7, 4.4.3
Identifiers
GHSA-xfv7-h2qg-rjm7 · BIT-moodle-2024-45691 · CVE-2024-45691 · PKSA-y22b-yrq9-2frq
Weakness (CWE)
CWE-285 · CWE-289
Published
20 Nov 2024
Updated
3 Jun 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Moodle versions before 4.1.13, from 4.2.0-beta before 4.2.10, from 4.3.0-beta before 4.3.7, and from 4.4.0-beta before 4.4.3 are affected. In the Lesson activity, a password check using loose comparison can be bypassed when the password is set to a "magic hash" value. Upgrade to 4.1.13, 4.2.10, 4.3.7, 4.4.3, or later.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.4 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0041, the 35th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:27 UTC First seen by agentprime
  2. 31 Oct 2026, 14:27 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.