CVE-2019-9185: Bolt Unrestricted Upload of File with Dangerous Type
Summary
CVE-2019-9185: Bolt Unrestricted Upload of File with Dangerous Type. Affects bolt/bolt versions < 3.6.5. Fixed in 3.6.5. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Bolt is an open-source content management system (CMS) written in PHP. It provides a flexible platform for creating and managing websites. The vulnerability in Bolt, identified as CVE-2019-9185, allows remote attackers to execute arbitrary PHP code by renaming a previously uploaded file to have a .php extension.
Vulnerability Detail
The vulnerability arises from a flaw in the Controller/Async/FilesystemManager.php file in the file manager component of Bolt. Attackers can exploit this vulnerability by renaming a file that was previously uploaded to the system, giving it a .php extension. This allows them to execute arbitrary PHP code, potentially leading to unauthorized access, data breaches, or other malicious activities.
How To Fix
Minimum fixed version
3.6.5
This is the first release that contains the fix.
composer require bolt/bolt:3.6.5
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to update to the fixed version of Bolt as soon as possible.
Conclusion
The vulnerability in Bolt allows remote attackers to execute arbitrary PHP code by renaming a previously uploaded file to have a .php extension. To mitigate this risk, it is crucial to update Bolt to version 3.6.5 or later. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for bolt/bolt →
FAQ
Bolt is an open-source content management system (CMS) written in PHP. It provides a flexible platform for creating and managing websites.
The vulnerability allows remote attackers to execute arbitrary PHP code, potentially leading to unauthorized access, data breaches, or other malicious activities.
To fix this vulnerability, it is recommended to update Bolt to version 3.6.5 or later. This version includes a fix for the unrestricted upload vulnerability.
There is no known workaround for this vulnerability. It is essential to update to the fixed version of Bolt as soon as possible.
For more information about this vulnerability, you can refer to the GitHub advisory database or contact the Bolt project team.
Related vulnerabilities
Recent vulnerabilities recorded for bolt/bolt.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.