Bug 1629921 (CVE-2018-14630)

Summary: CVE-2018-14630 moodle: Moodle XML import of ddwtos could lead to intentional remote code execution (MSA-18-0017)
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: gwync, igor.raits
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: moodle 3.5.2, moodle 3.4.5, moodle 3.3.8, moodle 3.1.14 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:38:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1629923, 1629924    
Bug Blocks:    

Description Laura Pardo 2018-09-17 16:05:12 UTC
A flaw was found in Moodle. 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.


References:
https://moodle.org/mod/forum/discuss.php?d=376023

Upstream Patch:
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-62880

Comment 1 Laura Pardo 2018-09-17 16:06:07 UTC
Created moodle tracking bugs for this issue:

Affects: epel-all [bug 1629924]
Affects: fedora-all [bug 1629923]

Comment 2 Product Security DevOps Team 2019-06-10 10:38:00 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.