VDB
Sign up
MEDIUM

GHSA-5rr5-fxhc-jv64

Moodle allows attackers to modify the visibility of a badge

Quick fix

GHSA-5rr5-fxhc-jv64 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.5.5

Details

badges/mybadges.php in Moodle 2.5.x before 2.5.5 and 2.6.x before 2.6.2 does not properly track the user to whom a badge was issued, which allows remote authenticated users to modify the visibility of an arbitrary badge via unspecified vectors.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 2.5.0Fixed in: 2.5.5
Fixcomposer require moodle/moodle:^2.5.5
Packagist/moodle/moodle
Introduced in: 2.6.0Fixed in: 2.6.2
Fixcomposer require moodle/moodle:^2.6.2

References