VDB
Sign up
MEDIUM

GHSA-47cw-whh9-j2fq

Moodle allows attacks to obtain sensitive information

Quick fix

GHSA-47cw-whh9-j2fq — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.6.6

Details

lib/phpunit/bootstrap.php in Moodle 2.6.x before 2.6.6 and 2.7.x before 2.7.3 allows remote attackers to obtain sensitive information via a direct request, which reveals the full path in an error message.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 2.6.0Fixed in: 2.6.6
Fixcomposer require moodle/moodle:^2.6.6
Packagist/moodle/moodle
Introduced in: 2.7.0Fixed in: 2.7.3
Fixcomposer require moodle/moodle:^2.7.3

References