moodle up to 2.1 Authorization enrol/externallib.php moodle_enrol_external:role_assign access control

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

Summaryinfo

A vulnerability marked as critical has been reported in moodle 2.0/2.0.1/2.0.2/2.0.3/2.1. Affected by this vulnerability is the function moodle_enrol_external:role_assign in the library enrol/externallib.php of the component Authorization. This manipulation causes access control. This vulnerability appears as CVE-2011-4295. There is no available exploit. It is recommended to apply a patch to fix this issue.

Detailsinfo

A vulnerability has been found in moodle 2.0/2.0.1/2.0.2/2.0.3/2.1 (Learning Management Software) and classified as critical. Affected by this vulnerability is the function moodle_enrol_external:role_assign in the library enrol/externallib.php of the component Authorization. The manipulation with an unknown input leads to a access control vulnerability. The CWE definition for the vulnerability is CWE-264. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

The moodle_enrol_external:role_assign function in enrol/externallib.php in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 does not have an authorization check, which allows remote authenticated users to gain privileges by making a role assignment.

The weakness was presented 07/16/2012 as confirmed git commit (GIT Repository). It is possible to read the advisory at git.moodle.org. This vulnerability is known as CVE-2011-4295 since 11/04/2011. The exploitation appears to be easy. The attack can be launched remotely. A single authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.

By approaching the search of inurl:enrol/externallib.php it is possible to find vulnerable targets with Google Hacking.

Upgrading to version 2.0.1 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.

Be aware that VulDB is the high quality source 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: 6.3
VulDB Meta Temp Score: 6.0

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Access control
CWE: CWE-264
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

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Upgrade: moodle 2.0.1
Patch: d20f655d59cd486fd9b3a26ad353af13daafd1d3

Timelineinfo

11/04/2011 🔍
07/16/2012 +255 days 🔍
07/16/2012 +0 days 🔍
03/23/2015 +980 days 🔍
12/06/2021 +2450 days 🔍

Sourcesinfo

Product: moodle.org

Advisory: git.moodle.org
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2011-4295 (🔍)
GCVE (CVE): GCVE-0-2011-4295
GCVE (VulDB): GCVE-100-61303

Entryinfo

Created: 03/23/2015 16:50
Updated: 12/06/2021 09:52
Changes: 03/23/2015 16:50 (51), 02/18/2019 15:09 (2), 12/06/2021 09:52 (3)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!