Bug 2043664 (CVE-2022-0334, MSA-22-0003)

Summary: CVE-2022-0334 moodle: Capability gradereport/user:view not always respected when navigating to a user's course grade report
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
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.11.5, moodle 3.10.9 and moodle 3.9.12 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Moodle in versions 3.11 to 3.11.4, 3.10 to 3.10.8, 3.9 to 3.9.11 and earlier unsupported versions. Insufficient capability checks could lead to users accessing their grade report for courses where they did not have the required gradereport/user:view capability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-24 17:32:24 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: 2044473, 2044474    
Bug Blocks: 2043670    

Description Guilherme de Almeida Suckevicz 2022-01-21 17:12:30 UTC
Insufficient capability checks could lead to users accessing their grade report for courses where they did not have the required gradereport/user:view capability.

Comment 1 Guilherme de Almeida Suckevicz 2022-01-24 16:55:41 UTC
Created moodle tracking bugs for this issue:

Affects: epel-7 [bug 2044474]
Affects: fedora-all [bug 2044473]

Comment 2 Product Security DevOps Team 2022-01-24 17:32:22 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.