Vulnerability Name:

CVE-2016-7038 (CCN-124804)

Assigned:2016-08-23
Published:2017-01-20
Updated:2020-12-01
Summary:In Moodle 2.x and 3.x, web service tokens are not invalidated when the user password is changed or forced to be changed.
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
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/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): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-640
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2016-7038

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

Source: XF
Type: UNKNOWN
moodle-cve20167038-sec-bypass(124804)

Source: CCN
Type: Moodle Security announcements: MSA-16-0022
Web service tokens should be invalidated when the user password is changed or forced to be changed

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

Vulnerable Configuration:Configuration 1:
  • cpe:/a:moodle:moodle:2.9.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.9.6:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.9.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.9.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.9.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.8:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.9:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.10:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.0.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.0.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.11:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.0.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.9.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.12:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.0.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.9.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.9.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.6:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version <= 2.7.15)

  • Configuration CCN 1:
  • cpe:/a:moodle:moodle:2.9.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.0.0:-:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.0:-:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.12:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.0.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.0:-:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.15:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.9.7:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.bionic:def:201670380000000
    V
    CVE-2016-7038 on Ubuntu 18.04 LTS (bionic) - low.
    2017-01-20
    oval:com.ubuntu.artful:def:20167038000
    V
    CVE-2016-7038 on Ubuntu 17.10 (artful) - low.
    2017-01-20
    oval:com.ubuntu.trusty:def:20167038000
    V
    CVE-2016-7038 on Ubuntu 14.04 LTS (trusty) - low.
    2017-01-20
    oval:com.ubuntu.xenial:def:201670380000000
    V
    CVE-2016-7038 on Ubuntu 16.04 LTS (xenial) - low.
    2017-01-20
    oval:com.ubuntu.bionic:def:20167038000
    V
    CVE-2016-7038 on Ubuntu 18.04 LTS (bionic) - low.
    2017-01-20
    oval:com.ubuntu.xenial:def:20167038000
    V
    CVE-2016-7038 on Ubuntu 16.04 LTS (xenial) - low.
    2017-01-20
    oval:com.ubuntu.disco:def:201670380000000
    V
    CVE-2016-7038 on Ubuntu 19.04 (disco) - low.
    2017-01-20
    oval:com.ubuntu.cosmic:def:20167038000
    V
    CVE-2016-7038 on Ubuntu 18.10 (cosmic) - low.
    2017-01-20
    oval:com.ubuntu.cosmic:def:201670380000000
    V
    CVE-2016-7038 on Ubuntu 18.10 (cosmic) - low.
    2017-01-20
    oval:com.ubuntu.precise:def:20167038000
    V
    CVE-2016-7038 on Ubuntu 12.04 LTS (precise) - low.
    2017-01-20
    BACK
    moodle moodle 2.9.7
    moodle moodle 2.9.6
    moodle moodle 2.9.5
    moodle moodle 2.9.4
    moodle moodle 2.9.3
    moodle moodle 2.8.7
    moodle moodle 2.8.8
    moodle moodle 2.8.9
    moodle moodle 2.8.10
    moodle moodle 3.1.1
    moodle moodle 3.1.0
    moodle moodle 3.0.5
    moodle moodle 3.0.4
    moodle moodle 2.8.11
    moodle moodle 2.8.0
    moodle moodle 2.8.1
    moodle moodle 2.8.2
    moodle moodle 3.0.0
    moodle moodle 3.0.2
    moodle moodle 2.9.2
    moodle moodle 2.8.12
    moodle moodle 2.8.3
    moodle moodle 2.8.5
    moodle moodle 3.0.3
    moodle moodle 3.0.1
    moodle moodle 2.9.1
    moodle moodle 2.9.0
    moodle moodle 2.8.4
    moodle moodle 2.8.6
    moodle moodle *
    moodle moodle 2.9
    moodle moodle 3.0
    moodle moodle 3.1
    moodle moodle 2.8.12
    moodle moodle 3.1.1
    moodle moodle 3.0.5
    moodle moodle 2.7.0
    moodle moodle 2.7.15
    moodle moodle 2.9.7