VDB
Sign up
MEDIUM

GHSA-xr24-jp5c-6c4v

Moodle reveals absolute path in exception message

Quick fix

GHSA-xr24-jp5c-6c4v — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.2.8

Details

lib/setuplib.php in Moodle through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 allows remote attackers to obtain sensitive information via an invalid request, which reveals the absolute path in an exception message.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0

No fixed version published yet for moodle/moodle (composer). Pin to a known-safe version or switch to an alternative.

Packagist/moodle/moodle
Introduced in: 2.2.0Fixed in: 2.2.8
Fixcomposer require moodle/moodle:^2.2.8
Packagist/moodle/moodle
Introduced in: 2.3.0Fixed in: 2.3.5
Fixcomposer require moodle/moodle:^2.3.5
Packagist/moodle/moodle
Introduced in: 2.4.0Fixed in: 2.4.2
Fixcomposer require moodle/moodle:^2.4.2

References