Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!


TUCoPS :: Web :: Specific Sites :: b06-2924.htm

Virtualtourist.com - XSS with cookie disclosure



Virtualtourist.com - XSS with cookie disclosure
Virtualtourist.com - XSS with cookie disclosure



Virtualtourist.com=0D
=0D
Homepage:=0D
http://www.virtualtourist.com=0D 
=0D
Effected files:=0D
Input boxes of your profile=0D
search destination input box=0D
=0D
-------------------------------------------------------=0D
=0D
=0D
XSS vulnerability with cookie disclosure:=0D
=0D
Under the section of "Tell others a little about yourself" the input box "Your External Homepage" does not correctly filter user data input. We can bypass this by escaping quotes and using ending tags. For PoC try putting this in the "Your =0D
=0D
external homepage" box:=0D
">">'>'><""><"<"<"<'<"">=0D
=0D
Screenshots:=0D
http://www.youfucktard.com/xsp/virt1.jpg=0D 
http://www.youfucktard.com/xsp/virt2.jpg=0D 
=0D
And below is our cookie data that was written out:=0D
=0D
VTGL3=4213; RMID=48960e9c448d1f20; VTVisit=448d1ffd; RMFS=011FphYUU206xzA; VT=bbd45.443b84e70a5fa06ba8515a=0D
=0D
0e0d39db1c|luny666|0|k9pFi7ASw/4c68/7I2/bxg|0|j0qmfs|0|0|UTC; VTOStamp=448d2150; VTID=NzY5MzQ5fGZ1Y2tpdA===0D
=0D
Now, lets dissect this cookie, I don't know much about it at this time,except a few things:=0D
=0D
VTGL3=4213; (maybe our userid #)=0D
=0D
RMID=48960e9c448d1f20; (No idea, Registered Member ID #or hash ? )=0D
=0D
VTVisit=448d1ffd; (Virtual Tourist Vist=Possibly random string given to this session, or page we were on)=0D
=0D
RMFS=011FphYUU206xzA; (No idea, Registered Member something ?)=0D
=0D
This next part is huge, and in a few sections:=0D
=0D
VT=bbd45.443b84e70a5fa06ba8515a0e0d39db1c|luny666|0|k9pFi7ASw/4c68/7I2/bxg|0|j0qmfs|0|0|UTC;=0D
=0D
VT=bbd45. (No idea, Virtual Tourist something)=0D
=0D
443b84e70a5fa06ba8515a0e0d39db1c (Looks like a md5 hash, am working to find out if its a pw)=0D
=0D
luny666 (This my our username)=0D
=0D
0 (No idea, possibly meaning 0, like 1 would mean yes)=0D
=0D
k9pFi7ASw/4c68/7I2/bxg (No idea, could be a password)=0D
=0D
bxg|0|j0qmfs|0|0|UTC; (No idea)=0D
=0D
VTOStamp=448d2150; (VirtualTourist Timestamp string?)=0D
=0D
And finally, the best one of all, this one WE DO know what it is:=0D
=0D
VTID=NzY5MzQ5fGZ1Y2tpdA===0D
=0D
The above this base64 encoded. When we decode NzY5MzQ5fGZ1Y2tpdA== we see that it says: =0D
=0D
769349|fuckit=0D
=0D
And everyone, yes my password for that website is "fuckit". (Don't bother, I only use this password to audit sites) Now, =0D
=0D
we know the users login name (luny666) and password (fuckit).=0D
=0D
--------------------------------------------------=0D
=0D
XSS Vuln via search destination input box:=0D
=0D
For a XSS example try putting:=0D
">">'>'><""><"<"<"<'<"">=0D 


TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH