Vulnerability Name:

CVE-2012-2366 (CCN-75754)

Assigned:2012-05-21
Published:2012-05-21
Updated:2020-12-01
Summary:mod/data/preset.php in Moodle 2.1.x before 2.1.6 and 2.2.x before 2.2.3 does not properly iterate through an array, which allows remote authenticated users to overwrite arbitrary database activity presets via unspecified vectors.
CVSS v3 Severity: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)
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.5 Medium (CVSS v2 Vector: AV:N/AC:L/Au:S/C:N/I:P/A:P)
4.0 Medium (Temporal CVSS v2 Vector: AV:N/AC:L/Au:S/C:N/I:P/A:P/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): Partial
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
3.7 Low (CCN Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N/E:U/RL:OF/RC:C)
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-Other
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2012-2366

Source: CONFIRM
Type: UNKNOWN
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-31763

Source: CCN
Type: MSA-12-0037
Write access issue in Database activity module

Source: MLIST
Type: UNKNOWN
[oss-security] 20120523 Moodle security notifications public

Source: CCN
Type: SA49233
Moodle Multiple Vulnerabilities

Source: CCN
Type: OSVDB ID: 82073
Moodle Database Activity Preset Overwrite

Source: CCN
Type: BID-53629
Moodle Multiple Information Disclosure and Security Bypass Vulnerabilities

Source: XF
Type: UNKNOWN
moodle-presets-sec-bypass(75754)

Vulnerable Configuration:Configuration 1:
  • cpe:/a:moodle:moodle:2.1.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.1.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.1.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.1.5:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/a:moodle:moodle:2.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.1:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:moodle:moodle:2.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.1.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.1.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.1:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.bionic:def:201223660000000
    V
    CVE-2012-2366 on Ubuntu 18.04 LTS (bionic) - medium.
    2012-07-21
    oval:com.ubuntu.xenial:def:201223660000000
    V
    CVE-2012-2366 on Ubuntu 16.04 LTS (xenial) - medium.
    2012-07-21
    oval:com.ubuntu.artful:def:20122366000
    V
    CVE-2012-2366 on Ubuntu 17.10 (artful) - medium.
    2012-07-20
    oval:com.ubuntu.trusty:def:20122366000
    V
    CVE-2012-2366 on Ubuntu 14.04 LTS (trusty) - medium.
    2012-07-20
    oval:com.ubuntu.bionic:def:20122366000
    V
    CVE-2012-2366 on Ubuntu 18.04 LTS (bionic) - medium.
    2012-07-20
    oval:com.ubuntu.xenial:def:20122366000
    V
    CVE-2012-2366 on Ubuntu 16.04 LTS (xenial) - medium.
    2012-07-20
    oval:com.ubuntu.cosmic:def:20122366000
    V
    CVE-2012-2366 on Ubuntu 18.10 (cosmic) - medium.
    2012-07-20
    oval:com.ubuntu.cosmic:def:201223660000000
    V
    CVE-2012-2366 on Ubuntu 18.10 (cosmic) - medium.
    2012-07-20
    oval:com.ubuntu.precise:def:20122366000
    V
    CVE-2012-2366 on Ubuntu 12.04 LTS (precise) - medium.
    2012-07-20
    BACK
    moodle moodle 2.1.2
    moodle moodle 2.1.1
    moodle moodle 2.1.0
    moodle moodle 2.1.4
    moodle moodle 2.1.3
    moodle moodle 2.1.5
    moodle moodle 2.2.0
    moodle moodle 2.2.2
    moodle moodle 2.2.1
    moodle moodle 2.1
    moodle moodle 2.1.2
    moodle moodle 2.2
    moodle moodle 2.1.3
    moodle moodle 2.2.1