A flaw was found in Moodle. Incorrect handling of IPv4-mapped IPv6 addresses within the URL downloaders host-blocking logic allows an authenticated remote user to bypass blocked-host restrictions. By supplying a crafted URL, an attacker can induce the server to make requests to restricted destinations, leading to Server-Side Request Forgery (SSRF).
The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
| 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) |