Bug 2043666 (CVE-2022-0335, MSA-22-0004)

Summary: CVE-2022-0335 moodle: CSRF risk in badge alignment deletion
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: 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 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. The "delete badge alignment" functionality did not include the necessary token check to prevent a CSRF risk.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-24 17:32:57 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: 2044475, 2044476    
Bug Blocks: 2043670    

Description Guilherme de Almeida Suckevicz 2022-01-21 17:13:47 UTC
The "delete badge alignment" functionality did not include the necessary token check to prevent a CSRF risk.

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

Affects: epel-7 [bug 2044476]
Affects: fedora-all [bug 2044475]

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