SQL Injection Affecting moodle/moodle package, versions >=2.7.0, <2.7.19>=3.0.0, <3.0.9>=3.1.0, <3.1.5>=3.2.0, <3.2.2


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.47% (77th 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 SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-MOODLEMOODLE-6673173
  • published24 Apr 2024
  • disclosed17 May 2022
  • creditNetanel Rubin

Introduced: 17 May 2022

CVE-2017-2641  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade moodle/moodle to version 2.7.19, 3.0.9, 3.1.5, 3.2.2 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to SQL Injection due to improper sanitization of user-supplied input in the user preferences. An attacker can execute arbitrary SQL commands by crafting malicious input.

CVSS Scores

version 3.1