Moodle is susceptible to unauthorized overwrites. The vulnerability is possible because of a flaw in the restore teacher
feature which allows unauthorized overwriting of Course idnumber
by the authenticated users.
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-51369
www.openwall.com/lists/oss-security/2016/05/17/4
www.securitytracker.com/id/1035902
bugzilla.redhat.com/show_bug.cgi?id=1335933
git.moodle.org/gw?p=moodle.git;a=commit;h=68bf1ff4b37e792f4efd9e9631d687e4e9a181eb
github.com/moodle/moodle/commit/24b0c3c86ae96e46b87d6e9d6bcf4a6014dae8f0#diff-9f8004472b4dd966811fc19aa7d749a9R1479
security-tracker.debian.org/tracker/CVE-2016-3733