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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
jleyva moodle-block_configurablereports
Default version status: unaffected
0 to < 5.3.0affected
References
- https://github.com/jleyva/moodle-block_configurablereports/commit/4a0e6eadf7bdb6fa52ef71141bdf120cd68e6abc ↗
- https://github.com/jleyva/moodle-block_configurablereports/releases/tag/5.3.0 ↗
- https://github.com/jleyva/moodle-block_configurablereports/blob/5.2.0/classes/external.php#L95-L99 ↗
- https://www.vulncheck.com/advisories/configurable-reports-block-for-moodle-before-5.3.0-authorization-bypass-via-get-report-data ↗