SQL injection in Moodle - CVE-2022-30599
Published: May 17, 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 code relating to configuring criteria. 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-30599
moodle - addressed in versions 3.11.7-1.fc34, 3.11.7-1.fc35, 3.11.7-1.fc36