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: FW: blocking CSRF attacks |
|---|---|
| Date: | Wed, 19 Dec 2007 19:26:11 +0000 |
Hi,
Just want to set the record straight on a couple of points.
This is not true - JavaScript cannot read the token because of the browser's same origin policy.If the token is only on the form, then this is still vulnerable to CSRF as the attacker would just need to write a bit of JavaScript that gets the page the form is on first, then reads the token and then posts the form using the valid token.
Referrer can be spoofed; same goes for post and get requests, hence this method will not be reliable as a security mechanism
Paul
.
https://www.watchfire.com/securearea/whitepapers.aspx?id=70170000000940F -------------------------------------------------------------------------
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Abstracting DB Schema from Web Forms, Serg B |
|---|---|
| Next by Date: | RE: blocking CSRF attacks, Boaz Shunami |
| Previous by Thread: | Re: blocking CSRF attacks, Daniel Weber |
| Next by Thread: | Re: FW: blocking CSRF attacks, Martin Johns |
| Indexes: | [Date] [Thread] [Top] [All Lists] |