silverstripe/silverstripe-framework · Security
Missing permission check of canView in GridFieldPrintButton
- GHSA ID
- GHSA-jh3w-6jp2-vqqm
- CVE ID
- CVE-2023-22728
- Severity
- medium
- Published
- Updated
- CVSS
- 4.3 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CVSS v3
- 4.3 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Description
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
CWEs
- CWE-862 · Missing Authorization
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://www.silverstripe.org/download/security-releases/cve-2023-22728 ↗
- https://github.com/advisories/GHSA-jh3w-6jp2-vqqm ↗