Cross-Site Request Forgery (CSRF) Affecting moodle/moodle package, versions >=2.7, <2.7.20 >=3.0, <3.0.10 >=3.1, <3.1.6 >=3.2, <3.2.3


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 0.07% (29th percentile)
Expand this section
NVD
4.3 medium

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-6673212
  • published 24 Apr 2024
  • disclosed 17 May 2022
  • credit Unknown

How to fix?

Upgrade moodle/moodle to version 2.7.20, 3.0.10, 3.1.6, 3.2.3 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 improper validation of user-supplied input in the "number of courses displayed in the course overview block" configuration setting. An attacker can manipulate this setting by tricking a user into submitting a forged request.

References