CVE Vulnerabilities

CVE-2016-7038

Weak Password Recovery Mechanism for Forgotten Password

Published: Jan 20, 2017 | Modified: Dec 01, 2020
CVSS 3.x
7.3
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
LOW

In Moodle 2.x and 3.x, web service tokens are not invalidated when the user password is changed or forced to be changed.

Weakness

The product contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak.

Affected Software

Name Vendor Start Version End Version
Moodle Moodle * 2.7.15 (including)
Moodle Moodle 2.8.0 (including) 2.8.0 (including)
Moodle Moodle 2.8.1 (including) 2.8.1 (including)
Moodle Moodle 2.8.2 (including) 2.8.2 (including)
Moodle Moodle 2.8.3 (including) 2.8.3 (including)
Moodle Moodle 2.8.4 (including) 2.8.4 (including)
Moodle Moodle 2.8.5 (including) 2.8.5 (including)
Moodle Moodle 2.8.6 (including) 2.8.6 (including)
Moodle Moodle 2.8.7 (including) 2.8.7 (including)
Moodle Moodle 2.8.8 (including) 2.8.8 (including)
Moodle Moodle 2.8.9 (including) 2.8.9 (including)
Moodle Moodle 2.8.10 (including) 2.8.10 (including)
Moodle Moodle 2.8.11 (including) 2.8.11 (including)
Moodle Moodle 2.8.12 (including) 2.8.12 (including)
Moodle Moodle 2.9.0 (including) 2.9.0 (including)
Moodle Moodle 2.9.1 (including) 2.9.1 (including)
Moodle Moodle 2.9.2 (including) 2.9.2 (including)
Moodle Moodle 2.9.3 (including) 2.9.3 (including)
Moodle Moodle 2.9.4 (including) 2.9.4 (including)
Moodle Moodle 2.9.5 (including) 2.9.5 (including)
Moodle Moodle 2.9.6 (including) 2.9.6 (including)
Moodle Moodle 2.9.7 (including) 2.9.7 (including)
Moodle Moodle 3.0.0 (including) 3.0.0 (including)
Moodle Moodle 3.0.1 (including) 3.0.1 (including)
Moodle Moodle 3.0.2 (including) 3.0.2 (including)
Moodle Moodle 3.0.3 (including) 3.0.3 (including)
Moodle Moodle 3.0.4 (including) 3.0.4 (including)
Moodle Moodle 3.0.5 (including) 3.0.5 (including)
Moodle Moodle 3.1.0 (including) 3.1.0 (including)
Moodle Moodle 3.1.1 (including) 3.1.1 (including)
Moodle Ubuntu bionic *
Moodle Ubuntu cosmic *
Moodle Ubuntu disco *
Moodle Ubuntu eoan *
Moodle Ubuntu esm-apps/bionic *
Moodle Ubuntu esm-apps/xenial *
Moodle Ubuntu precise *
Moodle Ubuntu trusty *
Moodle Ubuntu upstream *
Moodle Ubuntu xenial *

Extended Description

It is common for an application to have a mechanism that provides a means for a user to gain access to their account in the event they forget their password. Very often the password recovery mechanism is weak, which has the effect of making it more likely that it would be possible for a person other than the legitimate system user to gain access to that user’s account. Weak password recovery schemes completely undermine a strong password authentication scheme. This weakness may be that the security question is too easy to guess or find an answer to (e.g. because the question is too common, or the answers can be found using social media). Or there might be an implementation weakness in the password recovery mechanism code that may for instance trick the system into e-mailing the new password to an e-mail account other than that of the user. There might be no throttling done on the rate of password resets so that a legitimate user can be denied service by an attacker if an attacker tries to recover their password in a rapid succession. The system may send the original password to the user rather than generating a new temporary password. In summary, password recovery functionality, if not carefully designed and implemented can often become the system’s weakest link that can be misused in a way that would allow an attacker to gain unauthorized access to the system.

Potential Mitigations

References