Avoiding replay attacks

From: Todd Meynink (todd@ntf.com.au)
Date: 11/28/02


From: todd@ntf.com.au (Todd Meynink)
Date: 27 Nov 2002 17:01:44 -0800


Hi,

I'm trying to prevent my cookies being "hijacked" and used in a replay
attack.

I can do this by using SSL.

However, my site has both public and private pages. Once a user is
authenticated, if they view a public page over standard HTTP their
cookie can be stolen and re-used. How do I get ASP.NET to only send
cookies with the private pages?

One suggestion is to set the path attribute of the forms tag in the
web.config file to the directory containing the private pages.
Unforunately this doesn't work for me. Any ideas why?

Cheers,
Todd



Relevant Pages

  • Re: New cookies are harder to crush
    ... Think that your browser's private mode keeps your browsing completely ... You Deleted Your Cookies? ... Flash Cookies in their privacy policies, ...
    (misc.survivalism)
  • Re: Cookies
    ... And here was me thinking this would be a thread about the Dendrobium bigibbum ... *Disserves* is but one example of the things I like about you! ... Triple-chocolate cookies - makes 26 cookies ... To email me remove the .private from my email address. ...
    (rec.gardens.orchids)
  • Alert: Microsoft Security Bulletin - MS02-023
    ... Customers using Microsoft® Internet Explorer ... Impact of vulnerability: Six new vulnerabilities, the most serious of which could allow code of attacker's choice to run. ... A successful attack requires that a user first click on a hyperlink. ... Script within Cookies Reading Cookies: ...
    (NT-Bugtraq)
  • Re: HTTP Network Programming Issue
    ... which requires Cookie, Authentication and SSL at the same time, while going ... through a proxy that also requires authentication. ... You should set credentials on the HttpWebRequest as ... I think the site may use cookies, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [Full-disclosure] Wordpress Cookie Authentication Vulnerability
    ... The cookies work for ever.. ... one could in theory conduct a bruteforce attack against the ... WordPress password by just making normal requests to the blog but changing ...
    (Full-Disclosure)