VDB
Sign up
MEDIUM

GHSA-966m-m549-2878

Moodle is vulnerable to unauthorized new accounts creation

Quick fix

GHSA-966m-m549-2878 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^1.8.12

Details

Moodle 1.8.x and 1.9.x before 1.9.8 can create new roles when restoring a course, which allows teachers to create new accounts even if they do not have the moodle/user:create capability.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 1.8.0Fixed in: 1.8.12
Fixcomposer require moodle/moodle:^1.8.12
Packagist/moodle/moodle
Introduced in: 1.9.0Fixed in: 1.9.8
Fixcomposer require moodle/moodle:^1.9.8

References