Bug 2083610 (CVE-2022-30599, MSA-22-0013)

Summary: CVE-2022-30599 moodle: SQL injection risk in badge award criteria
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: gwync, igor.raits, security-response-team, sergio
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: moodle 4.0.1, moodle 3.11.7, moodle 3.10.11, moodle 3.9.14 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in moodle where an SQL injection risk was identified in Badges code relating to configuring criteria.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-18 09:45:56 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: 2087634, 2087638    
Bug Blocks: 2083619, 2084419    

Description TEJ RATHI 2022-05-10 12:30:22 UTC
An SQL injection risk was identified in Badges code relating to configuring criteria. NOTE: in Moodle 4.0, 3.11.6, 3.10.10 and 3.9.13, access to this vulnerability was available to site administrators only. In earlier versions, access to the relevant capability was also limited to teachers and managers by default.

Versions affected: 4.0, 3.11 to 3.11.6, 3.10 to 3.10.10, 3.9 to 3.9.13 and earlier unsupported versions
Versions fixed   : 4.0.1, 3.11.7, 3.10.11 and 3.9.14

Comment 3 Avinash Hanwate 2022-05-18 06:31:14 UTC
Created moodle tracking bugs for this issue:

Affects: epel-all [bug 2087638]
Affects: fedora-all [bug 2087634]

Comment 4 Product Security DevOps Team 2022-05-18 09:45:54 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.