4 ms·
This may be surprising to some people, but it's not a new pheonoema and I feel it's kinda known in TLS circles. Everyone who's done scans on TLS vulnerabilities
by hannob 7y ago
This may be surprising to some people, but it's not a new pheonoema and I feel it's kinda known in TLS circles. Everyone who's done scans on TLS vulnerabilities should know this (speaking as one of the authors of the ROBOT attack).
What's often going on is that the www domain is delegated via DNS to a thirdparty service provider, while the apex domain is hosted on some appliance and just does a simple redirect. The reason for that is that you can't do DNS delegation for an apex domain.
During our ROBOT investigations we found a particularly weird example: We found a particularly severe variant of our vulnerability in old versions of Cisco ACE load balancers. Cisco told us that these were out of support, so they're not gonna get fixed. Turns out: they used one of them to redirect cisco.com to www.cisco.com.
- segfaultbuserr 7y agoAnother implication of this result is: even if the transport layer security appears to be secure, it's possible that it only indicates the CDN setup, and the actual upstream servers are insecure. Which means, a latest and greatest TLSv1.3 server you see may be ultimately backed by a vulnerable TLSv1.0 upstream server (or even unencrypted HTTP!). Great news for the NSA indeed!
- Jestar342 7y agoDisclaimer: Asking from a place of ignorance/naivity What does this mean for SSL termination? E.g. SSL terminates at cloudflare, internal (behind firewall) all http-sans-s?
- jdfellow 7y agoMy gut says that such a thing is a bad idea and TLS for internal communications is best practice. Hard to implement though.
- newman314 7y agoHard to implement but I’m slowly dragging org teama into it.
- psychrometer 7y agoThat depends on whether that site has Flexible or Full SSL setting enabled. https://support.cloudflare.com/hc/en-us/articles/200170416-End-to-end-HTTPS-with-Cloudflare-Part-3-SSL-options https://support.cloudflare.com/hc/en-us/articles/200170416-E...
- cced 7y agoI’m not sure I grasp the situation. Does this mean that third parties can modify DNS entries?
- segfaultbuserr 7y ago> Does this mean that third parties can modify DNS entries? Not only DNS entries, but 3rd-parties can wiretap/modify arbitrary content in all web pages if you use a CDN. That's essentially how CDNs work, you have to trust a 3rd-party if you detegate your request to a 3rd-party. I'm not saying it's necessarily bad, but there is no other way around. And in case of CloudFlare, the DNS is already fully controlled by CloudFlare.
- hannob 7y agoWell, yes, if you let them. DNS is hierarchical. If your DNS server manages example.com then you can set a delegation for a subdomain - e.g. www.example.com - to someone else. I.e. you could say "for this subdomain the nameservers from google's cloud service are responsible". You can go further and e.g. configure the google cloud service so that abc.www.example.com goes yet to another DNS service. So a company could say "we manage the DNS for our domain inhouse, but for www. we let some other company do it and pay them for it". This is pretty standard.
- zamadatix 7y agoIf only CNAME flattening was part of the standard.
- toast0 7y agoCNAME flattening makes things kind of work, but if your CDN is using DNS to provide different IPs to different clients, doing a host lookup at your normal authoritative isn't going to work as well; ECS can help a bit, and maybe using anycast for apex domains helps; but it's a challenge to do well unless you delegate the whole domain.
- wolf550e 7y agoThis explains why nvidia.com has terrible TLS [1] config while all their other domains are ok [2] (in particular, the domains hosting the driver downloads as ok [3]). 1 - https://www.ssllabs.com/ssltest/analyze.html?d=nvidia.com https://www.ssllabs.com/ssltest/analyze.html?d=nvidia.com 2 - https://www.ssllabs.com/ssltest/analyze.html?d=www.nvidia.com https://www.ssllabs.com/ssltest/analyze.html?d=www.nvidia.co... 3 - https://www.ssllabs.com/ssltest/analyze.html?d=us.download.nvidia.com&latest https://www.ssllabs.com/ssltest/analyze.html?d=us.download.n...