Cross-site Request Forgery (CSRF) Affecting moodle/moodle package, versions >=3.9.0, <3.9.18>=3.11.0, <3.11.11>=4.0.0, <4.0.5


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.21% (60th 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-3147065
  • published24 Nov 2022
  • disclosed23 Nov 2022
  • creditMichael Hawkins

Introduced: 23 Nov 2022

CVE-2022-45149  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade moodle/moodle to version 3.9.18, 3.11.11, 4.0.5 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) due to insufficient validation of the HTTP request origin in the course redirect URL. Exploiting this vulnerability is possible when a remote attacker can trick the victim into visiting a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website.

CVSS Scores

version 3.1