CVE-2018-16854: Moodle - Cross Site Request Forgery
- Cve: CVE-2018-16854
- Name: Moodle - Cross Site Request Forgery
- Description: A flaw was found in moodle versions 3.5 to 3.5.2, 3.4 to 3.4.5, 3.3 to 3.3.8, 3.1 to 3.1.14 and earlier. The login form is not protected by a token to prevent login cross-site request forgery. Fixed versions include 3.6, 3.5.3, 3.4.6, 3.3.9 and 3.1.15.
- Impact: Attackers can perform unauthorized actions on behalf of logged-in users via CSRF attacks.
- Remediation: Update to Moodle versions 3.6, 3.5.3, 3.4.6, 3.3.9, or 3.1.15 or later.
- Vulnerability type: cross_site_request_forgery
- Requirement type: logged_in
- Requirements: Victim needs to be logged in
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.02326
- Epss percentile: 0.83936
- Assignee: [email protected]
- Published at: 2018-11-26T17:29:00Z
- Age in days: 2920
- Modified at: 2026-06-17T01:44:55Z
- Patch available: yes
- Public exploits total: 1
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-16854
- Nvd status: modified
- Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-352 | Cross-Site Request Forgery |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/danielthatcher/moodle-login-csrf | poc-in-github | 2019-04-04 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-63183 | Patch, Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16854 | Issue Tracking, Patch, Third Party Advisory |
| https://moodle.org/mod/forum/discuss.php?d=378731 | Vendor Advisory |
| http://www.securityfocus.com/bid/106017 | Third Party Advisory, VDB Entry |
| http://www.securitytracker.com/id/1042154 | Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| moodle:moodle | >= 3.5.0, < 3.5.3; >= 3.4.0, < 3.4.6; >= 3.3.0, < 3.3.9; >= 3.1.0, < 3.1.15; <= 3.0.10 | no | nvd | /v1/products/moodle/moodle |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| moodle/moodle | package | yes | /v1/repositories/moodle/moodle |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2019-04-04
- Remote: yes
- Exposed hosts: 62525
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports