VDB
Sign up
MEDIUM

GHSA-w66h-c2vj-cm7f

Moodle Authentication Bypass in File Upload

Quick fix

GHSA-w66h-c2vj-cm7f — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.3.1

Details

Moodle 2.3.x before 2.3.1 uses only a client-side check for whether references are permitted in a file upload, which allows remote authenticated users to bypass intended alias (aka shortcut) restrictions via a client that omits this check.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 2.3Fixed in: 2.3.1
Fixcomposer require moodle/moodle:^2.3.1

References