Moodle up to 2.3.1 WebService webservice/lib.php 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.
5.2$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in Moodle up to 2.3.1. Affected by this vulnerability is an unknown functionality in the library webservice/lib.php of the component WebService. Performing a manipulation results in access control. This vulnerability is reported as CVE-2012-4402. No exploit exists. It is suggested to install a patch to address this issue.

Detailsinfo

A vulnerability, which was classified as critical, was found in Moodle up to 2.3.1 (Learning Management Software). This affects some unknown functionality in the library webservice/lib.php of the component WebService. The manipulation with an unknown input leads to a access control vulnerability. CWE is classifying the issue as CWE-264. This is going to have an impact on confidentiality, and integrity. The summary by CVE is:

webservice/lib.php in Moodle 2.1.x before 2.1.8, 2.2.x before 2.2.5, and 2.3.x before 2.3.2 does not properly restrict the use of web-service tokens, which allows remote authenticated users to run arbitrary external-service functions via a token intended for only one service.

The weakness was disclosed 09/19/2012 by Alex as confirmed git commit (GIT Repository). The advisory is shared at git.moodle.org. This vulnerability is uniquely identified as CVE-2012-4402 since 08/21/2012. It is possible to initiate the attack remotely. A authentication is required for exploitation. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1068 for this issue.

By approaching the search of inurl:webservice/lib.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 62337 (Fedora 16 : moodle-2.1.8-1.fc16 (2012-14295)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks.

Upgrading to version 2.1.7 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 X-Force (78688), Tenable (62337), SecurityFocus (BID 55565†) and Vulnerability Center (SBV-36380†). The entries VDB-62340, VDB-62339, VDB-62338 and VDB-62336 are pretty similar. 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: 5.4
VulDB Meta Temp Score: 5.2

VulDB Base Score: 5.4
VulDB Temp Score: 5.2
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

Nessus ID: 62337
Nessus Name: Fedora 16 : moodle-2.1.8-1.fc16 (2012-14295)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 864760
OpenVAS Name: Fedora Update for moodle FEDORA-2012-14295
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Upgrade: Moodle 2.1.7
Patch: git.moodle.org

Timelineinfo

08/21/2012 🔍
09/17/2012 +27 days 🔍
09/17/2012 +0 days 🔍
09/19/2012 +2 days 🔍
09/19/2012 +0 days 🔍
10/07/2012 +18 days 🔍
03/24/2015 +898 days 🔍
12/14/2021 +2457 days 🔍

Sourcesinfo

Product: moodle.org

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

CVE: CVE-2012-4402 (🔍)
GCVE (CVE): GCVE-0-2012-4402
GCVE (VulDB): GCVE-100-62337
X-Force: 78688
SecurityFocus: 55565 - Moodle Multiple Security Vulnerabilities
Vulnerability Center: 36380 - Moodle webservices/lib.php Allows Remote External-Service Functions Execution, Medium

See also: 🔍

Entryinfo

Created: 03/24/2015 12:22
Updated: 12/14/2021 08:07
Changes: 03/24/2015 12:22 (62), 04/17/2017 12:20 (11), 12/14/2021 08:07 (3)
Complete: 🔍
Cache ID: 216:265: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.

Do you want to use VulDB in your project?

Use the official API to access entries easily!