VDB
Sign up
LOW

GHSA-cc94-hwj3-rf65

Moodle's login_as feature leaks information from external repositories

Quick fix

GHSA-cc94-hwj3-rf65 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.2.8

Details

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 allows remote authenticated administrators to obtain sensitive information from the external repositories of arbitrary users by leveraging the login_as feature.

Are you affected?

Enter the version of the package you're using.

Affected packages

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