Vulnerability Name:

CVE-2018-10891 (CCN-147428)

Assigned:2018-07-10
Published:2018-07-10
Updated:2020-10-23
Summary:A flaw was found in moodle before versions 3.5.1, 3.4.4, 3.3.7, 3.1.13. When a quiz question bank is imported, it was possible for the question preview that is displayed to execute JavaScript that is written into the question bank.
CVSS v3 Severity:7.3 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
6.4 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
6.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L)
5.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.5 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-noinfo
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2018-10891

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

Source: CCN
Type: BID-104739
Moodle CVE-2018-10891 Remote Code Injection Vulnerability

Source: CONFIRM
Type: Issue Tracking, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10891

Source: XF
Type: UNKNOWN
moodle-cve201810891-code-exec(147428)

Source: CCN
Type: Moodle Security Advisory MSA-18-0016
Quiz question bank import preview could execute JavaScript

Source: CONFIRM
Type: Patch, Vendor Advisory
https://moodle.org/mod/forum/discuss.php?d=373371

Vulnerable Configuration:Configuration 1:
  • cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version >= 3.1 and < 3.1.13)
  • OR cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version >= 3.3 and < 3.3.7)
  • OR cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version >= 3.4 and < 3.4.4)
  • OR cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version >= 3.5 and < 3.5.1)

  • Configuration CCN 1:
  • cpe:/a:moodle:moodle:3.1.0:-:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.2.0:-:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.3.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.4.0:-:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.4.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.3.6:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.2.9:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.12:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.xenial:def:2018108910000000
    V
    CVE-2018-10891 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-07-10
    oval:com.ubuntu.artful:def:201810891000
    V
    CVE-2018-10891 on Ubuntu 17.10 (artful) - medium.
    2018-07-10
    oval:com.ubuntu.xenial:def:201810891000
    V
    CVE-2018-10891 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-07-10
    oval:com.ubuntu.disco:def:2018108910000000
    V
    CVE-2018-10891 on Ubuntu 19.04 (disco) - medium.
    2018-07-10
    oval:com.ubuntu.bionic:def:201810891000
    V
    CVE-2018-10891 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-07-10
    oval:com.ubuntu.cosmic:def:2018108910000000
    V
    CVE-2018-10891 on Ubuntu 18.10 (cosmic) - medium.
    2018-07-10
    oval:com.ubuntu.cosmic:def:201810891000
    V
    CVE-2018-10891 on Ubuntu 18.10 (cosmic) - medium.
    2018-07-10
    oval:com.ubuntu.bionic:def:2018108910000000
    V
    CVE-2018-10891 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-07-10
    oval:com.ubuntu.trusty:def:201810891000
    V
    CVE-2018-10891 on Ubuntu 14.04 LTS (trusty) - medium.
    2018-07-10
    BACK
    moodle moodle *
    moodle moodle *
    moodle moodle *
    moodle moodle *
    moodle moodle 3.1
    moodle moodle 3.2
    moodle moodle 3.3
    moodle moodle 3.4
    moodle moodle 3.4.3
    moodle moodle 3.3.6
    moodle moodle 3.2.9
    moodle moodle 3.1.12