VDB
Sign up
MEDIUM

GHSA-8rc7-4qfv-4484

Moodle does not properly restrict file access

Quick fix

GHSA-8rc7-4qfv-4484 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.4.10

Details

The My Home implementation in the block_html_pluginfile function in blocks/html/lib.php in Moodle through 2.3.11, 2.4.x before 2.4.10, 2.5.x before 2.5.6, and 2.6.x before 2.6.3 does not properly restrict file access, which allows remote attackers to obtain sensitive information by visiting an HTML block.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 2.4.10
Fixcomposer require moodle/moodle:^2.4.10
Packagist/moodle/moodle
Introduced in: 2.5.0Fixed in: 2.5.6
Fixcomposer require moodle/moodle:^2.5.6
Packagist/moodle/moodle
Introduced in: 2.6.0Fixed in: 2.6.3
Fixcomposer require moodle/moodle:^2.6.3

References