Bug 1705491 (CVE-2019-11631)

Summary: CVE-2019-11631 moodle: remote authenticated administrator allows to execute arbitrary PHP code
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: gwync, igor.raits, sergio
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:54:51 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: 1705495, 1705496    
Bug Blocks:    

Description Dhananjay Arunesh 2019-05-02 12:07:38 UTC
Moodle 3.6.3 allows remote authenticated administrators to execute arbitrary PHP code via a ZIP archive, containing a theme_*.php file, to repository/repository_ajax.php?action=upload and admin/tool/installaddon/index.php.

Reference:
https://pentest.com.tr/exploits/Moodle-3-6-3-Install-Plugin-Remote-Command-Execution.html

Comment 1 Dhananjay Arunesh 2019-05-02 12:10:22 UTC
Created moodle tracking bugs for this issue:

Affects: fedora-all [bug 1705495]

Comment 2 Dhananjay Arunesh 2019-05-02 12:10:50 UTC
Created moodle tracking bugs for this issue:

Affects: epel-all [bug 1705496]

Comment 3 Product Security DevOps Team 2019-06-10 10:54:51 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.