moodle up to 2.2 Crypto lib/moodlelib.php rc4encrypt credentials management

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.
5.1$0-$5k0.00

Summaryinfo

A vulnerability identified as problematic has been detected in moodle. Affected by this issue is the function rc4encrypt in the library lib/moodlelib.php of the component Crypto. This manipulation causes credentials management. This vulnerability is registered as CVE-2012-0794. No exploit is available. To fix this issue, it is recommended to deploy a patch.

Detailsinfo

A vulnerability was found in moodle (Learning Management Software). It has been declared as problematic. Affected by this vulnerability is the function rc4encrypt in the library lib/moodlelib.php of the component Crypto. The manipulation with an unknown input leads to a credentials management vulnerability. The CWE definition for the vulnerability is CWE-255. As an impact it is known to affect confidentiality. The summary by CVE is:

The rc4encrypt function in lib/moodlelib.php in Moodle 1.9.x before 1.9.16, 2.0.x before 2.0.7, 2.1.x before 2.1.4, and 2.2.x before 2.2.1 uses a hardcoded password of nfgjeingjk, which makes it easier for remote attackers to defeat cryptographic protection mechanisms by reading this script s source code within the open-source software distribution.

The weakness was published 07/17/2012 as confirmed git commit (GIT Repository). It is possible to read the advisory at git.moodle.org. This vulnerability is known as CVE-2012-0794 since 01/19/2012. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1552 according to MITRE ATT&CK.

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 58172 (Debian DSA-2421-1 : moodle - several vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks.

Upgrading to version 1.9.3 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.moodle.org. The best possible mitigation is suggested to be patching the affected component.

The vulnerability is also documented in the databases at Tenable (58172), SecurityFocus (BID 51840†) and Vulnerability Center (SBV-35612†). Similar entries are available at VDB-61351, VDB-61350, VDB-61349 and VDB-61348. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Credentials management
CWE: CWE-255
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: 58172
Nessus Name: Debian DSA-2421-1 : moodle - several vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 71149
OpenVAS Name: Debian Security Advisory DSA 2421-1 (moodle)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Upgrade: moodle 1.9.3
Patch: 98456628a24bba25d336860d38a45b5a4e3895da

Timelineinfo

01/17/2012 🔍
01/19/2012 +2 days 🔍
02/09/2012 +21 days 🔍
07/17/2012 +159 days 🔍
07/17/2012 +0 days 🔍
07/22/2012 +5 days 🔍
03/23/2015 +974 days 🔍
12/06/2021 +2450 days 🔍

Sourcesinfo

Product: moodle.org

Advisory: DSA-2421
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2012-0794 (🔍)
GCVE (CVE): GCVE-0-2012-0794
GCVE (VulDB): GCVE-100-61315

OVAL: 🔍

SecurityFocus: 51840 - Moodle Multiple Security Vulnerabilities
Vulnerability Center: 35612 - Moodle Allows to Defeat Cryptographic Protection Mechanisms, Medium

See also: 🔍

Entryinfo

Created: 03/23/2015 16:50
Updated: 12/06/2021 10:35
Changes: 03/23/2015 16:50 (62), 04/14/2017 14:35 (11), 12/06/2021 10:25 (4), 12/06/2021 10:30 (1), 12/06/2021 10:35 (2)
Complete: 🔍
Cache ID: 216:A96:103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!