Moodle Configurable Reports SQL injection in report filter parameter
jleyva moodle-block_configurablereports
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| jleyva moodle-block_configurablereports |
| No fix yet |
Original description
Configurable Reports block for Moodle (moodle-block_configurablereports) before 5.3.1 contains an sql injection vulnerability in report_sql::prepare_sql() via the filter_var request parameter of viewreport.php. Low-privileged users permitted to view reports using the %%FILTER_VAR%% placeholder can inject subqueries or UNION SELECT to read arbitrary database tables, including user password hashes.
From the CVE record · VulnCheck