Moodle creates a MoodleMobile web-service token with an infinite lifetime
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 2.4.10Ecosystem versions | 2.4.10 |
| From 2.5.0 before 2.5.6Ecosystem versions | 2.5.6 |
| From 2.6.0 before 2.6.3Ecosystem versions | 2.6.3 |
Version evidence: OSV · GHSA-48rq-vj58-2mh6
View original version evidence (28 explicit versions)
Original source description
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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2014-0214
- Patch github.com/moodle/moodle/commit/14c16a416373f68c36b65f4653c0bd076eb0b290
- Patch github.com/moodle/moodle/commit/437240b5aa7719f1b8cce1e0f45ac0708c72cc23
- Patch github.com/moodle/moodle/commit/679e323aaab2a968b8e87862e1658814645db525
- Patch github.com/moodle/moodle/commit/b5b2eab6778bee166e20bc5eec0138d89795ac3d
- Source reference github.com/moodle/moodle
- Source reference moodle.org/mod/forum/discuss.php
- Source reference git.moodle.org/gw
- Security advisory openwall.com/lists/oss-security/2014/05/19/1