VDB
Sign up
MEDIUM

GHSA-6p3g-hw27-qh44

Moodle's time-validation implementation allows bypassing intended restrictions

Quick fix

GHSA-6p3g-hw27-qh44 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.4.9

Details

The time-validation implementation in (1) mod/feedback/complete.php and (2) mod/feedback/complete_guest.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 allows remote authenticated users to bypass intended restrictions on starting a Feedback activity by choosing an unavailable time.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 2.4.9
Fixcomposer require moodle/moodle:^2.4.9
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