// For flags

CVE-2018-14630

Moodle 3.x PHP Unserialize Remote Code Execution

Severity Score

8.8
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

2
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

moodle before versions 3.5.2, 3.4.5, 3.3.8, 3.1.14 is vulnerable to an XML import of ddwtos could lead to intentional remote code execution. When importing legacy 'drag and drop into text' (ddwtos) type quiz questions, it was possible to inject and execute PHP code from within the imported questions, either intentionally or by importing questions from an untrusted source.

moodle en versiones anteriores a la 3.5.2, 3.4.5, 3.3.8 y 3.1.14 es vulnerable a una importación XML de ddwtos que podría conducir a la ejecución intencional de código de forma remota. Al importar preguntas heredadas de quiz de tipo "drag and drop into text" (ddwtos), era posible inyectar y ejecutar código PHP desde las preguntas importadas, ya sea de forma intencionada o importando preguntas de una fuente no fiable.

Moodle versions 3.5.2, 3.4.5, 3.3.8, and 3.1.14 suffer from a remote php unserialize code execution vulnerability.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
Single
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2018-07-27 CVE Reserved
  • 2018-09-17 CVE Published
  • 2024-08-05 CVE Updated
  • 2024-08-05 First Exploit
  • 2024-08-27 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-20: Improper Input Validation
  • CWE-94: Improper Control of Generation of Code ('Code Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Moodle
Search vendor "Moodle"
Moodle
Search vendor "Moodle" for product "Moodle"
<= 3.0.10
Search vendor "Moodle" for product "Moodle" and version " <= 3.0.10"
-
Affected
Moodle
Search vendor "Moodle"
Moodle
Search vendor "Moodle" for product "Moodle"
>= 3.1.0 < 3.1.14
Search vendor "Moodle" for product "Moodle" and version " >= 3.1.0 < 3.1.14"
-
Affected
Moodle
Search vendor "Moodle"
Moodle
Search vendor "Moodle" for product "Moodle"
>= 3.3.0 < 3.3.8
Search vendor "Moodle" for product "Moodle" and version " >= 3.3.0 < 3.3.8"
-
Affected
Moodle
Search vendor "Moodle"
Moodle
Search vendor "Moodle" for product "Moodle"
>= 3.4.0 < 3.4.5
Search vendor "Moodle" for product "Moodle" and version " >= 3.4.0 < 3.4.5"
-
Affected
Moodle
Search vendor "Moodle"
Moodle
Search vendor "Moodle" for product "Moodle"
>= 3.5.0 < 3.5.2
Search vendor "Moodle" for product "Moodle" and version " >= 3.5.0 < 3.5.2"
-
Affected