Tiki Wiki Unauthenticated File Upload Vulnerability
This module exploits a file upload vulnerability in Tiki Wiki <= 15.1 which could be abused to allow unauthenticated users to execute arbitrary code under the context of the web server user. The issue comes with one of the 3rd party components. Name of that component is ELFinder -version 2.0-. This component comes with default example page which demonstrates file operations such as upload, remove, rename, create directory etc. Default configuration does not force validations such as file extension, content-type etc. Thus, unauthenticated user can upload PHP file. The exploit has been tested on Debian 8.x 64-bit and Tiki Wiki 15.1.
- Mehmet Ince <mehmet [at] mehmetince.net>
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/unix/webapp/tikiwiki_upload_exec msf exploit(tikiwiki_upload_exec) > show targets ...targets... msf exploit(tikiwiki_upload_exec) > set TARGET <target-id> msf exploit(tikiwiki_upload_exec) > show options ...show and set options... msf exploit(tikiwiki_upload_exec) > exploit