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: Whitepaper "SESSION RIDING - A Widespread Vulnerability in Today's W

Subject: Re: Whitepaper "SESSION RIDING - A Widespread Vulnerability in Today's Web Applications"
Date: Wed, 22 Dec 2004 19:04:15 +0100
* Yvan G. J. Boily:

This name for the issue is misleading; this is a state management 
issue combined with a session management issue.

I don't quite agree.  Some developers use stateless authentication
methods specifically to avoid the pitfalls of improper session
management (and session token theft due to cross-site scripting
vulnerabilities).

I don't think the vulnerability has much to do with state or session
management.  What we really need is a form of remote attestation,
namely that the user has actually triggered the action the browser
claims he has.  In this particular case, it turns out that you can
provide part of this attestation by carrying additional state
information through the client, but this is more or less an accident,
and not really inherent to the underlying problem.  (The general
attestation problem is much harder to solve, of course.)

If we look at the problem from a different angle, it's a leak between
different trust domains (for example, from an Internet site to an
intranet application).  Disabling cross-site requests in the client
would stop it.  Actually, doing this is extremely desirable from a
security point of view, but is impossible because too many deployed
applications rely on this client feature.

Those of us who run different browser instances for internal and
external content, on different hosts (sometimes called a "graphical
firewall"), have at least some protection from these issues because
the different trust domains are separated to some extent.

The "Session Riding" vulnerability is not just an issue of immature
 web technology; it will affect any stateless protocol which does 
not have a strong method of enforcing state compliance.

On the other hand, this lack of state compliance is a feature which
users expect.  They want to use the Back button in their browsers.
They want to bookmark pages deep within the application.  Some users
even want to script requests to the applications.

We need to support such features.

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