Bug 2236452 (CVE-2023-40319, MSA-23-0022)

Summary: CVE-2023-40319 moodle: SQL injection risk in grader report sorting
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: moodle 4.2.2 Doc Type: ---
Doc Text:
An SQL injection risk was identified in the grader report sorting. Note: By default the capability to access this page is only available to teachers, non-editing teachers and managers.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2236459, 2236460    
Bug Blocks: 2236401    

Description TEJ RATHI 2023-08-31 10:17:50 UTC
An SQL injection risk was identified in the grader report sorting.
(Note: By default the capability to access this page is only available to teachers, non-editing teachers and managers.)

Versions affected: 4.2 to 4.2.1

Versions fixed: 4.2.2

https://moodle.org/mod/forum/discuss.php?d=449643
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-78790

Comment 1 TEJ RATHI 2023-08-31 10:20:58 UTC
Created moodle tracking bugs for this issue:

Affects: epel-7 [bug 2236459]
Affects: fedora-all [bug 2236460]