Moodle up to 2.2.2 HTML Rendering lib/filelib.php HTML injection

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

Summaryinfo

A vulnerability categorized as problematic has been discovered in Moodle. Affected by this issue is some unknown functionality in the library lib/filelib.php of the component HTML Rendering. Such manipulation leads to HTML injection. This vulnerability is referenced as CVE-2012-2364. It is possible to launch the attack remotely. No exploit is available. A patch should be applied to remediate this issue.

Detailsinfo

A vulnerability was found in Moodle (Learning Management Software). It has been rated as problematic. Affected by this issue is an unknown functionality in the library lib/filelib.php of the component HTML Rendering. The manipulation with an unknown input leads to a html injection vulnerability. Using CWE to declare the problem leads to CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. Impacted is integrity. CVE summarizes:

Cross-site scripting (XSS) vulnerability in lib/filelib.php in Moodle 2.0.x before 2.0.9, 2.1.x before 2.1.6, and 2.2.x before 2.2.3 allows remote authenticated users to inject arbitrary web script or HTML via an assignment submission with zip compression, leading to text/html rendering during a "download all" action.

The weakness was published 07/20/2012 as confirmed git commit (GIT Repository). The advisory is available at git.moodle.org. This vulnerability is handled as CVE-2012-2364 since 04/19/2012. The attack may be launched remotely. The successful exploitation needs a simple authentication. Successful exploitation requires user interaction by the victim. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1059.007 by the MITRE ATT&CK project.

By approaching the search of inurl:lib/filelib.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 59335 (Fedora 17 : moodle-2.2.3-1.fc17 (2012-8284)), 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.0.8 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 (59335) and Vulnerability Center (SBV-35727†). Similar entries are available at VDB-61373, VDB-61372, VDB-61371 and VDB-61369. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 3.5
VulDB Meta Temp Score: 3.4

VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: HTML injection
CWE: CWE-79 / CWE-94 / CWE-74
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: 59335
Nessus Name: Fedora 17 : moodle-2.2.3-1.fc17 (2012-8284)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 864323
OpenVAS Name: Fedora Update for moodle FEDORA-2012-8284
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Upgrade: Moodle 2.0.8
Patch: ce4126c7a9e07dd0514f7ac297b5e60cad0b8d20

Timelineinfo

04/19/2012 🔍
06/07/2012 +49 days 🔍
07/20/2012 +43 days 🔍
07/20/2012 +0 days 🔍
07/26/2012 +6 days 🔍
03/23/2015 +970 days 🔍
12/06/2021 +2450 days 🔍

Sourcesinfo

Product: moodle.org

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

CVE: CVE-2012-2364 (🔍)
GCVE (CVE): GCVE-0-2012-2364
GCVE (VulDB): GCVE-100-61370
SecurityFocus: 53626
Vulnerability Center: 35727 - Moodle 2.0.x Before 2.0.9, 2.1.x Before 2.1.6, and 2.2.x Before 2.2.3 XSS Vulnerability, Medium

See also: 🔍

Entryinfo

Created: 03/23/2015 16:50
Updated: 12/06/2021 16:37
Changes: 03/23/2015 16:50 (57), 04/15/2017 15:57 (9), 12/06/2021 16:30 (3), 12/06/2021 16:37 (3)
Complete: 🔍
Cache ID: 216:299:103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!