SQL injection in Moodle - CVE-2022-0983

 

SQL injection in Moodle - CVE-2022-0983

Published: March 21, 2022


Vulnerability identifier: #VU61480
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-0983
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data in Badges criteria code. A remote user can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.


Affected software

Moodle
Fedora
moodle

How to mitigate CVE-2022-0983

Install updates from vendor's website.

Moodle - addressed in versions 3.9.13, 3.10.10, 3.11.6
moodle - addressed in versions 3.11.6-1.fc34, 3.11.6-1.fc35, 3.11.6-1.fc36

External References

Related Security Bulletins