Vulnerability Name:

CVE-2017-2645 (CCN-123747)

Assigned:2016-12-01
Published:2017-03-20
Updated:2017-07-12
Summary:In Moodle 3.x, XSS can occur via attachments to evidence of prior learning.
CVSS v3 Severity:6.1 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
5.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:H/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
5.4 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
5.2 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N/E:H/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
5.5 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-79
Vulnerability Consequences:Cross-Site Scripting
References:Source: MITRE
Type: CNA
CVE-2017-2645

Source: BID
Type: Third Party Advisory, VDB Entry
96982

Source: CCN
Type: BID-96982
Moodle CVE-2017-2645 HTML Injection Vulnerability

Source: SECTRACK
Type: UNKNOWN
1038174

Source: XF
Type: UNKNOWN
moodle-cve20172645-xss(123747)

Source: CCN
Type: Moodle Web site
Moodle - Open-source learning platform | Moodle.org

Source: CCN
Type: Moodle Security Advisory MSA-17-0009
XSS in attachments to evidence of prior learning

Source: CONFIRM
Type: Patch, Third Party Advisory
https://moodle.org/mod/forum/discuss.php?d=349422

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2017-2645

Vulnerable Configuration:Configuration 1:
  • cpe:/a:moodle:moodle:3.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.0:beta:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.0:rc2:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.2.0:beta:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.2.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.2.0:rc2:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.2.0:rc3:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.2.0:rc4:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.2.0:rc5:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.2.1:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:moodle:moodle:3.1.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.0:-:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.2.0:-:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.4:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.bionic:def:201726450000000
    V
    CVE-2017-2645 on Ubuntu 18.04 LTS (bionic) - medium.
    2017-03-26
    oval:com.ubuntu.artful:def:20172645000
    V
    CVE-2017-2645 on Ubuntu 17.10 (artful) - medium.
    2017-03-26
    oval:com.ubuntu.trusty:def:20172645000
    V
    CVE-2017-2645 on Ubuntu 14.04 LTS (trusty) - medium.
    2017-03-26
    oval:com.ubuntu.xenial:def:201726450000000
    V
    CVE-2017-2645 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-03-26
    oval:com.ubuntu.bionic:def:20172645000
    V
    CVE-2017-2645 on Ubuntu 18.04 LTS (bionic) - medium.
    2017-03-26
    oval:com.ubuntu.xenial:def:20172645000
    V
    CVE-2017-2645 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-03-26
    oval:com.ubuntu.cosmic:def:20172645000
    V
    CVE-2017-2645 on Ubuntu 18.10 (cosmic) - medium.
    2017-03-26
    oval:com.ubuntu.cosmic:def:201726450000000
    V
    CVE-2017-2645 on Ubuntu 18.10 (cosmic) - medium.
    2017-03-26
    oval:com.ubuntu.precise:def:20172645000
    V
    CVE-2017-2645 on Ubuntu 12.04 LTS (precise) - medium.
    2017-03-26
    BACK
    moodle moodle 3.1.0
    moodle moodle 3.1.0 beta
    moodle moodle 3.1.0 rc1
    moodle moodle 3.1.0 rc2
    moodle moodle 3.1.1
    moodle moodle 3.1.2
    moodle moodle 3.1.3
    moodle moodle 3.1.4
    moodle moodle 3.2.0
    moodle moodle 3.2.0 beta
    moodle moodle 3.2.0 rc1
    moodle moodle 3.2.0 rc2
    moodle moodle 3.2.0 rc3
    moodle moodle 3.2.0 rc4
    moodle moodle 3.2.0 rc5
    moodle moodle 3.2.1
    moodle moodle 3.1.2
    moodle moodle 3.1.3
    moodle moodle 3.1.0 -
    moodle moodle 3.2.0 -
    moodle moodle 3.2.1
    moodle moodle 3.1.1
    moodle moodle 3.1.4