VDB
Sign up
MEDIUM6.5

GHSA-vxmv-74rf-vqgp

Moodle Portfolio forum caller class allows a user to download any file

Quick fix

GHSA-vxmv-74rf-vqgp — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.1.12

Details

An issue was discovered in Moodle 3.x. Students who posted on forums and exported the posts to portfolios can download any stored Moodle file by changing the download URL.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 3.1Fixed in: 3.1.12
Fixcomposer require moodle/moodle:^3.1.12
Packagist/moodle/moodle
Introduced in: 3.2Fixed in: 3.2.9
Fixcomposer require moodle/moodle:^3.2.9
Packagist/moodle/moodle
Introduced in: 3.3Fixed in: 3.3.6
Fixcomposer require moodle/moodle:^3.3.6
Packagist/moodle/moodle
Introduced in: 3.4Fixed in: 3.4.3
Fixcomposer require moodle/moodle:^3.4.3

References