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.




Network Security Web-App-Sec
[Top] [All Lists]

Re: Cross Site Cooking

Subject: Re: Cross Site Cooking
Date: Tue, 31 Jan 2006 17:12:57 +0100
john-secfocus@o-rourke.org wrote:
It's probably better referring to the cookies RFC 
(ftp://ftp.rfc-editor.org/in-notes/rfc2965.txt) rather than a very old article 
(http://www.ciac.org/ciac/bulletins/i-034.shtml).
The RFC doesn't mention anything about numbers of dots and specific domains.


Well, actually the RFC specifies the domain must either match the hostname or begin with a dot and have at least an embeded dot or be ".local". Anyway, in practice what matters is not the RFC but the actual behaviour of the software used, i.e. MSIE or Mozilla/Firefox in most cases.


Although it's all definitely a security risk, there's no way all vendors would 
change the mechanism without keeping backwards compatibility, it would cause 
chaos.  So with my sites I always put a checksum in the cookie data, which 
allows the website to be certain no clients have altered the data manually.


The correct use of a MAC (which is more than just a checksum) will indeed make cookie tempering practically impossible. Unfortunately, it will not block session fixation exploitations as explained at the end of problem #1 in Michal's original mail. It's an application logic problem. The only way to fix this is to make the session begin once the user is authenticated, not before.



-- Erwan Legrand Responsable Technique Produits elegrand@denyall.com

Tel : +33 (0)1 40 07 47 28
GSM : +33 (0)6 16 60 26 09
Fax : +33 (0)1 40 07 47 27
Deny All - 23, rue Notre-Dame des Victoires 75002 Paris - France
www.denyall.com

-------------------------------------------------------------------------
This List Sponsored by: Watchfire

Watchfire's AppScan is the industry's first and leading web application security testing suite, and the only solution to provide comprehensive remediation tasks at every level of the application. See for yourself. Download AppScan 6.0 today.

https://www.watchfire.com/securearea/appscansix.aspx?id=701300000003Ssh
--------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>