WordPress Contus Video Gallery Plugin Arbitrary File Upload Vulnerability


Description   Sammy Forgit has discovered a vulnerability in the Contus Video 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/contus-video-galleryversion-10/upload1.php script improperly validating uploaded files, which can be exploited to execute arbitrary PHP code by uploading a PHP file with e.g. an appended ".gif" file extension.
Successful exploitation requires that Apache is not configured to handle the mime-type for media files with e.g. a ".jpg" or ".gif" extension (Configured to handle by default).
The vulnerability is confirmed in version 1.3. Other versions may also be affected.
     
Vulnerable Products   Vulnerable Software:
WordPress Contus Video Gallery Plugin 1.x
     
Solution   Restrict access to the wp-content/plugins/contus-video-galleryversion-10/upload1.php script (e.g. via .htaccess).
     
CVE  
     
References   OpenSysCom:
http://www.opensyscom.fr/Actualites/wordpress-plugins-wordpress-video-gallery-arbitrary-file-upload-vulnerability.html
     
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 
Low 

 Vulnerability First Public Report Date 
2012-06-12 

 Target Type 
Server 

 Possible exploit 
Remote