Bug 2021517 (CVE-2021-43559, MSA-21-0041)

Summary: CVE-2021-43559 moodle: CSRF risk on delete related badge feature
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.4, moodle 3.10.8 and moodle 3.9.11 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Moodle in versions 3.11 to 3.11.3, 3.10 to 3.10.7, 3.9 to 3.9.10 and earlier unsupported versions. The "delete related badge" functionality did not include the necessary token check to prevent a CSRF risk.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 16:31:19 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: 2023829, 2023828    
Bug Blocks: 2021633    

Description Guilherme de Almeida Suckevicz 2021-11-09 14:06:54 UTC
The "delete related badge" functionality did not include the necessary token check to prevent a CSRF risk.

Comment 1 Guilherme de Almeida Suckevicz 2021-11-16 16:20:34 UTC
Created moodle tracking bugs for this issue:

Affects: epel-7 [bug 2023829]
Affects: fedora-all [bug 2023828]

Comment 2 Product Security DevOps Team 2021-11-16 16:31:17 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.