MSA-14-0002: Group constraints lacking in "login as"

MSA-14-0002: Group constraints lacking in "login as"

by Michael de Raadt -
Number of replies: 0
Description: Users were able to log in as a user who in a is not in the same group without the permission to see all groups.
Issue summary: Users with loginas permission and access all groups prohibited can login as user not in their group by direct url
Severity/Risk: Minor
Versions affected: 2.6, 2.5 to 2.5.4, 2.4 to 2.4.7, 2.3 to 2.3.10 and earlier unsupported versions
Versions fixed: 2.6.1, 2.5.4, 2.4.8 and 2.3.11
Reported by: Itamar Tzadok
Issue no.: MDL-42643
CVE identifier: CVE-2014-0009
Changes (master): http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-42643