VDB
Sign up
MEDIUM6.5

GHSA-r82w-3phg-qvr4

Moodle uses the same key for QR login and auto-login

Quick fix

GHSA-r82w-3phg-qvr4 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.4.1

Details

A unique key should be generated for a user's QR login key and their auto-login key, so the same key cannot be used interchangeably between the two.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 4.4.0-betaFixed in: 4.4.1
Fixcomposer require moodle/moodle:^4.4.1
Packagist/moodle/moodle
Introduced in: 4.3.0-betaFixed in: 4.3.5
Fixcomposer require moodle/moodle:^4.3.5
Packagist/moodle/moodle
Introduced in: 4.2.0-betaFixed in: 4.2.8
Fixcomposer require moodle/moodle:^4.2.8
Packagist/moodle/moodle
Introduced in: 0Fixed in: 4.1.11
Fixcomposer require moodle/moodle:^4.1.11

References