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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 02 Jun 2025 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Moodle
Moodle moodle
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
Vendors & Products Moodle
Moodle moodle

Wed, 20 Nov 2024 20:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 20 Nov 2024 10:30:00 +0000

Type Values Removed Values Added
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.
Title Moodle: lesson activity password bypass through php loose comparison
References

cve-icon MITRE

Status: PUBLISHED

Assigner: fedora

Published:

Updated: 2024-11-20T19:17:19.480Z

Reserved: 2024-09-04T22:00:30.976Z

Link: CVE-2024-45691

cve-icon Vulnrichment

Updated: 2024-11-20T19:17:11.524Z

cve-icon NVD

Status : Analyzed

Published: 2024-11-20T11:15:05.490

Modified: 2025-06-02T15:35:23.890

Link: CVE-2024-45691

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.