medium4.3
CVE-2023-22728
Missing permission check of canView in GridFieldPrintButton
Impact
The GridField print view incorrectly validates the permission of DataObjects potentially allowing a content author to view records they are not authorised to access. Upgrade to `silverstripe/framework` 4.12.5 or above to address the issue. Reported by Stephan Bauer from [relaxt Webdienstleistungsagentur GmbH](https://www.relaxt.at/)
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | silverstripe/framework | < 4.12.5 | 4.12.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Silverstripe | Framework | before 4.12.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/silverstripe/silverstripe-framework/commit/fd5d8217e83768d7bf841e94b2d4d82642d5bc58
- https://github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-jh3w-6jp2-vqqm
- https://github.com/advisories/GHSA-jh3w-6jp2-vqqm
- https://nvd.nist.gov/vuln/detail/CVE-2023-22728
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2023-22728.yaml
- https://www.silverstripe.org/download/security-releases/cve-2023-22728