CVE-2022-45152
Description
A blind Server-Side Request Forgery (SSRF) vulnerability was found in Moodle. This flaw exists due to insufficient validation of user-supplied input in LTI provider library. The library does not utilise Moodle's inbuilt cURL helper, which resulted in a blind SSRF risk. An attacker can send a specially crafted HTTP request and trick the application to initiate requests to arbitrary systems. This vulnerability allows a remote attacker to perform SSRF attacks.
How to fix
- moodle moodle3.9.18, 3.11.11, 4.0.5 or later
- moodle/moodle3.9.18, 3.11.11, 4.0.5 or later
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/74SXNGA5RIWM7QNX7H3G7SYIQLP4UUGV/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NLRJB5JNKK3VVBLV3NH3RI7COEDAXSAB/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2DHYIIAUXUBHMBEDYU7TYNZXEN2W2SA2/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| moodle moodle | v < 3.9.18, 3.11.0 ≤ v < 3.11.11, 4.0.0 ≤ v < 4.0.5 | 3.9.18, 3.11.11, 4.0.5 |
| fedoraproject extra_packages_for_enterprise_linux | 7.0 | — |
| fedoraproject fedora | 35, 36, 37 | — |
| moodle/moodlePackagist | 3.9 ≤ v < 3.9.18, 3.11 ≤ v < 3.11.11, 4.0 ≤ v < 4.0.5 | 3.9.18, 3.11.11, 4.0.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.