Cross-Site Request Forgery (CSRF) Affecting moodle/moodle package, versions <4.1.11>=4.2.0, <4.2.8>=4.3.0, <4.3.5>=4.4.0, <4.4.1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (24th 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 Cross-Site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-MOODLEMOODLE-7283604
  • published20 Jun 2024
  • disclosed18 Jun 2024
  • creditVincent Schneider (cli-ish)

Introduced: 18 Jun 2024

CVE-2024-38276  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade moodle/moodle to version 4.1.11, 4.2.8, 4.3.5, 4.4.1 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF) due to misuse of confirm_sesskey. An attacker can manipulate the application state by sending crafted requests that appear to be legitimate due to improper CSRF token validation.

CVSS Scores

version 4.0
version 3.1