<script src="http://mail.google.com/mail/?_url_scrubbed"> and the array literal would be evaluated if you visited it while logged in to GMail — but nothing would happen, because it was just a literal, not an assignment and with no other side effects. So how does attacker.com get at the data? Redefine the Array() constructor so that evaluating []-notation will send the contents off to your waiting server. I love Javascript.1Like the way most browsers will throw up an error if a single asset — image, javascript, whatever — is loaded from a non-SSL server from your SSL session. This can be altered or turned off, but it probably isn't for most usersWhich is a good thing, because it's always been necessary if you want to make a secure browser. If any component of the page is insecurely loaded the whole page can be compromised that way.
come up with a better way to handle loginsLike, say, web app designers could just use well-known widely-deployed secure authentication techniques like Digest authentication instead of rolling their own form-and-cookie systems every time.
« Older The aim of Self-Portrait Challenge is to create an... | Phil Hill, the only American e... Newer »
This thread has been archived and is closed to new comments
posted by These Premises Are Alarmed at 10:56 AM on August 28, 2008