VDB
Sign up
HIGH7.2

GHSA-2jrm-gww7-wch2

Moodle Arbitrary PHP code execution by site admins via Shibboleth configuration

Quick fix

GHSA-2jrm-gww7-wch2 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.5.16

Details

It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 and 3.5.16 that it was possible for site administrators to execute arbitrary PHP scripts via a PHP include used during Shibboleth authentication.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 3.5Fixed in: 3.5.16
Fixcomposer require moodle/moodle:^3.5.16
Packagist/moodle/moodle
Introduced in: 3.8Fixed in: 3.8.7
Fixcomposer require moodle/moodle:^3.8.7
Packagist/moodle/moodle
Introduced in: 3.9Fixed in: 3.9.4
Fixcomposer require moodle/moodle:^3.9.4
Packagist/moodle/moodle
Introduced in: 3.10Fixed in: 3.10.1
Fixcomposer require moodle/moodle:^3.10.1

References