GitHub Advisory Database
GHSA-25wf-7x6c-wmpf
Moodle does not properly enforce MFA
Details
A serious authentication flaw allowed attackers with valid credentials to bypass multi-factor authentication under certain conditions, potentially compromising user accounts.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | From 5.0.0-beta before 5.0.3 (fixed in 5.0.3) |
| Packagist | moodle/moodle | From 4.5.0-beta before 4.5.7 (fixed in 4.5.7) |
| Packagist | moodle/moodle | From 4.4.0-beta before 4.4.11 (fixed in 4.4.11) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-62398
- https://github.com/moodle/moodle/commit/67005f8b2098096f4c7ca4f78ab9ce69415d703b
- https://github.com/moodle/moodle/commit/a2078f781ae065ca1f781bd159c7615c84afcaa5
- https://access.redhat.com/security/cve/CVE-2025-62398
- https://bugzilla.redhat.com/show_bug.cgi?id=2404431
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=470387