Bug 1895425 (CVE-2020-25699)

Summary: CVE-2020-25699 moodle: Privilege escalation within a course when restoring role overrides
Product: [Other] Security Response Reporter: Michael Kaplan <mkaplan>
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, security-response-team, sergio
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: moodle 3.9.3, moodle 3.8.6, moodle 3.7.9, moodle 3.5.15, moodle 3.10 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Moodle. Insufficient capability checks could allow users who can restore courses to escalate their privileges to roles within the course. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-19 17:28:38 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: 1899536, 1899537    
Bug Blocks:    

Description Michael Kaplan 2020-11-06 16:29:35 UTC
Insufficient capability checks could lead to users with the ability to course restore adding additional capabilities to roles within that course.

Versions affected:  3.9 to 3.9.2, 3.8 to 3.8.5, 3.7 to 3.7.8, 3.5 to 3.5.14 and earlier unsupported versions

Comment 3 Michael Kaplan 2020-11-19 14:03:51 UTC
Created moodle tracking bugs for this issue:

Affects: epel-all [bug 1899536]
Affects: fedora-all [bug 1899537]

Comment 4 Product Security DevOps Team 2020-11-19 17:28:38 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.