Rapid7 Vulnerability & Exploit Database

Moodle: Improper Control of Generation of Code ('Code Injection') (CVE-2019-14827)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Moodle: Improper Control of Generation of Code ('Code Injection') (CVE-2019-14827)

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:N/I:P/A:N)
Published
05/17/2021
Created
06/03/2021
Added
06/03/2021
Modified
06/03/2021

Description

A vulnerability was found in Moodle where javaScript injection was possible in some Mustache templates via recursive rendering from contexts. Mustache helper tags that were included in template contexts were not being escaped before that context was injected into another Mustache helper, which could result in script injection in some templates. This affects versions 3.7 to 3.7.1, 3.6 to 3.6.5, 3.5 to 3.5.7 and earlier unsupported versions.

Solution(s)

  • moodle-upgrade-latest

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;