CVE-2018-16854 json
Moodle Login CSRF vulnerability in login form
published 7y ago modified 4mo ago also GHSA-xj5f-qv37-r9jc , EUVD-2022-5805
- cvss
- 6.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist moodle/moodle 3.1.15, 3.3.9, 3.4.6, 3.5.3
- moodle moodle 3.1.15, 3.3.9, 3.4.6, 3.5.3
Is CVE-2018-16854 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-16854 updated cvss 6.5
moodle: Login CSRF vulnerability in login form
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.33% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=3.1, <3.1.15 >=3.3, <3.3.9 >=3.4, <3.4.6 >=3.5, <3.5.3 |
3.1.15 3.3.9 3.4.6 3.5.3 |
Affected products
- [UNKNOWN] moodle
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2018-16854
web, issue-tracking, patch, third-party-advisory
-
git.moodle.org
/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-63183
web, patch, vendor-advisory
-
moodle.org
/mod/forum/discuss.php?d=378731
web, vendor-advisory
-
securitytracker.com
/id/1042154
vdb-entry, web, third-party-advisory
-
securityfocus.com
/bid/106017
vdb-entry, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-16854
advisory
-
github.com
/moodle/moodle
package
Sources
- CVE List CVE-2018-16854
- GitHub Advisory GHSA-xj5f-qv37-r9jc
- NVD CVE-2018-16854
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.