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. |

| Subject: | Re: Whitepaper "SESSION RIDING - A Widespread Vulnerability in Today's Web Applications" |
|---|---|
| Date: | Wed, 22 Dec 2004 18:47:56 +0100 |
* Eran Tromer:
In Section 6.1 ("Countermeasures" / "Use secrets"), you seem to
concentrate on secrets that are explicitly stored in the server-side
session record. But one can also use a secret that is computed on-the-fly:
secret = SHA1(site_secret, session_id)
or, in the absence of explicit sessions:
secret = SHA1(site_secret, user_id, user_password)
This is a HMAC, and should be implemented as such, see RFC 2104. The HMAC input should also cover a time-dependent value sent along in the clear (which is later used to check the token for freshness). A form identifier could also be helpful. AFAICS, it's not necessary to include the user password in the HMAC input if the user ID is verified separately before the hash is calculated: if the authentication method is secure, the attacker is not able to impersonate the user and obtain a valid token for that user. As a result, it's also possible to use this approach when no shared secret between the server and client exists at the application level (think of authentication based on IP addresses or network topology, or client certificates).
| Previous by Date: | RE: (ip session tracking) Whitepaper "SESSION RIDING - A Widespread Vulnerability in Today's Web Applications", Evans, Arian |
|---|---|
| Next by Date: | Re: Whitepaper "SESSION RIDING - A Widespread Vulnerability in Today's Web Applications", Florian Weimer |
| Previous by Thread: | Re: Whitepaper "SESSION RIDING - A Widespread Vulnerability in Today's Web Applications", Shade |
| Next by Thread: | Re: Whitepaper "SESSION RIDING - A Widespread Vulnerability in Today's Web Applications", Eran Tromer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |