Bug 2064118 (CVE-2022-0984, MSA-22-0007)

Summary: CVE-2022-0984 moodle: possible to reach the profile field badge criteria on a course page
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
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.11.6, moodle 3.10.10, moodle 3.9.13 Doc Type: If docs needed, set a value
Doc Text:
Users with the capability to configure badge criteria (teachers and managers by default) were able to configure course badges with profile field criteria, which should only be available for site badges.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-15 10:31:09 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: 2064122, 2064125    
Bug Blocks: 2064215    

Description TEJ RATHI 2022-03-15 06:13:53 UTC
Description: Users with the capability to configure badge criteria (teachers and managers by default) were able to configure course badges with profile field criteria, which should only be available for site badges.

Versions affected: 3.11 to 3.11.5, 3.10 to 3.10.9, 3.9 to 3.9.12 and earlier unsupported versions

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

Comment 1 TEJ RATHI 2022-03-15 06:14:22 UTC
Created moodle tracking bugs for this issue:

Affects: epel-7 [bug 2064122]
Affects: fedora-all [bug 2064125]

Comment 3 Product Security DevOps Team 2022-03-15 10:31:07 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.