VDB
Sign up
MEDIUM6.3

GHSA-49mv-vfcp-8gg9

Moodle vulnerable to SQL Injection

Quick fix

GHSA-49mv-vfcp-8gg9 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.2.1

Details

A limited SQL injection risk was identified on the Mnet SSO access control page. This flaw affects Moodle versions 4.2, 4.1 to 4.1.3, 4.0 to 4.0.8, 3.11 to 3.11.14, 3.9 to 3.9.21 and earlier unsupported versions.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 4.2.0Fixed in: 4.2.1
Fixcomposer require moodle/moodle:^4.2.1
Packagist/moodle/moodle
Introduced in: 4.1.0Fixed in: 4.1.4
Fixcomposer require moodle/moodle:^4.1.4
Packagist/moodle/moodle
Introduced in: 4.0.0Fixed in: 4.0.9
Fixcomposer require moodle/moodle:^4.0.9
Packagist/moodle/moodle
Introduced in: 3.10.0Fixed in: 3.11.15
Fixcomposer require moodle/moodle:^3.11.15
Packagist/moodle/moodle
Introduced in: 0Fixed in: 3.9.22
Fixcomposer require moodle/moodle:^3.9.22

References