Slashdot Mirror


Major ISPs Injecting Ads, Vulnerabilities Into Web

Rebecca Bug writes "Several Web sites (Wired, eWEEK, The Washington Post) are reporting on Dan Kaminsky's Toorcon discussion of a serious security risk introduced when major ISPs serve ads on error pages. Kaminsky found that the advertising servers are impersonating, via DNS, hostnames within trademarked domains. 'We have determined that these injected servers are, in fact, vulnerable to cross-site scripting attacks. Since these servers are being injected into your trademarked domains, their vulnerability can be used to attack your users and your sites,' Kaminsky said, identifying EarthLink, Verizon and Qwest among the ISPs."

6 of 116 comments (clear)

  1. Only mildly illegal. by davolfman · · Score: 5, Interesting

    I can see doing this for nonexistant domains, but doing it for sub-domains is treading on very thin ice. When someone registers a domain they've been entitled to control over all the sub-domains and serving ads on their domain like this could very easily be argued as a major break of trademark law. It was a seriously braindead decision as suddenly it's no longer a victimless crime, and the victims may have the money to afford lawyers in this case.

    1. Re:Only mildly illegal. by Effugas · · Score: 3, Interesting

      I think it's an accident. It's actually tricky to differentiate nonexistent subdomains vs. unregistered domains; what's on the wire is the same, it's just which name server tells you something. See www.publicsuffix.org to see how hard this problem is.

      I'm pretty optimistic that, now that the issue's been identified, everyone will stop violating trademarks.

      --Dan

    2. Re:Only mildly illegal. by shmert · · Score: 3, Interesting

      I use Earthlink as ISP and phone service (note: I would not recommend this to any sane person who doesn't enjoy long phone conversations with tech support types).

      I assumed that the error pages at least had a 404 error code, but nope, they return a 200, with their own "helpful" content.

      Look at this crap:

      [twonky:~] sbarnum% curl -v "http://zzzslashdot.org"
      * About to connect() to zzzslashdot.org port 80 (#0)
      *   Trying 209.86.66.95... connected
      * Connected to zzzslashdot.org (209.86.66.95) port 80 (#0)
      > GET / HTTP/1.1
      > User-Agent: curl/7.16.3 (powerpc-apple-darwin8.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
      > Host: zzzslashdot.org
      > Accept: */*
      >
      < HTTP/1.1 200 OK
      < Date: Sun, 20 Apr 2008 05:13:54 GMT
      < Server: Apache
      < Content-Length: 774
      < Connection: close
      < Content-Type: text/html; charset=UTF-8
      <
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <noscript>
      <meta http-equiv="refresh" content="0;http://earthlink-help.com/main?AddInType=Bdns&Version=1.3.1el&FailureMode=1&ParticipantID=xj6e3468k634hy3945zg3zkhfn7zfgf6&ClientLocation=us&FailedURI=http%3A%2F%2Fzzzslashdot.org%2F"/>
      </noscript>
      <script type="text/javascript">
      window.location.replace("http://earthlink-help.com/main?AddInType=Bdns&Version=1.3.1el&FailureMode=1&ParticipantID=xj6e3468k634hy3945zg3zkhfn7zfgf6&ClientLocation=us&FailedURI=http%3A%2F%2Fzzzslashdot.org%2F");
      </script>
      </head>
      <body>
      </body>
      </html>
      * Closing connection #0
      </pre>

      --
      You drank my drink, you drunk!
  2. fix? by pavera · · Score: 4, Interesting

    Couldn't a company "fix" this by setting up wild card dns so that any "mistyped" url will still get resolved by DNS, thus making this particular attack/injection by the ISPs impossible?

    Also, the company could display ads, or some other thing on THEIR DOMAIN, instead of letting the ISPs do this?

    Would this be horribly wrong if the companies themselves (ebay, paypal, etc) were displaying ad pages for subdomains?

  3. Hit it with the Copyright Stick by heretic108 · · Score: 4, Interesting
    This is one of those times when copyright has a profound moral benefit.

    Any site owners who don't want ads injected into their pages can place a copyright notice in small print at the bottom of each page, saying something like:

    Copyright is hereby granted to Internet Service Providers to deliver the content of this page verbatim as served by the HTTP server hosting this website. Any alteration to the content of this page is a breach of copyright which will incur legal action.

    It would take just a few site owners to add these notices and get injunctions served against any ISPs indulging in page-tampering, for ISPs to give up on the whole deal.

    --
    -- In the beginning was the WORD, and the WORD was UNSIGNED, and the main(){} was without form and void...
  4. Re:This is NOT new by CSMatt · · Score: 3, Interesting

    Hmmm. I've seen a lot of these troll redirects recently. Is there a way that Slash can display the domain that the link is redirecting to instead of the domain of the link itself? So far all of these links have the redirected domain somewhere in the URL, which is how I've been able to avoid them.