| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.2 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Moodle 2.x/3.x. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the component User Preferences. The manipulation results in sql injection. This vulnerability was named CVE-2017-2641. The attack may be performed from remote. In addition, an exploit is available. It is recommended to upgrade the affected component.
Details
A vulnerability was found in Moodle 2.x/3.x (Learning Management Software). It has been classified as critical. Affected is some unknown processing of the component User Preferences. The manipulation with an unknown input leads to a sql injection vulnerability. CWE is classifying the issue as CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
In Moodle 2.x and 3.x, SQL injection can occur via user preferences.
The bug was discovered 03/20/2017. The weakness was presented 03/26/2017 by Marko Belzetski (Website). The advisory is available at moodle.org. This vulnerability is traded as CVE-2017-2641 since 12/01/2016. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details are unknown but a public exploit is available. This vulnerability is assigned to T1505 by the MITRE ATT&CK project.
A public exploit has been developed by Marko Belzetski in PHP and been published 2 weeks after the advisory. The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 6 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 99141 (Fedora 25 : moodle (2017-0196511d58)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 11781 (Moodle Multiple Security Vulnerabilities (MDL-58010,MDL-56526,MDL-57596,MDL-57597)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 5 days after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (41828), Tenable (99141) and SecurityFocus (BID 96977†). See VDB-98541, VDB-98540 and VDB-98539 for similar entries. If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Name
Version
License
Website
- Product: https://moodle.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB Meta Temp Score: 8.2
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
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: Sql injectionCWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Marko Belzetski
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 99141
Nessus Name: Fedora 25 : moodle (2017-0196511d58)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 867773
OpenVAS Name: Fedora Update for moodle FEDORA-2017-0fcaf52f1a
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
Timeline
12/01/2016 🔍03/20/2017 🔍
03/20/2017 🔍
03/26/2017 🔍
03/26/2017 🔍
03/27/2017 🔍
03/31/2017 🔍
04/03/2017 🔍
04/06/2017 🔍
04/06/2017 🔍
09/13/2025 🔍
Sources
Product: moodle.orgAdvisory: FEDORA-2017-0196511d58
Researcher: Marko Belzetski
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2017-2641 (🔍)
GCVE (CVE): GCVE-0-2017-2641
GCVE (VulDB): GCVE-100-98538
SecurityFocus: 96977 - Moodle CVE-2017-2641 SQL Injection Vulnerability
OSVDB: - CVE-2017-2641 - Moodle - SQL Injection Issue
SecurityTracker: 1038174
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/27/2017 08:56Updated: 09/13/2025 05:55
Changes: 03/27/2017 08:56 (86), 09/14/2020 10:38 (5), 11/15/2022 11:23 (3), 11/15/2022 11:31 (1), 09/13/2025 05:55 (14)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.