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:
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
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:
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 1 Michael Kaplan 2020-11-06 16:29:54 UTC
Acknowledgments:

Name: Matt Petro

Comment 2 Michael Kaplan 2020-11-19 14:03:32 UTC
External References:

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

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.