CVE-2019-12245 Lack of access control on upoaded files
An attacker can access protected files in SilverStripe by guessing filenames, leading to unauthorized data disclosure.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-12245?
CVE-2019-12245 is a medium-severity missing authorization vulnerability in Silverstripe Silverstripe, published on 25 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-732
Which versions are affected by CVE-2019-12245?
12 open source packages ship an affected version, including silverstripe/framework and silverstripe/assets. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/framework Packagist | All versions | 3.6.8 |
silverstripe/framework Packagist | All versions | 3.6.8 |
silverstripe/framework Packagist | From 3.7.0 | 3.7.4 |
silverstripe/framework Packagist | From 3.7.0 | 3.7.4 |
silverstripe/framework Packagist | From 4.0.0 | 4.3.6 |
silverstripe/framework Packagist | From 4.0.0 | 4.3.6 |
6 more packages
silverstripe/framework Packagist | From 4.4.0 | 4.4.4 |
silverstripe/framework Packagist | From 4.4.0 | 4.4.4 |
silverstripe/assets Packagist | From 1.0.0 | 1.3.5 |
silverstripe/assets Packagist | From 1.0.0 | 1.3.5 |
silverstripe/assets Packagist | From 1.4.0 | 1.4.4 |
silverstripe/assets Packagist | From 1.4.0 | 1.4.4 |
Products include Silverstripe Silverstripe.
How do I fix CVE-2019-12245?
Upgrade silverstripe/framework to a fixed version for your release line: 3.6.8, 3.7.4, 4.3.6 or 4.4.4.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2019-12245 being exploited?
There is no known exploitation of CVE-2019-12245 in the wild and no public exploit code.
Other vulnerabilities in Silverstripe Silverstripe
Sources
Also known as GHSA-jvx5-rm6q-gx7p.