CVE-2017-2641
Summary
| CVE | CVE-2017-2641 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2017-03-26 18:59:00 UTC |
| Updated | 2025-04-20 01:37:25 UTC |
| Description | In Moodle 2.x and 3.x, SQL injection can occur via user preferences. |
Risk And Classification
Primary CVSS: v3.0 9.8 CRITICAL from [email protected]
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-89 | SQL injection
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 9.8 | CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 2.0 | [email protected] | Primary | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:L/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Moodle | Moodle | 2.7.0 | All | All | All |
| Application | Moodle | Moodle | 2.7.0 | beta | All | All |
| Application | Moodle | Moodle | 2.7.0 | rc1 | All | All |
| Application | Moodle | Moodle | 2.7.0 | rc2 | All | All |
| Application | Moodle | Moodle | 2.7.1 | All | All | All |
| Application | Moodle | Moodle | 2.7.10 | All | All | All |
| Application | Moodle | Moodle | 2.7.11 | All | All | All |
| Application | Moodle | Moodle | 2.7.12 | All | All | All |
| Application | Moodle | Moodle | 2.7.13 | All | All | All |
| Application | Moodle | Moodle | 2.7.14 | All | All | All |
| Application | Moodle | Moodle | 2.7.15 | All | All | All |
| Application | Moodle | Moodle | 2.7.16 | All | All | All |
| Application | Moodle | Moodle | 2.7.17 | All | All | All |
| Application | Moodle | Moodle | 2.7.18 | All | All | All |
| Application | Moodle | Moodle | 2.7.2 | All | All | All |
| Application | Moodle | Moodle | 2.7.3 | All | All | All |
| Application | Moodle | Moodle | 2.7.4 | All | All | All |
| Application | Moodle | Moodle | 2.7.5 | All | All | All |
| Application | Moodle | Moodle | 2.7.6 | All | All | All |
| Application | Moodle | Moodle | 2.7.7 | All | All | All |
| Application | Moodle | Moodle | 2.7.8 | All | All | All |
| Application | Moodle | Moodle | 2.7.9 | All | All | All |
| Application | Moodle | Moodle | 3.0.0 | All | All | All |
| Application | Moodle | Moodle | 3.0.0 | beta | All | All |
| Application | Moodle | Moodle | 3.0.0 | rc1 | All | All |
| Application | Moodle | Moodle | 3.0.0 | rc2 | All | All |
| Application | Moodle | Moodle | 3.0.0 | rc3 | All | All |
| Application | Moodle | Moodle | 3.0.0 | rc4 | All | All |
| Application | Moodle | Moodle | 3.0.1 | All | All | All |
| Application | Moodle | Moodle | 3.0.2 | All | All | All |
| Application | Moodle | Moodle | 3.0.3 | All | All | All |
| Application | Moodle | Moodle | 3.0.4 | All | All | All |
| Application | Moodle | Moodle | 3.0.5 | All | All | All |
| Application | Moodle | Moodle | 3.0.6 | All | All | All |
| Application | Moodle | Moodle | 3.0.7 | All | All | All |
| Application | Moodle | Moodle | 3.0.8 | All | All | All |
| Application | Moodle | Moodle | 3.1.0 | All | All | All |
| Application | Moodle | Moodle | 3.1.0 | beta | All | All |
| Application | Moodle | Moodle | 3.1.0 | rc1 | All | All |
| Application | Moodle | Moodle | 3.1.0 | rc2 | All | All |
| Application | Moodle | Moodle | 3.1.1 | All | All | All |
| Application | Moodle | Moodle | 3.1.2 | All | All | All |
| Application | Moodle | Moodle | 3.1.3 | All | All | All |
| Application | Moodle | Moodle | 3.1.4 | All | All | All |
| Application | Moodle | Moodle | 3.2.0 | All | All | All |
| Application | Moodle | Moodle | 3.2.0 | beta | All | All |
| Application | Moodle | Moodle | 3.2.0 | rc1 | All | All |
| Application | Moodle | Moodle | 3.2.0 | rc2 | All | All |
| Application | Moodle | Moodle | 3.2.0 | rc3 | All | All |
| Application | Moodle | Moodle | 3.2.0 | rc4 | All | All |
| Application | Moodle | Moodle | 3.2.0 | rc5 | All | All |
| Application | Moodle | Moodle | 3.2.1 | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | Moodle 2.x And 3.x | affected Moodle 2.x and 3.x | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Moodle 2.x/3.x - SQL Injection | af854a3a-2127-422b-91ae-364da2661108 | www.exploit-db.com | |
| Moodle Bugs Let Remote Users Conduct Cross-Site Scripting Attacks and Remote Authenticated Users Obtain Usernames and Conduct SQL Injection Attacks - SecurityTracker | af854a3a-2127-422b-91ae-364da2661108 | www.securitytracker.com | |
| Moodle CVE-2017-2641 SQL Injection Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | Third Party Advisory, VDB Entry |
| Moodle.org: MSA-17-0005: SQL injection via user preferences | af854a3a-2127-422b-91ae-364da2661108 | moodle.org | Patch, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.