Description
Configurable Reports block for Moodle before 5.3.0 contains an authorization bypass vulnerability that allows authenticated users to read restricted reports through the block_configurable_reports_get_report_data web service. When check_permissions fails, the function only adds a warning and still returns the full report table, letting any logged-in user supply arbitrary report ids to read SQL reports over user and grade data.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jleyva | moodle-block_configurablereports | < 5.3.0 | 5.3.0 |
References
- https://github.com/jleyva/moodle-block_configurablereports/commit/4a0e6eadf7bdb6fa52ef71141bdf120cd68e6abc patch
- moodle-block_configurablereports 5.3.0 Release Notes release-notes
- https://github.com/jleyva/moodle-block_configurablereports/blob/5.2.0/classes/external.php#L95-L99 technical-description
- VulnCheck Advisory: Configurable Reports block for Moodle before 5.3.0 Authorization Bypass via get_report_data third-party-advisory