Back to search

Wordpress WPTouch Authenticated File Upload

The Wordpress WPTouch plugin contains an auhtenticated file upload vulnerability. A wp-nonce (CSRF token) is created on the backend index page and the same token is used on handling ajax file uploads through the plugin. By sending the captured nonce with the upload, we can upload arbitrary files to the upload folder. Because the plugin also uses it's own file upload mechanism instead of the wordpress api it's possible to upload any file type. The user provided does not need special rights, and users with "Contributor" role can be abused.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • Marc-Alexandre Montpas
  • Christian Mehlmauer <FireFart [at]>



  • wptouch < 3.4.3


  • php


  • 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/wp_wptouch_file_upload msf exploit(wp_wptouch_file_upload) > show targets ...targets... msf exploit(wp_wptouch_file_upload) > set TARGET <target-id> msf exploit(wp_wptouch_file_upload) > show options and set options... msf exploit(wp_wptouch_file_upload) > exploit