Improper Control of Generation of Code ('Code Injection') Affecting moodle/moodle package, versions >=3.5, <3.5.16 >=3.8, <3.8.7 >=3.9, <3.9.4 >=3.10, <3.10.1
Snyk CVSS
Attack Complexity
Low
Privileges Required
High
Confidentiality
High
Integrity
High
Availability
High
Threat Intelligence
EPSS
0.09% (39th
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 ID SNYK-PHP-MOODLEMOODLE-6673172
- published 24 Apr 2024
- disclosed 24 May 2022
- credit Frédéric Massart
How to fix?
Upgrade moodle/moodle
to version 3.5.16, 3.8.7, 3.9.4, 3.10.1 or higher.
Overview
moodle/moodle is a learning platform.
Affected versions of this package are vulnerable to Improper Control of Generation of Code ('Code Injection') via a PHP include used during Shibboleth authentication. An attacker can execute arbitrary PHP scripts by exploiting the configuration settings for Shibboleth authentication. This is only exploitable if the attacker has site administrator privileges.