Description
Moodle 3.x has Server Side Request Forgery in the filepicker.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Moodle 3.x | Moodle 3.x | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | moodle | No fix yet | — |
| Ubuntu Pro 16.04 LTS | moodle | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Moodle Filepicker 3.5.2 - Server Side Request Forgery EDB-47177 · webapps · Jul 26, 2019
GitHub 1 repository
-
UDPsycho/Moodle-CVE-2018-1042 ★ 2 · Jul 30, 2022
Script to exploit CVE-2018-1042 in order to do internal port scans.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | >= 3.4, < 3.4.1 | 3.4.1 | GHSA-qqjv-mc2v-p7mc |
| Packagist | moodle/moodle | >= 3.3, < 3.3.4 | 3.3.4 | GHSA-qqjv-mc2v-p7mc |
| Packagist | moodle/moodle | >= 3.2, < 3.2.7 | 3.2.7 | GHSA-qqjv-mc2v-p7mc |
| Packagist | moodle/moodle | >= 3.1, < 3.1.10 | 3.1.10 | GHSA-qqjv-mc2v-p7mc |