VDB
Sign up
MEDIUM

GHSA-fp4h-j22r-vwcv

Moodle allows attackers to obtain sensitive course information

Quick fix

GHSA-fp4h-j22r-vwcv — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.6.9

Details

lib/moodlelib.php in Moodle through 2.5.9, 2.6.x before 2.6.9, 2.7.x before 2.7.6, and 2.8.x before 2.8.4, when the theme uses the blocks-regions feature, establishes the course state at an incorrect point in the login-validation process, which allows remote attackers to obtain sensitive course information via unspecified vectors.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 2.6.9
Fixcomposer require moodle/moodle:^2.6.9
Packagist/moodle/moodle
Introduced in: 2.7.0Fixed in: 2.7.6
Fixcomposer require moodle/moodle:^2.7.6
Packagist/moodle/moodle
Introduced in: 2.8.0Fixed in: 2.8.4
Fixcomposer require moodle/moodle:^2.8.4

References