module

Tiki Wiki Unauthenticated File Upload Vulnerability

Disclosed
2016-07-11
Created
2018-05-30

Description

This module exploits a file upload vulnerability in Tiki Wiki
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.

Author

Mehmet Ince mehmet@mehmetince.net

Platform

PHP

Architectures

php

Module Options

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

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.