GHSA-jvx5-rm6q-gx7p
Lack of access control on upoaded files
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | silverstripe/framework | < 3.6.8 | 3.6.8 |
| Packagist | silverstripe/framework | >= 3.7.0, < 3.7.4 | 3.7.4 |
| Packagist | silverstripe/framework | >= 4.0.0, < 4.3.6 | 4.3.6 |
| Packagist | silverstripe/framework | >= 4.4.0, < 4.4.4 | 4.4.4 |
| Packagist | silverstripe/assets | >= 1.0.0, < 1.3.5 | 1.3.5 |
| Packagist | silverstripe/assets | >= 1.4.0, < 1.4.4 | 1.4.4 |
Details
As written in the advisory (Markdown source, shown as plain text).
SilverStripe through 4.3.3 has incorrect access control for protected files uploaded via Upload::loadIntoFile(). An attacker may be able to guess a filename in silverstripe/assets via the AssetControlExtension.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2019-12245
- https://forum.silverstripe.org/c/releases
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/assets/CVE-2019-12245.yaml
- https://www.silverstripe.org/download/security-releases
- https://www.silverstripe.org/download/security-releases/CVE-2019-12245
- https://www.silverstripe.org/download/security-releases/cve-2019-12245