Vulnerability Name:

CVE-2015-5267

Assigned:2015-07-01
Published:2016-02-22
Updated:2017-09-16
Summary:lib/moodlelib.php in Moodle through 2.6.11, 2.7.x before 2.7.10, 2.8.x before 2.8.8, and 2.9.x before 2.9.2 relies on the PHP mt_rand function to implement the random_string and complex_random_string functions, which makes it easier for remote attackers to predict password-recovery tokens via a brute-force approach.
CVSS v3 Severity:7.5 High (CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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): High
Integrity (I): None
Availibility (A): None
5.3 Medium (CCN CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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): Low
Integrity (I): None
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
Vulnerability Type:CWE-200
References:Source: CONFIRM
Type: UNKNOWN
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-50860

Source: MLIST
Type: UNKNOWN
http://www.openwall.com/lists/oss-security/2015/09/21/1

Source: SECTRACK
Type: UNKNOWN
1033619

Source: CONFIRM
Type: VENDOR_ADVISORY
https://moodle.org/mod/forum/discuss.php?d=320291

Vulnerable Configuration:Configuration 1:
  • cpe:/a:moodle:moodle:2.9.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.9:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.6:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.9:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.8:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.6:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.6.11:*:*:*:*:*:*:*

  • Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.precise:def:20155267000
    V
    CVE-2015-5267 on Ubuntu 12.04 LTS (precise) - medium.
    2016-02-22
    oval:com.ubuntu.trusty:def:20155267000
    V
    CVE-2015-5267 on Ubuntu 14.04 LTS (trusty) - medium.
    2016-02-22
    oval:com.ubuntu.xenial:def:20155267000
    V
    CVE-2015-5267 on Ubuntu 16.04 LTS (xenial) - medium.
    2016-02-22
    BACK
    moodle moodle 2.9.1
    moodle moodle 2.9
    moodle moodle 2.8.7
    moodle moodle 2.8.6
    moodle moodle 2.8.5
    moodle moodle 2.8.4
    moodle moodle 2.8.3
    moodle moodle 2.8.2
    moodle moodle 2.8.1
    moodle moodle 2.8
    moodle moodle 2.7.9
    moodle moodle 2.7.8
    moodle moodle 2.7.7
    moodle moodle 2.7.6
    moodle moodle 2.7.5
    moodle moodle 2.7.4
    moodle moodle 2.7.3
    moodle moodle 2.7.2
    moodle moodle 2.7.1
    moodle moodle 2.7
    moodle moodle 2.6.11