Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: CSRF attack in Firefox |
|---|---|
| Date: | Tue, 18 Mar 2008 16:01:15 +0000 |
On 18/03/2008, Vishal Garg <vishal@firstbase.co.uk> wrote:
Hi List, I have tested the following attack in Firefox and it has worked successfully, while I would not have expected this to work because of the same origin policy in Firefox. The Firefox version I am using is 2.0.0.12. http://www.victim.com/webapp/wcs/servlet/ImagePopup?storeId=111&imageName=image1.jpg&imageText=%3Cimg%20src=http://www.attacker.com/images/image2.jpg%3E Can someone please explain why this attack works in Firefox.
Same origin doesn't apply to <img> tags - you can load images from anywhere on the net. But, it looks like you are exploiting a XSS to get your image loaded into a page, rather than a CSRF to GET/POST to a victim server. The typical CSRF request would be produce a GET/POST to e.g. http://victim.com/deletemyprofile.php , but triggered by viewing a page on http://attacker.com/ - so you don't really have a CSRF attack here, but does look like XSS. (I think - please feel free to disagree) cheers, Jamie -- Jamie Riden / jamesr@europe.com / jamie@honeynet.org.uk UK Honeynet Project: http://www.ukhoneynet.org/ ------------------------------------------------------------------------- Sponsored by: Watchfire Methodologies & Tools for Web Application Security Assessment With the rapid rise in the number and types of security threats, web application security assessments should be considered a crucial phase in the development of any web application. What methodology should be followed? What tools can accelerate the assessment process? Download this Whitepaper today! https://www.watchfire.com/securearea/whitepapers.aspx?id=70170000000940F -------------------------------------------------------------------------
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Fwd: Re: web application scanning tool - any unsecure demo sites out there to run them against?, RUI PEREIRA - WCG |
|---|---|
| Next by Date: | Re: web application scanning tool - any unsecure demo sites out there to run them against?, bigbert007 |
| Previous by Thread: | CSRF attack in Firefox, Vishal Garg |
| Next by Thread: | Re: CSRF attack in Firefox, Ali, Saqib |
| Indexes: | [Date] [Thread] [Top] [All Lists] |