CVE-2022-45152Moodle
Critical 9.1 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- No
- Published
- Nov 25, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Moodle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 3.9 < 3.9.18 |
3.9.18 |
composer require "moodle/moodle:^3.9.18" |
| Packagist | moodle/moodle |
≥ 3.11 < 3.11.11 |
3.11.11 |
composer require "moodle/moodle:^3.11.11" |
| Packagist | moodle/moodle |
≥ 4.0 < 4.0.5 |
4.0.5 |
composer require "moodle/moodle:^4.0.5" |
Per OSV / GitHub Advisories (GHSA-xqcf-vgqc-pcmg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | < 3.9.18 |
| moodle | moodle | ≥ 3.11.0 < 3.11.11 |
| moodle | moodle | ≥ 4.0.0 < 4.0.5 |
| fedoraproject | extra_packages_for_enterprise_linux | 7.0 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
| fedoraproject | fedora | 37 |
Official sources
References
Links published by the sources. Open them with care.