Description: | Capability check to view other badges was performed for the current user instead for the user whose badges are being viewed |
Issue summary: | Badges code checks viewotherbadges capability in the wrong context |
Severity/Risk: | Minor |
Versions affected: | 3.0 to 3.0.3, 2.9 to 2.9.5, 2.8 to 2.8.11, 2.7 to 2.7.13 and earlier unsupported versions |
Versions fixed: | 3.0.4, 2.9.6 and 2.8.12 |
Reported by: | Tim Hunt |
Issue no.: | MDL-53589 |
CVE identifier: | CVE-2016-3732 |
Changes (master): | http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-53589 |
MSA-16-0016: User can view badges of other users without proper permissions
by Marina Glancy -
Number of replies: 0