VDB
Sign up
HIGH7.5

GHSA-pgm5-cr62-prxq

Moodle Arbitrary file read when importing lesson questions

Quick fix

GHSA-pgm5-cr62-prxq — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.9.15

Details

The vulnerability was found in Moodle, occurs due to input validation error when importing lesson questions. This insufficient path checks results in arbitrary file read risk. This vulnerability allows a remote attacker to perform directory traversal attacks. The capability to access this feature is only available to teachers, managers and admins by default.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 3.9Fixed in: 3.9.15
Fixcomposer require moodle/moodle:^3.9.15
Packagist/moodle/moodle
Introduced in: 3.11Fixed in: 3.11.8
Fixcomposer require moodle/moodle:^3.11.8
Packagist/moodle/moodle
Introduced in: 4.0Fixed in: 4.0.2
Fixcomposer require moodle/moodle:^4.0.2

References