VDB
Sign up
MEDIUM

GHSA-8g5h-gjwq-w5ch

Moodle Logout CSRF in admin/tool/mfa/auth.php

Quick fix

GHSA-8g5h-gjwq-w5ch — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.3.4

Details

The logout option within MFA did not include the necessary token to avoid the risk of users inadvertently being logged out via CSRF.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 4.3.0Fixed in: 4.3.4
Fixcomposer require moodle/moodle:^4.3.4

References