Moodle up to 2.5.9/2.6.6/2.7.3/2.8.1 lib/externallib.php external_format_text cross site scripting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.4 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic was found in Moodle up to 2.5.9/2.6.6/2.7.3/2.8.1. This impacts the function external_format_text in the library lib/externallib.php. Such manipulation leads to cross site scripting.
This vulnerability is documented as CVE-2015-3178. The attack can be executed remotely. There is not any exploit available.
Upgrading the affected component is advised.
Details
A vulnerability, which was classified as problematic, has been found in Moodle up to 2.5.9/2.6.6/2.7.3/2.8.1 (Learning Management Software). Affected by this issue is the function external_format_text in the library lib/externallib.php. The manipulation with an unknown input leads to a cross site scripting 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 the external_format_text function in lib/externallib.php in Moodle through 2.5.9, 2.6.x before 2.6.11, 2.7.x before 2.7.8, and 2.8.x before 2.8.6 allows remote authenticated users to inject arbitrary web script or HTML into an external application via a crafted string that is visible to web services.
The weakness was released 06/01/2015 (Website). The advisory is shared for download at moodle.org. This vulnerability is handled as CVE-2015-3178 since 04/10/2015. The exploitation is known to be easy. The attack may be launched remotely. The successful exploitation requires a simple authentication. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1059.007.
By approaching the search of inurl:lib/externallib.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 86032 (Fedora 23 : moodle-2.9.1-1.fc23 (2015-14987)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 124077 (Fedora Security Update for moodle (FEDORA-2015-14988)).
Upgrading to version 2.6.7, 2.7.4 or 2.8.2 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (86032), SecurityFocus (BID 74726†) and Vulnerability Center (SBV-50640†). Entries connected to this vulnerability are available at VDB-75652, VDB-75653, VDB-75654 and VDB-75655. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
- 2.5.0
- 2.5.1
- 2.5.2
- 2.5.3
- 2.5.4
- 2.5.5
- 2.5.6
- 2.5.7
- 2.5.8
- 2.5.9
- 2.6.0
- 2.6.1
- 2.6.2
- 2.6.3
- 2.6.4
- 2.6.5
- 2.6.6
- 2.7.0
- 2.7.1
- 2.7.2
- 2.7.3
- 2.8.0
- 2.8.1
License
Website
- Product: https://moodle.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.5VulDB Meta Temp Score: 3.4
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Cross site scriptingCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 86032
Nessus Name: Fedora 23 : moodle-2.9.1-1.fc23 (2015-14987)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 867773
OpenVAS Name: Fedora Update for moodle FEDORA-2015-14996
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Moodle 2.6.7/2.7.4/2.8.2
Timeline
04/10/2015 🔍05/19/2015 🔍
05/19/2015 🔍
06/01/2015 🔍
06/01/2015 🔍
06/02/2015 🔍
06/18/2015 🔍
05/19/2022 🔍
Sources
Product: moodle.orgAdvisory: moodle.org
Status: Not defined
Confirmation: 🔍
CVE: CVE-2015-3178 (🔍)
GCVE (CVE): GCVE-0-2015-3178
GCVE (VulDB): GCVE-100-75656
SecurityFocus: 74726 - Moodle CVE-2015-3178 Cross Site Scripting Vulnerability
SecurityTracker: 1032358
Vulnerability Center: 50640 - Moodle Remote XSS when Returning Text Entered by Student From Web Services, Low
See also: 🔍
Entry
Created: 06/02/2015 09:59Updated: 05/19/2022 22:21
Changes: 06/02/2015 09:59 (63), 07/01/2017 07:58 (8), 05/19/2022 22:06 (3), 05/19/2022 22:21 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.