badges/mybadges.php in Moodle 2.5.x before 2.5.5 and 2.6.x before 2.6.2 does not properly track the user to whom a badge was issued, which allows remote authenticated users to modify the visibility of an arbitrary badge via unspecified vectors.
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-44140
openwall.com/lists/oss-security/2014/03/17/1
github.com/moodle/moodle
github.com/moodle/moodle/commit/100ec861820ce763d4f25a9f98649bb1ae17e7a5
github.com/moodle/moodle/commit/28c8ac2c4a8d831f0efd653fa499a5d2384e6e88
github.com/moodle/moodle/commit/c5d7d20f40a71e23d951c7272675a19fef170fbe
moodle.org/mod/forum/discuss.php?d=256424
nvd.nist.gov/vuln/detail/CVE-2014-0129