Moodle creates a MoodleMobile web-service token with an infinite lifetime
Moderate severity
GitHub Reviewed
Published
May 13, 2022
to the GitHub Advisory Database
•
Updated Jan 24, 2024
Package
Affected versions
< 2.4.10
>= 2.5.0, < 2.5.6
>= 2.6.0, < 2.6.3
Patched versions
2.4.10
2.5.6
2.6.3
Description
Published by the National Vulnerability Database
May 27, 2014
Published to the GitHub Advisory Database
May 13, 2022
Reviewed
Jan 24, 2024
Last updated
Jan 24, 2024
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