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

    Threat Intelligence

    EPSS
    0.04% (10th 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 ID SNYK-PHP-MOODLEMOODLE-7175990
  • published 2 Jun 2024
  • disclosed 31 May 2024
  • credit Petr Skoda

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
Expand this section

Snyk

Recommended
6.1 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None