Bug 1941729 (CVE-2019-14828)

Summary: CVE-2019-14828 moodle: course creation did not check the creator's role assignment capability before automatically assigning them as a teacher in the course
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: gwync, igor.raits
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in Moodle where users with the capability to create courses were assigned as a teacher in those courses, regardless of whether they had the capability to be automatically assigned that role.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-28 05:29:27 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: 1941744    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2021-03-22 16:37:28 UTC
A vulnerability was found in Moodle affecting 3.7 to 3.7.1, 3.6 to 3.6.5, 3.5 to 3.5.7 and earlier unsupported versions, where users with the capability to create courses were assigned as a teacher in those courses, regardless of whether they had the capability to be automatically assigned that role.

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

Comment 1 Guilherme de Almeida Suckevicz 2021-03-22 16:51:30 UTC
Created moodle tracking bugs for this issue:

Affects: epel-all [bug 1941744]