VDB
Sign up
MEDIUM5.3

GHSA-v9xq-vh72-chr4

Moodle Unauthenticated users can trigger custom messages to admin via paypal enrol script

Quick fix

GHSA-v9xq-vh72-chr4 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.1.11

Details

A flaw was found in Moodle 3.4 to 3.4.1, 3.3 to 3.3.4, 3.2 to 3.2.7, 3.1 to 3.1.10 and earlier unsupported versions. Unauthenticated users can trigger custom messages to admin via paypal enrol script. Paypal IPN callback script should only send error emails to admin after request origin was verified, otherwise admin email can be spammed.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 3.1Fixed in: 3.1.11
Fixcomposer require moodle/moodle:^3.1.11
Packagist/moodle/moodle
Introduced in: 3.2Fixed in: 3.2.8
Fixcomposer require moodle/moodle:^3.2.8
Packagist/moodle/moodle
Introduced in: 3.3Fixed in: 3.3.5
Fixcomposer require moodle/moodle:^3.3.5
Packagist/moodle/moodle
Introduced in: 3.4Fixed in: 3.4.2
Fixcomposer require moodle/moodle:^3.4.2

References