Vulnerability Name:

CVE-2012-4402 (CCN-78688)

Assigned:2012-09-17
Published:2012-09-17
Updated:2020-12-01
Summary:webservice/lib.php in Moodle 2.1.x before 2.1.8, 2.2.x before 2.2.5, and 2.3.x before 2.3.2 does not properly restrict the use of web-service tokens, which allows remote authenticated users to run arbitrary external-service functions via a token intended for only one service.
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:4.9 Medium (CVSS v2 Vector: AV:N/AC:M/Au:S/C:P/I:P/A:N)
4.3 Medium (Temporal CVSS v2 Vector: AV:N/AC:M/Au:S/C:P/I:P/A:N/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
4.3 Medium (CCN CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N)
3.7 Low (CCN Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-264
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2012-4402

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

Source: CCN
Type: Moodle Web Site
Moodle

Source: CCN
Type: MSA-12-0055
Web service access token issue

Source: CONFIRM
Type: Vendor Advisory
http://moodle.org/mod/forum/discuss.php?d=211559

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

Source: CCN
Type: SA50588
Moodle Multiple Vulnerabilities

Source: CCN
Type: BID-55565
Moodle Multiple Security Vulnerabilities

Source: XF
Type: UNKNOWN
moodile-lib-token-security-bypass(78688)

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

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

  • Configuration 3:
  • cpe:/a:moodle:moodle:2.3.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:moodle:moodle:2.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.1.1:*:*:*:*:*:*:*
  • 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.1.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.1.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.1.6:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.1.7:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.precise:def:20124402000
    V
    CVE-2012-4402 on Ubuntu 12.04 LTS (precise) - medium.
    2012-09-19
    oval:com.ubuntu.trusty:def:20124402000
    V
    CVE-2012-4402 on Ubuntu 14.04 LTS (trusty) - medium.
    2012-09-19
    BACK
    moodle moodle 2.1.3
    moodle moodle 2.1.7
    moodle moodle 2.1.1
    moodle moodle 2.1.0
    moodle moodle 2.1.5
    moodle moodle 2.1.4
    moodle moodle 2.1.2
    moodle moodle 2.1.6
    moodle moodle 2.2.4
    moodle moodle 2.2.0
    moodle moodle 2.2.3
    moodle moodle 2.2.2
    moodle moodle 2.2.1
    moodle moodle 2.3.1
    moodle moodle 2.3.0
    moodle moodle 2.1
    moodle moodle 2.1.1
    moodle moodle 2.1.2
    moodle moodle 2.2
    moodle moodle 2.1.3
    moodle moodle 2.1.4
    moodle moodle 2.2.1
    moodle moodle 2.3
    moodle moodle 2.1.5
    moodle moodle 2.2.2
    moodle moodle 2.2.3
    moodle moodle 2.2.4
    moodle moodle 2.3.1
    moodle moodle 2.1.6
    moodle moodle 2.1.7