Configurable Reports block for Moodle before 5.3.1 SQL Injection via filter_var
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| jleyvamoodle-block_configurablereports |
< 5.3.1→ 5.3.1 |
5.3.1 |
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com