VDB
Sign up
MEDIUM

GHSA-wp3g-pr4h-q6vv

Moodle does not enforce capability requirements for reading blog comments

Quick fix

GHSA-wp3g-pr4h-q6vv — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.2.10

Details

Moodle through 2.1.10, 2.2.x before 2.2.10, 2.3.x before 2.3.7, and 2.4.x before 2.4.4 does not enforce capability requirements for reading blog comments, which allows remote attackers to obtain sensitive information via a crafted request.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 2.2.10
Fixcomposer require moodle/moodle:^2.2.10
Packagist/moodle/moodle
Introduced in: 2.3.0Fixed in: 2.3.7
Fixcomposer require moodle/moodle:^2.3.7
Packagist/moodle/moodle
Introduced in: 2.4.0Fixed in: 2.4.4
Fixcomposer require moodle/moodle:^2.4.4

References