Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in Moodle's external database enrolment plugin (enrol_database). 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 enrol_database plugin to be enabled, which is not a default configuration.