SecurityContext

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

IdName
CWE-352Cross-Site Request Forgery

Public exploits

UrlSourceAdded date
https://github.com/danielthatcher/moodle-login-csrfpoc-in-github2019-04-04

References

Same in every row:

  • Source: nvd
UrlTags
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-63183Patch, Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16854Issue Tracking, Patch, Third Party Advisory
https://moodle.org/mod/forum/discuss.php?d=378731Vendor Advisory
http://www.securityfocus.com/bid/106017Third Party Advisory, VDB Entry
http://www.securitytracker.com/id/1042154Third Party Advisory, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
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.10nonvd/v1/products/moodle/moodle

Projects

RepositoryLink kindsIndexedUrl
moodle/moodlepackageyes/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