• Skip to primary navigation
  • Skip to main content
  • Skip to footer

Cisco Umbrella

Enterprise network security

  • Free Trial
  • Contact us
  • Blog
  • Login
    • Umbrella Login
    • Cloudlock Login
  • Products
    • Product
      • Cisco Umbrella Cloud Security Service
      • Cisco Umbrella Investigate
      • Product Packages
      • Support Packages
    • Functionality
      • DNS-Layer Security
      • Secure Web Gateway
      • Cloud Access Security Broker (CASB)
      • Interactive Intelligence
      • Cloud-Delivered Firewall
    •  
    • Webinar signup
  • Solutions
    • By Need
      • Protect Mobile Users
      • Fast Incident Response
      • Web Content Filtering
      • Shadow IT Discovery & App Blocking
      • Unified Threat Enforcement
      • Reduce Security Infections
      • Secure Direct Internet Access
      • Securing Remote and Roaming Users
    • By Network
      • Protect Guest Wi-Fi
      • SD-WAN Security
      • Off-Network Endpoint Security
    • By Industry
      • Higher Education Security
      • K-12 Schools Security
      • Healthcare, Retail and Hospitality Security
      • Enterprise Cloud Security
      • Small Business Cybersecurity
      • Our Customers
      • Customer Stories
    • Ransomware Defense for Dummies book
  • Why Us
    • Fast Reliable Cloud
      • Global Cloud Architecture
      • Cloud Network Status
      • Cloud Network Activity
      • Recursive DNS Services
      • Top Reasons to Trial
      • Getting Started
    • Unmatched Intelligence
      • Cyber Attack Prevention
      • Interactive Intelligence
    • Extensive Integrations
      • IT Security Integrations
      • Hardware Integrations
      • Meraki Integration
      • Cisco SD-WAN
    • Navigation-dropdown-promo-free-trial_102820
  • Resources
    • Content Library
      • Top Resources
      • Cybersecurity Webinars
      • Events
      • Analyst Reports
      • Case Studies
      • Customer Videos
      • Datasheets
      • eBooks
      • Infographics
      • Solution Briefs
    • International Documents
      • Deutsch/German
      • Español/Spanish
      • Français/French
      • Italiano/Italian
      • 日本語/Japanese
    • Cisco Umbrella Blog
      • Latest Posts
      • Security Posts
      • Research Posts
      • Threats Posts
      • Product Posts
      • Spotlight
    • For Customers
      • Support
      • Customer Success Hub
      • Umbrella Deployment Hub
      • Customer Success Webinars
      • What’s New
      • Cisco Umbrella Studio
  • Trends & Threats
    • Market Trends
      • Rise of Remote Workers
      • Secure Internet Gateway (SIG)
      • Secure Access Service Edge (SASE)
    • Security Threats
      • Ransomware
      • Cryptomining Malware Protection
      • Cybersecurity Threat Landscape
    •  
    • Navigation-dropdown-promo-threat-report_020521
  • Partners
    • Channel Partners
      • Partner Program
      • Become a Partner
    • Service Providers
      • Secure Connectivity
      • Managed Security for MSSPs
      • Managed IT for MSPs
    •  
    • Become a partner
  • Free Trial Signup
  • Umbrella Login
  • Cloudlock Login
  • Contact Us
Security

Our response to the glibc vulnerability: OpenDNS has your back

By Brian Hartvigsen
Posted on February 17, 2016
Updated on March 4, 2020

Share

Facebook0Tweet0LinkedIn0

CVE-2015-7547 was publicly released by Google yesterday and many people are wondering how it impacts them. We’ve seen many conversations like the one between @SwiftOnSecurity and @davidu, our founder:

@SwiftOnSecurity @MalwareTechBlog Not likely. Should be truncated or thrown out. We strive to avoid TCP for many reasons, this being one.

— ☁ David Ulevitch ☁ (@davidu) February 16, 2016


The good news is that if you are using OpenDNS, you aren’t affected. If you want the technical details of why, please read on as we dive a little into how we process a DNS response.
—
To start off with, OpenDNS and our DNS software, opendnscache, do not rely on glibc for name resolution. This system library provides the underlying functionality expected of many programs, including name resolution via the getaddrinfo function. Instead these calls are normally leveraged by the software talking to OpenDNS to get an answer. So it is up to us to make sure that maliciously crafted responses are blocked before they reach you.
In the case of this exploit we do this by carefully reading the packet off the wire. The first step of this is getting the correct size for the packet. For UDP packets we do this using a `recv()` call that will only accept up to the buffer size we allocate. For TCP connections, we read 2 bytes, `malloc()` a buffer according to that size, then copy that number of bytes onto the new buffer. No swaps between stack & heap are done; opendnscache itself is safe.
That makes sure we have the right buffer size from the get go, but what prevents us from passing this garbage packet on to the end user? opendnscache does a number of validity checks on every packet. It checks to see if a packet attempts to overflow its size in every operation we do. If any malformed data is detected, we simply drop the packet; it never goes into our cache.
We also don’t store raw packets. We parse the answers and store only those records. The trailing junk on the exploited packet make reading in the packets the most dangerous portion. So if the packet managed to be well-formed, opendnscache would cache only the valid answers, not the junk at the end of the packet.
Based on the initial reading of the report from Google and our own tests, opendnscache rejects these responses as malformed.

Previous Post:

Previous Article

Next Post:

Next Article

Follow Us

  • Twitter
  • Facebook
  • LinkedIn
  • YouTube

Footer Sections

What we make

  • Cloud Security Service
  • DNS-Layer Network Security
  • Secure Web Gateway
  • Security Packages

Who we are

  • Global Cloud Architecture
  • Cloud Network Status
  • Cloud Network Activity
  • OpenDNS is now Umbrella
  • Cisco Umbrella Blog

Learn more

  • Webinars
  • Careers
  • Support
  • Cisco Umbrella Live Demo
  • Contact Sales
Umbrella by Cisco
208.67.222.222+208.67.220.220
2620:119:35::35+2620:119:53::53
Sign up for a Free Trial
  • Cisco Online Privacy Statement
  • Terms of Service
  • Sitemap

© 2021 Cisco Umbrella