Bug 2179424 (CVE-2023-28335, MSA-23-0010)

Summary: CVE-2023-28335 moodle: CSRF risk in resetting all templates of a database activity
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: security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: moodle 4.1.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-20 21:31:32 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: 2180091, 2180090    
Bug Blocks: 2178257, 2180122    

Description Guilherme de Almeida Suckevicz 2023-03-17 18:01:15 UTC
The link to reset all templates of a database activity did not include the necessary token to prevent a CSRF risk. This flaw affects Moodle versions 4.1 to 4.1.1.

Reference:
https://moodle.org/mod/forum/discuss.php?d=445067

Comment 1 Guilherme de Almeida Suckevicz 2023-03-20 17:27:01 UTC
Created moodle tracking bugs for this issue:

Affects: epel-7 [bug 2180091]
Affects: fedora-all [bug 2180090]

Comment 2 Product Security DevOps Team 2023-03-20 21:31:30 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.