Vulnerability Name:

CVE-2019-3847 (CCN-159477)

Assigned:2019-03-19
Published:2019-03-19
Updated:2022-11-07
Summary:A vulnerability was found in moodle before versions 3.6.3, 3.5.5, 3.4.8 and 3.1.17. Users with the "login as other users" capability (such as administrators/managers) can access other users' Dashboards, but the JavaScript those other users may have added to their Dashboard was not being escaped when being viewed by the user logging in on their behalf.
CVSS v3 Severity:4.8 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N)
4.2 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): High
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
4.7 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L)
4.1 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/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): High
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:3.5 Low (CVSS v2 Vector: AV:N/AC:M/Au:S/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
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-79
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2019-3847

Source: BID
Type: Broken Link, Third Party Advisory, VDB Entry
107489

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

Source: XF
Type: UNKNOWN
moodle-cve20193847-code-exec(159477)

Source: CCN
Type: Moodle Security Advisory MSA-19-0004
"Log in as" functionality exposed to JavaScript risk on other users' Dashboards

Source: MISC
Type: Patch, Vendor Advisory
https://moodle.org/mod/forum/discuss.php?d=384010#p1547742

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2019-3847

Vulnerable Configuration:Configuration 1:
  • cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version >= 3.5.0 and < 3.5.5)
  • OR cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version >= 3.6.0 and < 3.6.3)
  • OR cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version < 3.1.17)
  • OR cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version >= 3.4.0 and < 3.4.8)

  • Configuration CCN 1:
  • cpe:/a:moodle:moodle:3.1.0:-:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.4.0:-:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.5.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.16:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.4.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.5.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.6.2:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.disco:def:201938470000000
    V
    CVE-2019-3847 on Ubuntu 19.04 (disco) - medium.
    2019-03-27
    oval:com.ubuntu.bionic:def:20193847000
    V
    CVE-2019-3847 on Ubuntu 18.04 LTS (bionic) - medium.
    2019-03-27
    oval:com.ubuntu.cosmic:def:201938470000000
    V
    CVE-2019-3847 on Ubuntu 18.10 (cosmic) - medium.
    2019-03-27
    oval:com.ubuntu.cosmic:def:20193847000
    V
    CVE-2019-3847 on Ubuntu 18.10 (cosmic) - medium.
    2019-03-27
    oval:com.ubuntu.bionic:def:201938470000000
    V
    CVE-2019-3847 on Ubuntu 18.04 LTS (bionic) - medium.
    2019-03-27
    oval:com.ubuntu.trusty:def:20193847000
    V
    CVE-2019-3847 on Ubuntu 14.04 LTS (trusty) - medium.
    2019-03-27
    oval:com.ubuntu.xenial:def:201938470000000
    V
    CVE-2019-3847 on Ubuntu 16.04 LTS (xenial) - medium.
    2019-03-27
    oval:com.ubuntu.xenial:def:20193847000
    V
    CVE-2019-3847 on Ubuntu 16.04 LTS (xenial) - medium.
    2019-03-27
    BACK
    moodle moodle *
    moodle moodle *
    moodle moodle *
    moodle moodle *
    moodle moodle 3.1.0 -
    moodle moodle 3.4.0 -
    moodle moodle 3.5.0
    moodle moodle 3.1.16
    moodle moodle 3.4.7
    moodle moodle 3.5.4
    moodle moodle 3.6.2