CVE-2019-9185 Bolt Unrestricted Upload of File with Dangerous Type

High 8.8 Published Updated

Remote attackers can execute arbitrary PHP code by renaming uploaded files to .php in Bolt CMS filemanager.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-9185?

CVE-2019-9185 is a high-severity vulnerability in n/a, published on 7 Mar 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Controller/Async/FilesystemManager.php in the filemanager in Bolt before 3.6.5 allows remote attackers to execute arbitrary PHP code by renaming a previously uploaded file to have a .php extension.

Weakness: CWE-434

Which versions are affected by CVE-2019-9185?

2 open source packages ship an affected version, including bolt/bolt. It affects 1 product.

PackageAffectedFixed in
bolt/bolt PackagistAll versions3.6.5
bolt/bolt PackagistAll versions3.6.5

Products include Boltcms Bolt.

How do I fix CVE-2019-9185?

Upgrade bolt/bolt to 3.6.5 or later.

Is CVE-2019-9185 being exploited?

There is no known exploitation of CVE-2019-9185 in the wild and no public exploit code.

Sources

Also known as GHSA-gmg5-f2gm-p3h7.

Is CVE-2019-9185 in your software?

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

Check your SBOMs for free