VDB
Sign up
MEDIUM

GHSA-8vjj-wf73-w882

Moodle Incorrect Default Settings

Quick fix

GHSA-8vjj-wf73-w882 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.0.2

Details

The default configuration of Moodle 2.0.x before 2.0.2 has an incorrect setting of the `moodle/course:delete` capability, which allows remote authenticated users to delete arbitrary courses by leveraging the teacher role.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 2.0Fixed in: 2.0.2
Fixcomposer require moodle/moodle:^2.0.2

References