• DEMO
  • Security: Dirty COW Security Hole Discovered
    • By Gerry Sweeney
    • In Security
    • Posted 2016-10-27 23:02:07

    Security: Dirty COW Security Hole Discovered

    A fairly nasty security bug CVE-2016-5195 nicknamed Dirty COW was found by Phil Oester, a Linux Security researcher.  The flaw is relatively easy to exploit so its important to patch this on your systems ASAP, everyone running Linux will have this problem.  RedHat’s description can be found here and relating to the issue states:-

    "A race condition was found in the way the Linux kernel's memory subsystem handled the copy-on-write (COW) breakage of private read-only memory mappings.  An unprivileged local user could use this flaw to gain write access to otherwise read-only memory mappings and thus increase their privileges on the system."

    The security issue has been in the Linux kernel for a long time but has only recently been uncovered, it is not known if this problem has been exploited or not, there is no known instances of it but thats not to say it has not been.  However, now this vulnerability is a known problem we can expect attacks to follow so anyone running a linux environment should be patching this as soon as possible. 

    Hornbill’s own cloud environment is all run on a CentOS distribution of Linux so our systems have had that vulnerability.  We are lucky in a sense because we do not provide direct access to our systems outside of our own network.  All end user access is provided through our application services and API’s which are not vulnerable to the problem.  In theory an attacker could chain this exploit together with another security issue it could be possible to exploit but thats a pretty unlikely scenario. 

    Of course, as soon as we got to know about the issue we reviewed our systems to make sure there was no direct way for anyone outside of our own network to exploit this on our systems and ensure there was not immediate risk to our customers data, and then we waited patiently for a patch to be developed by the security experts in the Linux community. 

    We use http://spacewalk.redhat.com/ to manage all our internal Linux servers so pushing out the patch and confirming it has been applied is trivial. We always push out changes to our development and test environment in order to confirm that our systems are still working as expected.  We then push the change into our production systems, generally 48 hours after. This particular change is a little tricker than usual as its a Kernel update it requires a restart of the servers to make sure the patch is actually applied, and this needs to be done while not disrupting service. 

    We have now patched all of our servers at all global locations and everything is up and running without issue.

    Categories

    Latest Posts

    • Hornbill iBridge for Linode

      2017-09-22 18:47:33
      Feature Friday

      Hornbill's iBridge is a great way to integrate with Linode, a cloud based solution for creating and managing virtual Linux servers...

    • Exactly Why do ITSM Vendors Lead with ITIL?

      2017-09-17 00:41:41
      Blog Posts

      The problem with niche markets like the ITSM space is there are different parties with different agendas and for the most part they are in direct conflict with each other...

    • Using WebHooks for Integration

      2017-09-16 18:23:16
      Feature Friday

      Web Hooks are a great way to integrate Hornbill with other applications. Web Hooks can send information to a HTTP Endpoint as soon as a record is created or updated, rather than relying on scheduled imports or the continually polling for data...