MEDIUM
GHSA-48rq-vj58-2mh6
Moodle creates a MoodleMobile web-service token with an infinite lifetime
Quick fix
GHSA-48rq-vj58-2mh6 — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^2.4.10Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-0214[ADVISORY]
- https://github.com/moodle/moodle/commit/14c16a416373f68c36b65f4653c0bd076eb0b290[WEB]
- https://github.com/moodle/moodle/commit/437240b5aa7719f1b8cce1e0f45ac0708c72cc23[WEB]
- https://github.com/moodle/moodle/commit/679e323aaab2a968b8e87862e1658814645db525[WEB]
- https://github.com/moodle/moodle/commit/b5b2eab6778bee166e20bc5eec0138d89795ac3d[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=260362[WEB]
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-43119[WEB]
- http://openwall.com/lists/oss-security/2014/05/19/1[WEB]