Skip to content
OpenAdvisories
Medium · 4.3 GHSA-52cx-hpc5-cxwc

silverstripe/framework missing ACL on reports

Published May 27, 2024 · Updated Dec 2, 2024 · Assigned by GHSA

Description

The SS_Report, and the reports CMS section only checks `canView()` when listing the reports that can be viewed by the current user.

It does not (and should) perform `canView` checks when the report is actually viewed, so if you know the URL to a report and can otherwise access the Reports section of the CMS, you can view any report.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist silverstripe/framework >= 3.1.19-rc1, < 3.1.20 3.1.20 GHSA-52cx-hpc5-cxwc
Packagist silverstripe/framework >= 3.2.4-rc1, < 3.2.5 3.2.5 GHSA-52cx-hpc5-cxwc
Packagist silverstripe/framework >= 3.3.2-rc1, < 3.3.3 3.3.3 GHSA-52cx-hpc5-cxwc
Packagist silverstripe/framework >= 3.4.0-rc1, < 3.4.1 3.4.1 GHSA-52cx-hpc5-cxwc

References