Insufficient Moodle app token isolation made it possible for a Moodle site being logged into the app to access secure-storage tokens for other Moodle sites the user already had configured in their Moodle mobile app. This could result in compromise of the user’s web service token if, for example, they were tricked into logging into a malicious Moodle site in the Moodle app via a deep-link.
The security issue affects the official Moodle mobile app and apps built using its codebase. Pre-configured apps that only connect to a set list of sites, such as official Branded Moodle Apps, are not affected by this issue.
To avoid leaving your mobile app users vulnerable, we highly recommend asking your users to upgrade to the latest available Moodle mobile app version, and for you to make the following configuration change on your Moodle site: Open “Site administration” > “General” > “Mobile app authentication” and set the “Minimum app version required” setting to 5.2.1.
| Severity/Risk: | Serious |
| Versions affected: | 5.2.0 and earlier unsupported versions |
| Versions fixed: | 5.2.1 |
| Reported by: | Wai Han |
| CVE identifier: | Pending (this information will be updated once available) |
| Changes (main): | https://github.com/search?q=repo%3Amoodlehq%2Fmoodleapp+MOBILE-5071&type=commits |
| Tracker issue: | MOBILE-5071 Site plugin can read web service tokens from other stored sites |