login/token.php in Moodle through 2.3.11, 2.4.x before 2.4.10, 2.5.x before 2.5.6, and 2.6.x before 2.6.3 creates a MoodleMobile web-service token with an infinite lifetime, which makes it easier for remote attackers to hijack sessions via a brute-force attack.
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-43119
openwall.com/lists/oss-security/2014/05/19/1
github.com/moodle/moodle
github.com/moodle/moodle/commit/14c16a416373f68c36b65f4653c0bd076eb0b290
github.com/moodle/moodle/commit/437240b5aa7719f1b8cce1e0f45ac0708c72cc23
github.com/moodle/moodle/commit/679e323aaab2a968b8e87862e1658814645db525
github.com/moodle/moodle/commit/b5b2eab6778bee166e20bc5eec0138d89795ac3d
moodle.org/mod/forum/discuss.php?d=260362
nvd.nist.gov/vuln/detail/CVE-2014-0214