Weak Password Recovery Mechanism for Forgotten Password Affecting moodle/moodle package, versions <2.7.16>=2.9, <2.9.8>=3.0, <3.0.6>=3.1, <3.1.2


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Weak Password Recovery Mechanism for Forgotten Password vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-MOODLEMOODLE-6673226
  • published24 Apr 2024
  • disclosed13 May 2022
  • creditJuan Leyva

Introduced: 13 May 2022

CVE-2016-7038  (opens in a new tab)
CWE-640  (opens in a new tab)

How to fix?

Upgrade moodle/moodle to version 2.7.16, 2.9.8, 3.0.6, 3.1.2 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Weak Password Recovery Mechanism for Forgotten Password due to the weak password recovery mechanism for forgotten passwords. An attacker can exploit this vulnerability by leveraging the fact that web service tokens are not invalidated when the user's password is changed or forced to be changed.