VDB
Sign up
MEDIUM6.5

GHSA-r99q-hmqv-xw8w

Moodle Authenticated LFI risk in some misconfigured shared hosting environments

Quick fix

GHSA-r99q-hmqv-xw8w — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.3.4

Details

In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user with both access to restore database activity modules and direct access to the web server outside of the Moodle webroot could execute a local file include.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 4.3.0Fixed in: 4.3.4
Fixcomposer require moodle/moodle:^4.3.4
Packagist/moodle/moodle
Introduced in: 4.2.0Fixed in: 4.2.7
Fixcomposer require moodle/moodle:^4.2.7
Packagist/moodle/moodle
Introduced in: 0Fixed in: 4.1.10
Fixcomposer require moodle/moodle:^4.1.10

References