Security mailing lists by PureSourceCode

CVE-2024-45691

MEDIUM 5.4CVSS 3.1

Moodle Lesson activity password bypass through PHP loose comparison

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.

Published
20 Nov 2024
Last modified
17 Jun 2026
Assigned by
patrick@puiterwijk.org
NVD status
Analyzed
Weakness
CWE-285CWE-289
Also known as
BIT-moodle-2024-45691GHSA-xfv7-h2qg-rjm7
Sources
NVDJSONOSV GHSA-xfv7-h2qg-rjm7JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
< 4.1.13 4.1.13
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 4.2.0, < 4.2.10 4.2.10
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 4.3.0, < 4.3.7 4.3.7
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 4.4.0, < 4.4.3 4.4.3
OSV Packagist moodle/moodle < 4.1.13 4.1.13
OSV Packagist moodle/moodle >= 4.2.0-beta, < 4.2.10 4.2.10
OSV Packagist moodle/moodle >= 4.3.0-beta, < 4.3.7 4.3.7
OSV Packagist moodle/moodle >= 4.4.0-beta, < 4.4.3 4.4.3

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 20 Nov 2024)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 20 Nov 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.