A flaw was found in Moodle. An authenticated attacker can supply an improperly validated audience class name to the Report Builder component, allowing arbitrary class instantiation. This vulnerability enables the unauthorized creation of internal program objects, which may result in unexpected application behavior.
The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.
| 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) |