VDB
Sign up
HIGH7.5

GHSA-wwjf-gwrv-wh45

Moodle's IDOR in badges allows deletion of arbitrary badges

Quick fix

GHSA-wwjf-gwrv-wh45 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.1.12

Details

A vulnerability was found in Moodle. Insufficient capability checks made it possible to delete badges that 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: 0Fixed in: 4.1.12
Fixcomposer require moodle/moodle:^4.1.12
Packagist/moodle/moodle
Introduced in: 4.2.0-betaFixed in: 4.2.9
Fixcomposer require moodle/moodle:^4.2.9
Packagist/moodle/moodle
Introduced in: 4.3.0-betaFixed in: 4.3.6
Fixcomposer require moodle/moodle:^4.3.6
Packagist/moodle/moodle
Introduced in: 4.4.0-betaFixed in: 4.4.2
Fixcomposer require moodle/moodle:^4.4.2

References