Cross-Site Request Forgery (CSRF) Affecting moodle/moodle package, versions >=4.3.0, <4.3.4


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

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

Start learning
  • Snyk IDSNYK-PHP-MOODLEMOODLE-7175990
  • published2 Jun 2024
  • disclosed31 May 2024
  • creditPetr Skoda

Introduced: 31 May 2024

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

How to fix?

Upgrade moodle/moodle to version 4.3.4 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF) due to the absence of a security token in the logout functionality. An attacker can force a user to log out by crafting malicious requests that mimic legitimate logout requests.

CVSS Scores

version 3.1