CVE-2019-9185 Bolt Unrestricted Upload of File with Dangerous Type
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.
| Package | Affected | Fixed in |
|---|---|---|
bolt/bolt Packagist | All versions | 3.6.5 |
bolt/bolt Packagist | All versions | 3.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.
Other vulnerabilities in n/a
Sources
Also known as GHSA-gmg5-f2gm-p3h7.