Headline
CVE-2022-0983: 2064119 – (CVE-2022-0983, MSA-22-0005) CVE-2022-0983 moodle: SQL injection risk in badges criteria code
An SQL injection risk was identified in Badges code relating to configuring criteria. Access to the relevant capability was limited to teachers and managers by default.
Note: If your use of the APIs is failing with an error titled ‘API access must use the Authorization header’ then you need to read the API Authentication changes announcement
Bug 2064119 (CVE-2022-0983, MSA-22-0005) - CVE-2022-0983 moodle: SQL injection risk in badges criteria code
Summary: CVE-2022-0983 moodle: SQL injection risk in badges criteria code
Keywords:
Status:
CLOSED UPSTREAM
Alias:
CVE-2022-0983, MSA-22-0005
Product:
Security Response
Classification:
Other
Component:
vulnerability
Sub Component:
Version:
unspecified
Hardware:
All
OS:
Linux
Priority:
high
Severity:
high
Target Milestone:
—
Assignee:
Red Hat Product Security
QA Contact:
Docs Contact:
URL:
Whiteboard:
Depends On:
2064124 2064126
Blocks:
2064212
TreeView+
depends on / blocked
Reported:
2022-03-15 06:13 UTC by TEJ RATHI
Modified:
2022-03-25 12:38 UTC (History)
CC List:
3 users (show)
Fixed In Version:
moodle 3.11.6, moodle 3.10.10, moodle 3.9.13
Doc Type:
If docs needed, set a value
Doc Text:
An SQL injection risk was identified in Badges code relating to configuring criteria. Access to the relevant capability was limited to teachers and managers by default.
Clone Of:
Environment:
Last Closed:
2022-03-15 10:31:52 UTC
Attachments
(Terms of Use)
Add an attachment (proposed patch, testcase, etc.)
Description TEJ RATHI 2022-03-15 06:13:57 UTC
An SQL injection risk was identified in Badges code relating to configuring criteria. Access to the relevant capability was limited to teachers and managers by default.
Versions affected: 3.11 to 3.11.5, 3.10 to 3.10.9, 3.9 to 3.9.12 and earlier unsupported versions
References: http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74074
Comment 1 TEJ RATHI 2022-03-15 06:14:29 UTC
Created moodle tracking bugs for this issue:
Affects: epel-7 [bug 2064124] Affects: fedora-all [bug 2064126]
Comment 3 Product Security DevOps Team 2022-03-15 10:31:50 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.
Note You need to log in before you can comment on or make changes to this bug.