Description
The theme editor in Bolt before 2.2.5 does not check the file extension when renaming files, which allows remote authenticated users to execute arbitrary code by renaming a crafted file and then directly accessing it.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | bolt | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
CMS Bolt File Upload Vulnerability
exploit/multi/http/bolt_file_upload
Exploit-DB 1
- CMS Bolt - Arbitrary File Upload (Metasploit) EDB-38196 · remote · Sep 15, 2015 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://packetstormsecurity.com/files/133539/CMS-Bolt-2.2.4-File-Upload.html
- 20150818 Bolt 2.2.4 - Code Execution mailing-list
- 38196 exploit
- http://blog.curesec.com/article/blog/Bolt-224-Code-Execution-44.html
- https://bolt.cm/newsitem/bolt-2-2-5-released
- http://www.rapid7.com/db/modules/exploit/multi/http/bolt_file_upload