Moodle’s mobile and web service authentication endpoints did not sufficiently restrict repeated password attempts, making them susceptible to brute-force attacks.
The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Moodle | Moodle | 4.1.0 (including) | 4.1.21 (excluding) |
| Moodle | Moodle | 4.4.0 (including) | 4.4.11 (excluding) |
| Moodle | Moodle | 4.5.0 (including) | 4.5.7 (excluding) |
| Moodle | Moodle | 5.0.0 (including) | 5.0.3 (excluding) |
Common protection mechanisms include:
Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid [REF-1482].
Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator. [REF-45]