VDB
Sign up
MEDIUM

GHSA-f9m9-494r-w36p

Moodle allows bypass of intended access restrictions

Quick fix

GHSA-f9m9-494r-w36p — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.4.9

Details

mod/chat/chat_ajax.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 does not properly check for the mod/chat:chat capability during chat sessions, which allows remote authenticated users to bypass intended access restrictions in opportunistic circumstances by remaining in a chat session after an intra-session capability removal by an administrator.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 2.4.9
Fixcomposer require moodle/moodle:^2.4.9
Packagist/moodle/moodle
Introduced in: 2.5.0Fixed in: 2.5.5
Fixcomposer require moodle/moodle:^2.5.5
Packagist/moodle/moodle
Introduced in: 2.6.0Fixed in: 2.6.2
Fixcomposer require moodle/moodle:^2.6.2

References