VDB
Sign up
MEDIUM4.3

GHSA-qhc7-xhc2-7p7w

Moodle self enrollment available before completing second factor with MFA enabled

Quick fix

GHSA-qhc7-xhc2-7p7w — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.3.12

Details

A security vulnerability was discovered in Moodle that allows students to enroll themselves in courses without completing all the necessary safety checks. Specifically, users can sign up for courses prematurely, even if they haven't finished two-step verification processes.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 4.3.0-betaFixed in: 4.3.12
Fixcomposer require moodle/moodle:^4.3.12
Packagist/moodle/moodle
Introduced in: 4.4.0-betaFixed in: 4.4.8
Fixcomposer require moodle/moodle:^4.4.8
Packagist/moodle/moodle
Introduced in: 4.5.0-betaFixed in: 4.5.4
Fixcomposer require moodle/moodle:^4.5.4

References