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: [WEB SECURITY] Round-up: Ways to bypass HttpOnly (and HTTP Basic auth) |
|---|---|
| Date: | Wed, 3 May 2006 08:43:55 -0400 |
Bad form, replying to my own e-mail...
> On the other hand, several attacks against the above techniques cropped up in the > recent few years, and I'd like to summarize them in this message. All attacks assume > an XSS condition in the application (actually, on the host for which the cookies/basic > auth is used), and using this XSS condition, the data in the HttpOnly cookie/basic > auth is read.
It looks like the attacks fall into three categories:
- attacks requiring XSS + TRACE. - attacks requiring XSS + request smuggling. - attacks requiring XSS + a test script that acts similarly to the TRACE method, returning request values to the browser.
There's one other class of attacks that HttpOnly doesn't help with, CSRF. Note that XSS is not a prerequisite to CSRF, but if the application is vulnerable to XSS it is probably vulnerable to CSRF as well.
Comment 20 to the mozilla bug describes the attack.
https://bugzilla.mozilla.org/show_bug.cgi?id=178993#c20
Regards, Brian
------------------------------------------------------------------------- Sponsored by: Watchfire
https://www.watchfire.com/securearea/whitepapers.aspx?id=701300000007t9r --------------------------------------------------------------------------
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: By default, the Verifier is disabled on .Net and Java, Roman H. |
|---|---|
| Next by Date: | Re: [WEB SECURITY] cookies a fundamental threat?, Achim Hoffmann |
| Previous by Thread: | Re: [WEB SECURITY] Round-up: Ways to bypass HttpOnly (and HTTP Basic auth), Brian Eaton |
| Next by Thread: | Re: [WEB SECURITY] Round-up: Ways to bypass HttpOnly (and HTTP Basic auth), Pilon Mntry |
| Indexes: | [Date] [Thread] [Top] [All Lists] |