Vulnerability Name:

CVE-2012-6087 (CCN-81746)

Assigned:2012-12-06
Published:2013-01-15
Updated:2020-12-01
Summary:repository/s3/S3.php in the Amazon S3 library in Moodle through 2.2.11, 2.3.x before 2.3.9, 2.4.x before 2.4.6, and 2.5.x before 2.5.2 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate, related to an incorrect CURLOPT_SSL_VERIFYHOST value.
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.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N)
5.0 Medium (Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
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-20
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2012-6087

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

Source: MLIST
Type: UNKNOWN
[oss-security] 20130103 Re: CVE request: Curl insecure usage

Source: CCN
Type: BID-57103
Zabbix 'cURL' API Security Bypass Vulnerability

Source: CCN
Type: Red Hat Bugzilla Bug 892700
CVE-2012-6087 moodle (Amazon S3 module): Improper use of cURL API might lead to improper SSL certificate verification (MiTM)

Source: XF
Type: UNKNOWN
zabbix-curlapi-security-bypass(81746)

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

Source: CCN
Type: Zabbix Web site
Zabbix.org

Vulnerable Configuration:Configuration 1:
  • cpe:/a:moodle:moodle:2.5.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.8:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.6:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.5.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.4.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.4.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.10:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.8:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.9:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.4.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.4.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version <= 2.2.11)
  • OR cpe:/a:moodle:moodle:2.2.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.4.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.4.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.6:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.4:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.bionic:def:201260870000000
    V
    CVE-2012-6087 on Ubuntu 18.04 LTS (bionic) - medium.
    2013-09-16
    oval:com.ubuntu.artful:def:20126087000
    V
    CVE-2012-6087 on Ubuntu 17.10 (artful) - medium.
    2013-09-16
    oval:com.ubuntu.trusty:def:20126087000
    V
    CVE-2012-6087 on Ubuntu 14.04 LTS (trusty) - medium.
    2013-09-16
    oval:com.ubuntu.xenial:def:201260870000000
    V
    CVE-2012-6087 on Ubuntu 16.04 LTS (xenial) - medium.
    2013-09-16
    oval:com.ubuntu.bionic:def:20126087000
    V
    CVE-2012-6087 on Ubuntu 18.04 LTS (bionic) - medium.
    2013-09-16
    oval:com.ubuntu.xenial:def:20126087000
    V
    CVE-2012-6087 on Ubuntu 16.04 LTS (xenial) - medium.
    2013-09-16
    oval:com.ubuntu.cosmic:def:20126087000
    V
    CVE-2012-6087 on Ubuntu 18.10 (cosmic) - medium.
    2013-09-16
    oval:com.ubuntu.cosmic:def:201260870000000
    V
    CVE-2012-6087 on Ubuntu 18.10 (cosmic) - medium.
    2013-09-16
    oval:com.ubuntu.precise:def:20126087000
    V
    CVE-2012-6087 on Ubuntu 12.04 LTS (precise) - medium.
    2013-09-16
    BACK
    moodle moodle 2.5.0
    moodle moodle 2.3.0
    moodle moodle 2.3.1
    moodle moodle 2.3.8
    moodle moodle 2.2.0
    moodle moodle 2.2.5
    moodle moodle 2.2.6
    moodle moodle 2.2.7
    moodle moodle 2.5.1
    moodle moodle 2.4.0
    moodle moodle 2.4.1
    moodle moodle 2.3.2
    moodle moodle 2.3.3
    moodle moodle 2.2.1
    moodle moodle 2.2.10
    moodle moodle 2.2.8
    moodle moodle 2.2.9
    moodle moodle 2.4.2
    moodle moodle 2.4.3
    moodle moodle 2.3.4
    moodle moodle 2.3.5
    moodle moodle *
    moodle moodle 2.2.2
    moodle moodle 2.4.4
    moodle moodle 2.4.5
    moodle moodle 2.3.6
    moodle moodle 2.3.7
    moodle moodle 2.2.3
    moodle moodle 2.2.4