Re:Ask HN: Best Approaches to Prevent Session Hijacking?
by JoachimSchipper on Friday June 17, 2011 @03:41AM
(#2664726)
I'm a bit confused by your threat model - you use SSL but the attacker is able to get your webserver to output arbitrary data? Most web applications that can be persuaded to output arbitrary data can also be persuaded to, say, output the entire database - and no amount of session cookie trickery is going to help you there...
[ Parent
| on HN ]
Re:Ask HN: Best Approaches to Prevent Session Hijacking?
by espeed on Friday June 17, 2011 @11:15AM
(#2665808)
Look at:
1. Cross-site scripting (XSS -http://en.wikipedia.org/wiki/Cross-site_scripting)
2. Cross-site forgery (http://en.wikipedia.org/wiki/Cross-site_request_forgery)
It doesn't necessarily mean the attacker has compromised the server, but they may have been able to post code to a page, e.g. through a form posting.