Exploit database

Vulnerability

CVE-2016-15043

WP Mobile Detector <= 3.5 - Arbitrary File Upload

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · Wordfence

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

The WP Mobile Detector plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in resize.php file in versions up to, and including, 3.5. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected sites server which may make remote code execution possible.

CVE Program

Exploit source choices

1 source
WordPress WP Mobile Detector 3.5 Shell Upload
MSF-unix--webapp--wp_mobile_detector_upload_executeMetasploitPHP / remotePreferred

WP Mobile Detector Plugin for WordPress contains a flaw that allows a remote attacker to execute arbitrary PHP code. This flaw exists because the /wp-content/plugins/wp-mobile-detector/resize.php script does contains a remote file include for files not cached by the system already. By uploading a .php file, the remote system will place the file in a user-accessible path. Making a direct request to the uploaded file will allow the attacker to execute the script with the privileges of the web server.

2016-05-31wp_mobile_detector_upload_execute.rb