Cross-Site Request Forgery (CSRF) Affecting moodle/moodle package, versions <2.7.14>=2.8.0-beta, <2.8.12>=2.9.0-beta, <2.9.6>=3.0.0-beta, <3.0.4


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.24% (63rd 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-6208119
  • published28 Jan 2024
  • disclosed13 May 2022
  • creditAndrew Nicols

Introduced: 13 May 2022

CVE-2016-3734  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade moodle/moodle to version 2.7.14, 2.8.12, 2.9.6, 3.0.4 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF) via the markposts.php script. An attacker can hijack the authentication of users for requests that mark forum posts as read by convincing a user to click on a specially crafted link or visit a malicious website.