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 To day's

Subject: Re: Whitepaper "SESSION RIDING - A Widespread Vulnerability in To day's Web Applications"
Date: Mon, 20 Dec 2004 14:34:40 -0500
Comments below.

Noah Gray wrote:
While agreeing with much of the paper, I feel that there are two mitigating
factors not stronly enough reinforced:

1) Most sites use some form of Session Expiration. The whole of this paper
assumes the when the user is attacked, they are still logged in, and have a
valid session cookie intact. In reality, this attack is only useful while a
user is logged in, and shortly thereafter. Which, while being very plausible
in intranet application, is unlikely in internet applications, except in
focused attacks.

You are correct, this is why expiration is important.

2) Less secure sites often allow for persistent cookie 'auto-login'
features. These sites are particularly vulnerable to this attack. However,
many of these still redirect the user through the login page, then redirect
to a 'start' page, rather than the requested page. This effectively strips
malicious commands. Further, in the case of eBay, which is not so clearly
named in the paper, that DO have an auto-login feature (My eBay), still
require entering a password to bid.

Yes, however, using a method described in this paper, when attacking such a site (that does not require a password like ebay, but does provide login/redirect as you describe). An attacker could simply send the request twice, with a timeout between the two, the first to initiate the session, and be redirected, and the second to carry out the wanted command on the target app.


In the case of ebay, the user could be "phished" into entering their password (could be done the "natural" way, by allowing the target app to do this, or could be "enhanced" using javascript and/or XMLHTTP objects), which mitigates but does not eliminate the risk.

Other than that, this is very plausible attack that I would agree hasn't
received enough attention. I would also add that in the case of the img tag
in the email, an iframe could also be used, similar to recent viruses. It
needn't even be visible.

I agree w/ you completely.

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