module
WordPress WPTouch Authenticated File Upload
Disclosed | Created |
---|---|
07/14/2014 | 05/30/2018 |
Disclosed
07/14/2014
Created
05/30/2018
Description
The WordPress WPTouch plugin contains an authenticated 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 its 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.
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 its 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.
Authors
Marc-Alexandre MontpasChristian Mehlmauer
Platform
PHP
Architectures
php
References
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 /(d) > show actions ...actions... msf /(d) > set ACTION < action-name > msf /(d) > show options ...show and set options... msf /(d) > run

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