Moodle up to 2.6.11/2.7.9/2.8.7/2.9.1 Password Recovery Token Generator lib/moodlelib.php mt_rand 7pk security

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.3$0-$5k0.00

Summaryinfo

A vulnerability has been found in Moodle up to 2.6.11/2.7.9/2.8.7/2.9.1 and classified as critical. Affected by this issue is the function mt_rand in the library lib/moodlelib.php of the component Password Recovery Token Generator. This manipulation causes 7pk security. The identification of this vulnerability is CVE-2015-5267. It is possible to initiate the attack remotely. There is no exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability has been found in Moodle up to 2.6.11/2.7.9/2.8.7/2.9.1 (Learning Management Software) and classified as critical. Affected by this vulnerability is the function mt_rand in the library lib/moodlelib.php of the component Password Recovery Token Generator. The manipulation with an unknown input leads to a 7pk security vulnerability. The CWE definition for the vulnerability is CWE-254. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

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.

The weakness was shared 02/22/2016 (Website). The advisory is shared at moodle.org. This vulnerability is known as CVE-2015-5267 since 07/01/2015. The exploitation appears to be difficult. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1211 for this issue.

By approaching the search of inurl:lib/moodlelib.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 85995 (FreeBSD : moodle -- multiple vulnerabilities (c2fcbec2-5daa-11e5-9909-002590263bf5)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 11530 (Moodle Multiple Security Vulnerabilities (MSA-15-0036, MSA-15-0035, MSA-15-0034, MSA-15-0033, MSA-15-0032, MSA-15-0030)).

Upgrading to version 2.7.8, 2.8.8 or 2.9.2 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (85995). The entries VDB-81046, VDB-81047, VDB-81048 and VDB-81050 are related to this item. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 7.3

VulDB Base Score: 7.5
VulDB Temp Score: 7.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: 7pk security
CWE: CWE-254
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 85995
Nessus Name: FreeBSD : moodle -- multiple vulnerabilities (c2fcbec2-5daa-11e5-9909-002590263bf5)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 867773
OpenVAS Name: Fedora Update for moodle FEDORA-2015-2
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Moodle 2.7.8/2.8.8/2.9.2

Timelineinfo

07/01/2015 🔍
09/18/2015 +79 days 🔍
09/18/2015 +0 days 🔍
02/22/2016 +157 days 🔍
02/22/2016 +0 days 🔍
02/23/2016 +1 days 🔍
07/08/2022 +2327 days 🔍

Sourcesinfo

Product: moodle.org

Advisory: moodle.org
Status: Not defined
Confirmation: 🔍

CVE: CVE-2015-5267 (🔍)
GCVE (CVE): GCVE-0-2015-5267
GCVE (VulDB): GCVE-100-81049
SecurityTracker: 1033619

See also: 🔍

Entryinfo

Created: 02/23/2016 09:40
Updated: 07/08/2022 10:04
Changes: 02/23/2016 09:40 (61), 08/07/2018 09:36 (15), 07/08/2022 10:04 (4)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!