SQL injection in Moodle - CVE-2022-0983
Published: March 21, 2022
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
Fedora
moodle
How to mitigate CVE-2022-0983
moodle - addressed in versions 3.11.6-1.fc34, 3.11.6-1.fc35, 3.11.6-1.fc36