Bug 1895419 (CVE-2020-25698)

Summary: CVE-2020-25698 moodle: Teacher is able to unenrol users without permission using course restore
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: adaxvier, davitjack508, gwync, igor.raits, jwakely, KalebRamirez2020, maxiomalimo+mola953, michaelolivero1e, saleenajohn2023, 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 where users' enrollment capabilities were not being sufficiently checked when restored into an existing course. This issue could lead to users being removed from enrollment without having adequate permissions.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-19 17:28:35 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: 1899532, 1899533    
Bug Blocks:    

Description Michael Kaplan 2020-11-06 16:22:58 UTC
Users' enrolment capabilities were not being sufficiently checked when they restored into an existing course,  could lead to them unenrolling users without having permission to do so.

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

Comment 3 Michael Kaplan 2020-11-19 13:57:24 UTC
Created moodle tracking bugs for this issue:

Affects: epel-all [bug 1899532]
Affects: fedora-all [bug 1899533]

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

Comment 5 Michael 2023-01-19 22:57:55 UTC Comment hidden (spam)
Comment 6 Choixx 2023-05-21 09:56:18 UTC Comment hidden (spam)
Comment 7 Alan Luiz 2023-05-26 04:30:41 UTC Comment hidden (spam)
Comment 8 Davit Jack 2023-06-19 12:31:52 UTC Comment hidden (spam)
Comment 9 Nicholson 2023-07-05 22:55:26 UTC Comment hidden (spam)
Comment 10 Ada Xavier 2023-07-31 12:46:14 UTC Comment hidden (spam)