A flaw was found in Moodle. An incorrect capability check in the artificial intelligence (AI) editor placements image generation web service allows an authenticated user to invoke the feature without holding the required capability. This flaw permits unauthorized users to access and utilize the AI image generation functionality.
The web application does not adequately enforce appropriate authorization on all restricted URLs, scripts, or files.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Moodle | Moodle | * | 4.5.13 (excluding) |
| Moodle | Moodle | 5.0.0 (including) | 5.0.9 (excluding) |
| Moodle | Moodle | 5.1.0 (including) | 5.1.6 (excluding) |
| Moodle | Moodle | 5.2.0 (including) | 5.2.2 (excluding) |