Wordpress Mac Photo Gallery Plugin Arbitrary File Upload Vulnerability


Description   A vulnerability has been discovered in the Mac Photo Gallery plugin for WordPress, which can be exploited by malicious people to compromise a vulnerable system.
The vulnerability is caused due to the wp-content/plugins/mac-dock-gallery/upload-file.php script allowing the upload of files with arbitrary extensions to a folder inside the webroot. This can be exploited to execute arbitrary PHP code by uploading a malicious PHP script.
The vulnerability is confirmed in version 2.7. Other versions may also be affected.
     
Vulnerable Products   Vulnerable Software:
WordPress Mac Photo Gallery Plugin 2.x
     
Solution   Restrict access to the wp-content/plugins/mac-dock-gallery/upload-file.php script (e.g. via .htaccess).
     
CVE  
     
References   http://www.exploit-db.com/exploits/19056/
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
Upload of a PHP file in a vulnerable web application
5.0.0
     


 
 
 
 
 Risk level 
High 

 Vulnerability First Public Report Date 
2012-06-11 

 Target Type 
Server 

 Possible exploit 
Remote