VDB
Sign up
MEDIUM

GHSA-8r7x-qq55-74v2

Moodle does not enforce the forceloginforprofiles setting

Quick fix

GHSA-8r7x-qq55-74v2 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.2.8

Details

`user/view.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 does not enforce the `forceloginforprofiles` setting, which allows remote attackers to obtain sensitive course-profile information by leveraging the guest role, as demonstrated by a Google search.

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