Every CVE Search/ Get API key

CVE-2016-7038

Moodle Weak Password Recovery Mechanism for Forgotten Password

7.3 HighFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

0.97%Up 0.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.3

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

Record
CVE-2016-7038
CVSS 3.0
7.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-640
Updated
2026-11-02
CVE List No score

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

Record
CVE-2016-7038
Updated
2026-11-02
EUVDEUVD-2022-2024 No score

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

Record
EUVD-2022-2024
Updated
2026-11-03
GitHub AdvisoriesGHSA-2phx-w35g-x9vm 7.3

Moodle Weak Password Recovery Mechanism for Forgotten Password

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

Record
GHSA-2phx-w35g-x9vm
CVSS 3.0
7.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-640
Updated
2026-11-02
OSV 7.3

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

Record
CVE-2016-7038
CVSS 3.0
7.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVGHSA-2phx-w35g-x9vm 7.3

Moodle Weak Password Recovery Mechanism for Forgotten Password

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

Record
GHSA-2phx-w35g-x9vm
CVSS 3.0
7.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-640
Updated
2026-11-02
OSVUBUNTU-CVE-2016-7038 7.3

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

Record
UBUNTU-CVE-2016-7038
CVSS 3.0
7.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
moodle/moodle
Packagist
2.7 up to 2.7.16
2.7.16
moodle/moodle
Packagist
2.9 up to 2.9.8
2.9.8
moodle/moodle
Packagist
3.0 up to 3.0.6
3.0.6
moodle/moodle
Packagist
3.1 up to 3.1.2
3.1.2
moodle/moodle
Packagist
2.7 up to 2.7.16, plus listed versions
v2.7.0v2.7.0-betav2.7.0-rc1v2.7.0-rc2v2.7.1
Show 14 moreShow less
v2.7.10v2.7.11v2.7.12v2.7.13v2.7.14v2.7.15v2.7.2v2.7.3v2.7.4v2.7.5v2.7.6v2.7.7v2.7.8v2.7.9
2.7.16
moodle/moodle
Packagist
2.9 up to 2.9.8, plus listed versions
v2.9.0v2.9.0-betav2.9.0-rc1v2.9.0-rc2v2.9.1
Show 6 moreShow less
v2.9.2v2.9.3v2.9.4v2.9.5v2.9.6v2.9.7
2.9.8
moodle/moodle
Packagist
3.0 up to 3.0.6, plus listed versions
v3.0.0v3.0.0-betav3.0.0-rc1v3.0.0-rc2v3.0.0-rc3
Show 6 moreShow less
v3.0.0-rc4v3.0.1v3.0.2v3.0.3v3.0.4v3.0.5
3.0.6
moodle/moodle
Packagist
3.1 up to 3.1.2, plus listed versions
v3.1.0v3.1.0-betav3.1.0-rc1v3.1.0-rc2v3.1.1
3.1.2
moodle
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
2.7.9+dfsg-12.7.10+dfsg-12.7.11+dfsg-12.7.11+dfsg-22.7.12+dfsg-13.0.3+dfsg-0ubuntu13.0.3+dfsg-0ubuntu1+esm1
None known
moodle
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
3.0.3+dfsg-0ubuntu13.0.3+dfsg-0ubuntu1+esm1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2016-7038 is a high vulnerability (CVSS 7.3) in Moodle, published January 20, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.97%, the 62nd percentile. Fixed in moodle/moodle 2.7.16.

References

MoveEnter Open