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


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    Exploit Maturity Mature
    EPSS 0.47% (76th percentile)
Expand this section
NVD
9.8 critical

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-6673173
  • published 24 Apr 2024
  • disclosed 17 May 2022
  • credit Netanel Rubin

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.