CVE-2018-1042
Moodle SSRF Vulnerability
Moodle 3.x has Server Side Request Forgery in the filepicker.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.5
Moodle 3.x has Server Side Request Forgery in the filepicker.
- Record
CVE-2018-1042- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 4.0 Medium
AV:N/AC:L/Au:S/C:P/I:N/A:N - Weakness
- CWE-918
- Updated
- 2026-11-02
CVE List No score
Moodle 3.x has Server Side Request Forgery in the filepicker.
- Record
CVE-2018-1042- Updated
- 2026-11-02
EUVDEUVD-2022-5017 No score
Moodle 3.x has Server Side Request Forgery in the filepicker.
- Record
EUVD-2022-5017- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-qqjv-mc2v-p7mc
6.5
Moodle SSRF Vulnerability
Moodle 3.x has Server Side Request Forgery in the filepicker.
- Record
GHSA-qqjv-mc2v-p7mc- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-918
- Updated
- 2026-11-02
OSV
6.5
Moodle 3.x has Server Side Request Forgery in the filepicker.
- Record
CVE-2018-1042- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-qqjv-mc2v-p7mc
6.5
Moodle SSRF Vulnerability
Moodle 3.x has Server Side Request Forgery in the filepicker.
- Record
GHSA-qqjv-mc2v-p7mc- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-918
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-1042
6.5
Moodle 3.x has Server Side Request Forgery in the filepicker.
- Record
UBUNTU-CVE-2018-1042- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moodle/moodlePackagist |
3.3 to 3.3.3 | 3.3.4 |
moodle/moodlePackagist |
3.2 to 3.2.6 | 3.2.7 |
moodle/moodlePackagist |
3.1 to 3.1.9 | 3.1.10 |
moodle/moodlePackagist |
3.4 up to 3.4.1 | 3.4.1 |
moodle/moodlePackagist |
3.4 up to 3.4.1, plus listed versions v3.4.0v3.4.0-betav3.4.0-rc1v3.4.0-rc2v3.4.0-rc3 |
3.4.1 |
moodle/moodlePackagist |
3.3 up to 3.3.4, plus listed versions v3.3.0v3.3.0-betav3.3.0-rc1v3.3.0-rc2v3.3.0-rc3v3.3.1v3.3.2v3.3.3 |
3.3.4 |
moodle/moodlePackagist |
3.2 up to 3.2.7, plus listed versions v3.2.0v3.2.0-betav3.2.0-rc1v3.2.0-rc2v3.2.0-rc3 Show 8 moreShow lessv3.2.0-rc4v3.2.0-rc5v3.2.1v3.2.2v3.2.3v3.2.4v3.2.5v3.2.6 |
3.2.7 |
moodle/moodlePackagist |
3.1 up to 3.1.10, plus listed versions v3.1.0v3.1.0-betav3.1.0-rc1v3.1.0-rc2v3.1.1 Show 8 moreShow lessv3.1.2v3.1.3v3.1.4v3.1.5v3.1.6v3.1.7v3.1.8v3.1.9 |
3.1.10 |
moodleUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 2.7.9+dfsg-12.7.10+dfsg-12.7.11+dfsg-12.7.11+dfsg-22.7.12+dfsg-13.0.3+dfsg-0ubuntu13.0.3+dfsg-0ubuntu1+esm1 |
None known |
moodleUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 3.0.3+dfsg-0ubuntu13.0.3+dfsg-0ubuntu1+esm1 |
None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Moodle Filepicker 3.5.2 - Server Side Request Forgery | 2019-07-26 |
| PoC in GitHub | UDPsycho/Moodle-CVE-2018-1042 | 2022-07-30 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-1042 is a medium vulnerability (CVSS 6.5) in Moodle, published January 22, 2018. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 16.2%, the 96th percentile. Fixed in moodle/moodle 3.3.4.
References
moodle.org/mod/forum/discuss.php?d=364381
securityfocus.com/bid/102752
packetstormsecurity.com/files/153766/Moodle-Filepicker-3.5.2-Server-Side-Request-Forgery.html
nvd.nist.gov/vuln/detail/CVE-2018-1042
github.com/moodle/moodle/commit/f1d1a60e0ac8549c08e66062f3cd0110e4a92e24
web.archive.org/web/20210124134113/http://www.securityfocus.com/bid/102752
github.com/advisories/GHSA-qqjv-mc2v-p7mc
ubuntu.com/security/CVE-2018-1042
cve.org/CVERecord?id=CVE-2018-1042