Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

ISPs' Error Page Ads Let Hackers Hijack Entire Web (via) Earthlink in the US served “helpful” links and ads on subdomains that failed to resolve, but the ad serving pages had XSS holes which could be used to launch phishing attacks the principle domain (and I imagine could be used to steal cookies, although the story doesn’t mention that). Seems like a good reason to start using wildcard DNS to protect your subdomains from ISP inteference.

4 comments

  1. pwned!

    Jason Davies - 21st April 2008 11:52 - #

  2. An ISP could theoretically do the same for 404 pages too. Scary.

    Jason Davies - 21st April 2008 11:58 - #

  3. It's not likely to come up on a 404 page. 404 pages are served by a server that actually has authority for the domain. It would be the web host rather than the visitor's ISP that would intercept that type of error.

    A use can also be proactive and choose not to use their ISP's DNS. I've been happily using OpenDNS ever since I learned about it when I heard of drive-by pharming. Of course that means I have to trust OpenDNS to keep their pages secure.

    David Robarts - 21st April 2008 15:55 - #

  4. David: I'd say it is less likely only because (most?) ISPs don't proxy HTTP. While an ISP's attack on DNS is more likely because most ISPs *do* already "proxy" DNS through their own servers. But really, your ISP can modify any of your traffic of any type if they're motivated enough to do so (with the caveat that if it is well-encrypted traffic all they can do is corrupt it). They are the man-in-the-middle, after all.

    Once they're proxying an HTTP request, there's no reason they couldn't easily replace 404 pages with their own "helpful" error message (cf. IE or Google Toolbar).

    Interesting point about using OpenDNS as your nameserver to avoid a problem like this (or rather, to trust someone other than your ISP). I think if I didn't trust my ISP's DNS servers I'd prefer to retain slightly more control and privacy and just setup my own recursive name server on a wifi access point (OpenWrt) though. But of course, if your ISP gets desperate enough for money, there's no reason they can't start altering the responses from OpenDNS or even authoritative servers.

    Anon - 21st April 2008 17:22 - #

Sign in with OpenID

Auto-HTML: Line breaks are preserved; URLs will be converted in to links.

Manual XHTML: Enter your own, valid XHTML. Allowed tags are a, p, blockquote, ul, ol, li, dl, dt, dd, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, sub, sup, br, pre

A django site