MEDIUM5.3
GHSA-jvx5-rm6q-gx7p
Lack of access control on upoaded files
Quick fix
GHSA-jvx5-rm6q-gx7p — silverstripe/framework: upgrade to the fixed version with the command below.
composer require silverstripe/framework:^3.6.8Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/silverstripe/framework
Introduced in:
0Fixed in: 3.6.8Fix
composer require silverstripe/framework:^3.6.8Packagist/silverstripe/framework
Introduced in:
3.7.0Fixed in: 3.7.4Fix
composer require silverstripe/framework:^3.7.4Packagist/silverstripe/framework
Introduced in:
4.0.0Fixed in: 4.3.6Fix
composer require silverstripe/framework:^4.3.6Packagist/silverstripe/framework
Introduced in:
4.4.0Fixed in: 4.4.4Fix
composer require silverstripe/framework:^4.4.4Packagist/silverstripe/assets
Introduced in:
1.0.0Fixed in: 1.3.5Fix
composer require silverstripe/assets:^1.3.5Packagist/silverstripe/assets
Introduced in:
1.4.0Fixed in: 1.4.4Fix
composer require silverstripe/assets:^1.4.4References
- https://nvd.nist.gov/vuln/detail/CVE-2019-12245[ADVISORY]
- https://forum.silverstripe.org/c/releases[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/assets/CVE-2019-12245.yaml[WEB]
- https://www.silverstripe.org/download/security-releases[WEB]
- https://www.silverstripe.org/download/security-releases/CVE-2019-12245[WEB]
- https://www.silverstripe.org/download/security-releases/cve-2019-12245[WEB]