A tale of a DNS exploit: CVE-2015-7547
blog.cloudflare.com
blog.cloudflare.com
As one of the largest recursive DNS infrastructures in the world, they allowed us enough time to spin up resources to determine if we were vulnerable (we were not) which was very much appreciated.
We did a small post this morning that also captures some of the history of our codebase. https://engineering.opendns.com/2016/02/29/a-brief-history-o...
If you don't need DNS, then why would you keep it in place? As an example, I have a system that needs to contact exactly 2 hosts (one of which hosts package updates). So it has DNS turned off and I have a local hosts config. It seems like using a exploit announcement as an opportunity to review whether you need the service in question at all is actually good server administration.
Source: I've operated various public WiFi networks since 2001
Intercepting actual content transfers makes more sense to me than intercepting name lookups. One thing should be common - once user authenticates, no more MitMing.
One example was a customer operating WiFi in restaurants. If a patron accessing the WiFi network was looking at adult content on their laptop, the restaurant owner could be liable for that. I believe it was a "public nudity/nuisance" law.
Refusing to lookup a name != MitMing every query however, the latter crosses a fine line (for me) by both lying about answers (redirection to ad pages), and at the same time preventing users to validate integrity of the answer (or non-existence proof).
I'm not a lawyer and have no idea how much is this enforceable in terms and conditions of the service, but common sense tells me that by opting out of the provided name services liability transfers to patron. If the recursive resolution was more decentralised, this would have been moot.
The biggest takeaway is PATCH! NOW! WHY HAVEN'T YOU?! ;)