MSA-21-0025: Messaging web service allows deletion of other users' messages

by Michael Hawkins.  

Insufficient capability checks meant message deletions were not limited to the current user.


Severity/Risk:Serious
Versions affected:3.11, 3.10 to 3.10.4, 3.9 to 3.9.7 and earlier unsupported versions
Versions fixed:3.11.1, 3.10.5 and 3.9.8
Reported by:0xkasper
CVE identifier:CVE-2021-36397
Changes (master):http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-71917
Tracker issue:MDL-71917 Messaging web service allows deletion of other users' messages

Read more https://moodle.org/mod/forum/discuss.php?d=424803&parent=1710822