Bug 1692936 (CVE-2019-3852)

Summary: CVE-2019-3852 moodle: get_with_capability_join/get_users_by_capability not aware of context freezing
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: gwync, igor.raits, sergio
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: moodle 3.6.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:52:10 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: 1692937, 1692938    
Bug Blocks:    

Description Laura Pardo 2019-03-26 17:14:17 UTC
A vulnerability was found in moodle before version 3.6.3. The get_with_capability_join and get_users_by_capability functions were not taking context freezing into account when checking user capabilities

Upstream Bug:
https://tracker.moodle.org/browse/MDL-64410

Upstream Patch:
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-64410

Comment 1 Laura Pardo 2019-03-26 17:14:20 UTC
Acknowledgments:

Name: Andrew Nicols

Comment 2 Laura Pardo 2019-03-26 17:14:23 UTC
External References:

https://moodle.org/mod/forum/discuss.php?d=384015#p1547748

Comment 3 Laura Pardo 2019-03-26 17:14:57 UTC
Created moodle tracking bugs for this issue:

Affects: epel-all [bug 1692938]
Affects: fedora-all [bug 1692937]

Comment 4 Product Security DevOps Team 2019-06-10 10:52:10 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.