REDHAT-BUG-2576520: SQL Injection
A flaw was found in Moodle's external database enrolment plugin (enroldatabase). Insufficient sanitization of data passed to queries against the external enrolment database allows an editing teacher to perform SQL injection against that external database. Exploitation requires the enroldatabase plugin to be enabled, which is not a default configuration.