GitHub Advisory Database
GHSA-jh3w-6jp2-vqqm
Missing permission check of canView in GridFieldPrintButton
Details
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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | silverstripe/framework | All versions before 4.12.5 (fixed in 4.12.5) |
References
- https://github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-jh3w-6jp2-vqqm
- https://nvd.nist.gov/vuln/detail/CVE-2023-22728
- https://github.com/silverstripe/silverstripe-framework/commit/fd5d8217e83768d7bf841e94b2d4d82642d5bc58
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2023-22728.yaml
- https://github.com/silverstripe/silverstripe-framework
- https://www.silverstripe.org/download/security-releases/cve-2023-22728