Improper Authentication Affecting moodle/moodle package, versions <4.1.13>=4.2.0, <4.2.10>=4.3.0, <4.3.7>=4.4.0, <4.4.3


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th 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 Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-MOODLEMOODLE-8399900
  • published20 Nov 2024
  • disclosed20 Nov 2024
  • creditTaiYou

Introduced: 20 Nov 2024

CVE-2024-45691  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade moodle/moodle to version 4.1.13, 4.2.10, 4.3.7, 4.4.3 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Improper Authentication due to a loose comparison in the password-checking logic to access the Lesson activity.

Note: This only affects passwords that are set to "magic hash" values.

Workaround

Users who cannot upgrade to the fixed version are advised to avoid using passwords that are considered to be a "magic hash" value (such as those beginning with 0e followed by digits).

CVSS Scores

version 4.0
version 3.1