Description
Wolf CMS before 0.8.3.1 allows unrestricted file rename and PHP Code Execution because admin/plugin/file_manager/browse/ (aka the filemanager) does not prevent a change of a file extension to ".php" after originally using the parameter "filename" for uploading a JPEG image. Exploitation requires a registered user who has access to upload functionality.
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.
Exploit-DB 2
- Wolf CMS 0.8.2 - Arbitrary File Upload (Metasploit) EDB-40004 · remote · Jun 22, 2016
- Wolf CMS - Arbitrary File Upload / Execution EDB-38000 · webapps · Aug 28, 2015
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://www.websecgeeks.com/2015/08/wolf-cms-arbitrary-file-upload-to.html
- https://github.com/wolfcms/wolfcms/issues/625
- https://github.com/wolfcms/wolfcms/releases/tag/0.8.3.1
- 38000 exploit
- 40004 exploit
- https://github.com/wolfcms/wolfcms/commit/2160275b60736f706dfda132c7c46728c5b255fa
- https://www.wolfcms.org/blog/2015/08/10/releasing-wolf-cms-0-8-3-1.html