Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
58.76 KB
MD5: fc06f88981275c03104bae7615c17dbe
SHA-1: 5c86ea221717e602430443b817d357d00909d81a
SHA-256: 450e346f30b3811823a834af17accc65ad676761a6b8c5e0d9174d45f69413b7
Download zip
120.52 KB
MD5: 72ca921edf0e4c56265bf4ea7a6ae55a
SHA-1: 2506e59e9e06ebd5adbc7123b76835bd0f27bf65
SHA-256: 1f8039a76219913e021fabff356e9757b809b95a35f40badd35b56b5da459293
Release notes
Moodle Sync User now creates every Moodle account with a random password of its own, instead of one fixed password for all accounts.
Security
- Moodle wants a password with every new account. Until now, Moodle Sync User sent the same fixed password, which is in the module's code, for every account it created. With an internal authentication method of Moodle, such as manual accounts, that password is the account's password, so anybody who knew a username could sign in to Moodle with it. Each new account now gets 32 random characters plus a suffix that meets Moodle's default password policy. Nobody learns the password; users set their own in Moodle.
- With an external authentication method, such as OAuth 2, Moodle does not keep the password, and sites using one were not affected.
Upgrading
There are no database updates. Moodle accounts created by earlier versions with an internal authentication method still have the former fixed password: set new passwords for them, or move them to an authentication method without a Moodle password.