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.1Details
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.1Fix
composer require moodle/moodle:^4.4.1Packagist/moodle/moodle
Introduced in:
4.3.0-betaFixed in: 4.3.5Fix
composer require moodle/moodle:^4.3.5Packagist/moodle/moodle
Introduced in:
4.2.0-betaFixed in: 4.2.8Fix
composer require moodle/moodle:^4.2.8References
- https://nvd.nist.gov/vuln/detail/CVE-2024-38277[ADVISORY]
- https://github.com/moodle/moodle/commit/0caedaab7cd5a46331d56654ce9301b0a5a04c56[WEB]
- https://github.com/moodle/moodle/commit/1aea4a15281d81f2414a95aa485b8a6551708f57[WEB]
- https://github.com/moodle/moodle/commit/ad46a97f5355f0451d52e9f1a0f528d9a6f12e06[WEB]
- https://github.com/moodle/moodle/commit/d05795db8eece2943241a29a5443fb4685ba6070[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F7AZYR7EXV6E5SQE2GYTNQE3NOENJCQ6[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GHTIX55J4Q4LEOMLNEA4OZSWVEENQX7E[WEB]
- https://moodle.org/mod/forum/discuss.php?d=459502[WEB]