VDB
Sign up
LOW3.1

GHSA-g88w-v4cq-qgcp

Moodle has an IDOR in badges allows disabling of arbitrary badges

Quick fix

GHSA-g88w-v4cq-qgcp — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.5.2

Details

Insufficient capability checks made it possible to disable badges a user does not have permission to access.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 4.5.0-betaFixed in: 4.5.2
Fixcomposer require moodle/moodle:^4.5.2
Packagist/moodle/moodle
Introduced in: 4.4.0-betaFixed in: 4.4.6
Fixcomposer require moodle/moodle:^4.4.6
Packagist/moodle/moodle
Introduced in: 4.3.0-betaFixed in: 4.3.10
Fixcomposer require moodle/moodle:^4.3.10
Packagist/moodle/moodle
Introduced in: 0Fixed in: 4.1.16
Fixcomposer require moodle/moodle:^4.1.16

References