Vulnerabilities / Threats // Vulnerability Management
7/7/2014
02:30 PM
Connect Directly
Twitter
Twitter
RSS
E-Mail
50%
50%

Black Hat USA 2014: Third-Party Vulns Spread Like Diseases

Understanding the impact of vulnerabilities in libraries and other components

As security professionals grapple with how to classify and triage vulnerabilities in third-party libraries and components their software depends upon, it may help to think about the spread of these vulnerabilities the way a public health professional views the spread of infectious disease. Two researchers at Black Hat USA next month plan to present data that shows how the spread of attack surface from something like a Heartbleed vulnerability instance looks very similar to an epidemiological event, like a widespread flu outbreak.

The idea came from Kymberlee Price, director of ecosystem strategy at Synack, who had a background in public health before her time as a security pro focusing on red team management and vulnerability metrics analysis. She teamed up with Jake Kouns, CEO of the Open Security Foundation and one of the executives who help to oversee OSF's Open Sourced Vulnerability Database (OSVDB.org) to examine OSVDB data and see how well her hunch held up. The numbers showed that, while libraries and other third-party components offer a huge leg up in speed and efficiency of development, the practice greatly amplifies the impact of a single vulnerability in any one of these components.

"We're not suggesting that people shouldn't use third-party libraries, because they have a valid purpose in the development," Price says. "We're going to talk about what you as a developer or an IT manager need to be doing or thinking to protect your customers or your profits because you're ultimately accountable for all of the code you ship -- whether you wrote it or not."

The greater the success of the library, the greater the threat posed by a vulnerability in it. That's because the more software third-party components touch, the more potential they have to spread the pestilence when vulnerabilities are present.

"We're going to look at a number of widely used third-party libraries in terms of how many vulns they have, how many products they're used in, and what the relative severity is of those," Price says. "So it's not just a lot of low-level hygiene fixes that you'll have to worry about if you use this library, but these are the big advisory-class problems and how much you should be worried about them."

Price and Kouns will unveil some of the hard numbers in their talk to unveil which libraries are some of the biggest offenders in expanding attack surfaces. But as they preview their talk, they're not afraid to give an early peek at their biggest message. That is the persistent truth that the kind of epidemiological spread presented by third-party vulnerabilities means that organizations can't simply depend on CVSS to guide their prioritization of risk when it comes to these bugs. Even when a bug in a third-party component is not necessarily a high CVSS vulnerability, it could present quite a bit of threat, due to pervasiveness and how code is deployed.

"I think it's fair to talk about Heartbleed as a case study because everyone's pretty familiar with that at this point," Price says. "If you look at the CVE associated with the Heartbleed vulnerability, you'll find over 200 advisories tied just to that one CVE, different products by different vendors. While that CVSS score on that vuln is only a 5.0, once you start looking at what's being accessed in some of these products it starts looking significantly more impactful. It may not be a 10.0, but it's incredibly damaging."

This lesson is especially important for software vendors to digest as they reexamine their incident response and maintenance practices, a topic which Price hopes to expand on during the talk. "So one of the highlights of the talk is, you need a robust incident response plan, but you also need a proactive maintenance plan, so you're not only updating on the emergency events," she says, explaining that if a vendor has no maintenance plan in place and a library has an impactful vulnerability, it will be significantly more difficult to make a fix if that vendor has missed four or five updates prior to the patch in question. "The problem when a catastrophic vulnerability occurs and you're four versions old is that there have been so many incremental changes to the library that it'll take major architectural changes in the product to jump to the right version."

Meanwhile, enterprises should also be paying close attention to these vulnerabilities -- even the low-CVSS-scored bugs -- so they can turn up the heat on vendors to make fixes quickly and ask for workarounds until patches are available.

"One of the things I think is important for IT admins to do is, first off, know what's in their environment. Not just what products are in there, but what third-party code is in those products," she says, explaining that this will allow customers to put the screws to vendors when news of big third-party vulnerabilities surface. "Believe it or not, vendors care what customers have to say -- and if customers are saying 'Security is a priority to me,' then security becomes a priority for the vendor."

 

Ericka Chickowski specializes in coverage of information technology and business innovation. She has focused on information security for the better part of a decade and regularly writes about the security industry as a contributor to Dark Reading.  View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
intrepidwerx
50%
50%
intrepidwerx,
User Rank: Apprentice
7/10/2014 | 1:29:16 PM
Black Hat USA 2014
I agree with Mack's post, but will add 1 caveat.  Many of these companies using the 3rd Party tools are using outdated tools which the vendor has since updated or abandoned entirely.  Part of the reason is the tool does something convenient at the time and is free and new features require buying a new version which may not be enough reason to justify its purchase. 


While it might be beneficial to rewrite or refine the library, many code shops can't do this because the cost of doing so is more than management is willing to accept.
macker490
100%
0%
macker490,
User Rank: Ninja
7/8/2014 | 7:52:18 AM
excellent essay and a timely point
this is an excellent essay and a very timely point.     security in 3d party components should be addressed using zero-defects methodology: I am responsible for zero defects in what I produce.

one of the things i need to do in this regard is to vet the tools i use.   if i download and install a compiler and library it becomes incumbent on me to check the MD5 hash or PGP signature on that product to make sure it is a correct copy from the vendor I am using.  my supplier in turn is responsible for doing the same.

ultimately when I write the source code I am responsible for making sure it is correct.   just as prescribled by Edsger Dijkstra in his Notes on Structured Programming.   
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-0485
Published: 2014-09-02
S3QL 1.18.1 and earlier uses the pickle Python module unsafely, which allows remote attackers to execute arbitrary code via a crafted serialized object in (1) common.py or (2) local.py in backends/.

CVE-2014-3861
Published: 2014-09-02
Cross-site scripting (XSS) vulnerability in CDA.xsl in HL7 C-CDA 1.1 and earlier allows remote attackers to inject arbitrary web script or HTML via a crafted reference element within a nonXMLBody element.

CVE-2014-3862
Published: 2014-09-02
CDA.xsl in HL7 C-CDA 1.1 and earlier allows remote attackers to discover potentially sensitive URLs via a crafted reference element that triggers creation of an IMG element with an arbitrary URL in its SRC attribute, leading to information disclosure in a Referer log.

CVE-2014-5076
Published: 2014-09-02
The La Banque Postale application before 3.2.6 for Android does not prevent the launching of an activity by a component of another application, which allows attackers to obtain sensitive cached banking information via crafted intents, as demonstrated by the drozer framework.

CVE-2014-5136
Published: 2014-09-02
Cross-site scripting (XSS) vulnerability in Innovative Interfaces Sierra Library Services Platform 1.2_3 allows remote attackers to inject arbitrary web script or HTML via unspecified parameters.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
This episode of Dark Reading Radio looks at infosec security from the big enterprise POV with interviews featuring Ron Plesco, Cyber Investigations, Intelligence & Analytics at KPMG; and Chris Inglis & Chris Bell of Securonix.