Arbitrary Code Injection Affecting moodle package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.76% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1604-MOODLE-546533
  • published5 Feb 2020
  • disclosed17 Sept 2018

Introduced: 17 Sep 2018

CVE-2018-14630  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:16.04 moodle.

NVD Description

Note: Versions mentioned in the description apply only to the upstream moodle package and not the moodle package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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.