lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 12 May 2007 15:09:37 -0400 (EDT)
From: Josh Zlatin-Amishav <josh@...at.cc>
To: Tim Newsham <newsham@...a.net>
Cc: p3rlhax@...il.com, bugtraq@...urityfocus.com
Subject: Re: squirrelmail CSRF vulnerability

On Fri, 11 May 2007, Tim Newsham wrote:

>> 1.4.8-4 is vulnerable to a XSS vulnerability, so an attacker could use the
>> XSS vector to grab the session token ("CSRF token") and continue the CSRF 
>> attack.
>
> This might just be semantics:  I wouldn't consider the XSS attack to be a 
> CSRF attack.

The point is, if the application is vulnerable to an XSS vulnerability
then having a CSRF token wont protect you from a CSRF attack. The
attacker could use the XSS vector to steal the CSRF token, much like the
Samy worm worked.

>The XSS script runs in the same context that the user or any 
> legitimate script running on behalf of the user runs.  When it makes a 
> reference, it has access to things like the CSRF token.

Exactly, thus the CSRF token wont be much help in protection you from a
CSRF attack, if the attacker can just parse out that token and use it in
CSRF attack.

--
  - Josh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ