CVE-2016-7038: Moodle Weak Password Recovery Mechanism for Forgotten Password
7.3
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.4753%
CWE
Published
5/13/2022
Updated
4/23/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
moodle/moodle | composer | >= 2.7, < 2.7.16 | 2.7.16 |
moodle/moodle | composer | >= 2.9, < 2.9.8 | 2.9.8 |
moodle/moodle | composer | >= 3.0, < 3.0.6 | 3.0.6 |
moodle/moodle | composer | >= 3.1, < 3.1.2 | 3.1.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing token revocation during password changes. Core user management functions like user_update_user and user_change_password would logically be responsible for credential updates. The security advisory (MSA-16-0022) and associated tracker issue MDL-49026 indicate these functions lacked token cleanup logic in vulnerable versions. Patched versions likely added calls to token revocation mechanisms (like external_revoke_tokens_for_user) within these password update workflows.