CVE-2019-12245 Lack of access control on upoaded files

Medium 5.3 Published Updated

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.

PackageAffectedFixed in
silverstripe/framework PackagistAll versions3.6.8
silverstripe/framework PackagistAll versions3.6.8
silverstripe/framework PackagistFrom 3.7.03.7.4
silverstripe/framework PackagistFrom 3.7.03.7.4
silverstripe/framework PackagistFrom 4.0.04.3.6
silverstripe/framework PackagistFrom 4.0.04.3.6
6 more packages
silverstripe/framework PackagistFrom 4.4.04.4.4
silverstripe/framework PackagistFrom 4.4.04.4.4
silverstripe/assets PackagistFrom 1.0.01.3.5
silverstripe/assets PackagistFrom 1.0.01.3.5
silverstripe/assets PackagistFrom 1.4.01.4.4
silverstripe/assets PackagistFrom 1.4.01.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.

All Silverstripe Silverstripe vulnerabilities

Sources

Also known as GHSA-jvx5-rm6q-gx7p.

Is CVE-2019-12245 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free