CVE-2017-2641 in the critical feed json
Moodle SQL injection via user preferences
published 2017-03-26 9 y ago modified 2026-06-17 4 mo ago also GHSA-xhq3-455r-xv44 , EUVD-2022-5800
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 14.5%
- EPSS 14.5% chance of exploitation in 30 days, percentile 96%
- public exploits
- 1
- Exploit-DB
Summary
In Moodle 2.x and 3.x, SQL injection can occur via user preferences.
Patch / fix
- packagist moodle/moodle 2.7.19, 3.0.9, 3.1.5, 3.2.2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-2641 updated
moodle: Multiple security vulnerabilities
-
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
Timeline
- Published
- First public exploit (EDB-41828)
Exploit prediction
14.53% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-41828 Moodle 2.x/3.x - SQL Injection webapps, 2017-04-06
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=2.7, <2.7.19 >=3.0, <3.0.9 >=3.1, <3.1.5 >=3.2, <3.2.2 |
2.7.19 3.0.9 3.1.5 3.2.2 |
Affected products
- n/a Moodle 2.x and 3.x
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
moodle.org
/mod/forum/discuss.php?d=349419
web, patch, third-party-advisory
-
exploit-db.com
/exploits/41828/
exploit
-
securityfocus.com
/bid/96977
vdb-entry, web, third-party-advisory
-
securitytracker.com
/id/1038174
vdb-entry, web
-
nvd.nist.gov
/vuln/detail/CVE-2017-2641
advisory
-
github.com
/moodle/moodle
package
-
exploit-db.com
/exploits/41828
web
Sources
- CVE List CVE-2017-2641
- GitHub Advisory GHSA-xhq3-455r-xv44
- NVD CVE-2017-2641
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.