VDB
Sign up
MEDIUM

GHSA-pgp5-rcwp-qvfg

Moodle includes the WebDAV password in the configuration form

Quick fix

GHSA-pgp5-rcwp-qvfg — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.2.8

Details

repository/webdav/lib.php in Moodle 2.x 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 includes the WebDAV password in the configuration form, which allows remote authenticated administrators to obtain sensitive information by configuring an instance.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 2.0.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