<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sonatype Blog &#187; security</title>
	<atom:link href="http://blog.sonatype.com/people/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sonatype.com/people</link>
	<description>Sonatype is transforming software development with tools, information and services that enable organizations to build better software, faster, using open-source components.</description>
	<lastBuildDate>Tue, 18 Jun 2013 15:30:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>The Time to Pay Attention to Application Security is Now</title>
		<link>http://blog.sonatype.com/people/2012/06/the-time-to-pay-attention-to-application-security-is-now/</link>
		<comments>http://blog.sonatype.com/people/2012/06/the-time-to-pay-attention-to-application-security-is-now/#comments</comments>
		<pubDate>Tue, 12 Jun 2012 12:38:47 +0000</pubDate>
		<dc:creator>Tim O'Brien</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Hudson]]></category>
		<category><![CDATA[Insight]]></category>
		<category><![CDATA[jenkins]]></category>
		<category><![CDATA[Nexus]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=11551</guid>
		<description><![CDATA[When we announced Insight for CI a few weeks ago, our message was simple &#8220;Get Proactive about Security with Insight&#8221;. A few months ago, when we introduced the Repository Health Check in Nexus Professional, we had a similar message about licensing, &#8220;Lead or Be Led to OSS Compliance&#8221;. For months we&#8217;ve been making the case [...]]]></description>
				<content:encoded><![CDATA[<p>When we announced <a href="http://www.sonatype.com/Products/Sonatype-Insight/Insight-for-CI">Insight for CI</a> a few weeks ago, our message was simple <a href="http://www.sonatype.com/people/2012/05/get-proactive-about-security-with-insight/">&#8220;Get Proactive about Security with Insight&#8221;</a>.   A few months ago, when we introduced the <a href="http://www.sonatype.com/Products/Nexus-Professional">Repository Health Check in Nexus Professional</a>, we had a similar message about licensing, <a href="http://www.sonatype.com/people/2012/04/oss-compliance-lead-or-be-led-your-choice/">&#8220;Lead or Be Led to OSS Compliance&#8221;</a>.  For months we&#8217;ve been <a href="http://www.sonatype.com/people/2012/03/were-a-java-shop-were-not-going-to-get-hacked/">making the case</a> that the time to worry about application security is now.</p>

<p>Another thing we&#8217;ve been saying is that it is our responsibility, as developers, to start paying attention to security vulnerabilities, and if we don&#8217;t take responsibility for application-level security, someone else will impose this requirement on us&#8230;</p>

<p>&#8230;and that&#8217;s exactly what&#8217;s we&#8217;re seeing both in the EU&#8217;s reform of <a href="http://ec.europa.eu/justice/data-protection/index_en.htm">Data Protection Laws</a> and as the US Congress <a href="http://thehill.com/blogs/hillicon-valley/technology/231359-overnight-tech-lawmakers-push-for-data-security-legislation-in-wake-of-linkedin-breach">responds to the latest data breach at LinkedIn</a>.  Now, who knows what sort of regulations we&#8217;re going to see in the coming months, but one thing is sure, the fact that lawmakers feel compelled to act is proof that we&#8217;re not doing enough as an industry to address security.</p>

<p>The best security is a layered approach: multiple levels of network security, security policies for production resources that limit access to individuals that need it, secure password policies, and application security.   Sonatype&#8217;s focused on that last item, application security, and our approach focuses on the components you assemble to create your applications.   If you develop software today, you understand that much of your work is spent creating applications that sit atop frameworks like Spring and Hibernate.  It isn&#8217;t enough for your own software and infrastructure to be secure.  These days, you need to account for vulnerabilities in your dependencies.</p>

<p>And, again, this isn&#8217;t operation&#8217;s responsibility.  Security is a shared responsibility across both development and operations.   This is something that developers need to take ownership of.   While we&#8217;ll probably never know how sites like LinkedIn, eHarmony, and Last.fm were compromised, there&#8217;s a good chance that some of these sites were compromised via known vulnerabilities in outdated components.  Components like Tomcat or frameworks like Struts are among the list of artifacts that have known problems.</p>

<p>Don&#8217;t get hacked because you didn&#8217;t upgrade to the latest version of Tomcat or because you happened to be using some ancient version of Spring with a known vulnerability.    If you are consuming artifacts from Central (and if you are a Java developer, you probably are), you need to start using <a href="http://www.sonatype.com/Products/Nexus-Professional">Nexus Professional</a> to keep track of your dependencies.   If you are using Hudson or Jenkins, take some time to evaluate <a href="http://www.sonatype.com/Products/Sonatype-Insight/Insight-for-CI">Insight for CI</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sonatype.com/people/2012/06/the-time-to-pay-attention-to-application-security-is-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get proactive about Security with Insight</title>
		<link>http://blog.sonatype.com/people/2012/05/get-proactive-about-security-with-insight/</link>
		<comments>http://blog.sonatype.com/people/2012/05/get-proactive-about-security-with-insight/#comments</comments>
		<pubDate>Fri, 25 May 2012 14:47:48 +0000</pubDate>
		<dc:creator>Tim O'Brien</dc:creator>
				<category><![CDATA[Hudson]]></category>
		<category><![CDATA[Insight]]></category>
		<category><![CDATA[Sonatype]]></category>
		<category><![CDATA[jenkins]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=11446</guid>
		<description><![CDATA[There&#8217;s a shift in the way organizations are thinking about security, and This article in Infoworld &#8220;IBM: Security execs move more toward active risk management&#8221; is exactly what we&#8217;ve been talking about. Here&#8217;s the quote that stood out: &#8220;Nearly two-thirds of security leaders say their senior executives are paying more attention to security today than [...]]]></description>
				<content:encoded><![CDATA[<p>There&#8217;s a shift in the way organizations are thinking about security, and <a href="http://www.infoworld.com/d/security/ibm-security-execs-move-more-toward-active-risk-management-192465">This article in Infoworld &#8220;IBM: Security execs move more toward active risk management&#8221;</a> is exactly what we&#8217;ve been talking about.   Here&#8217;s the quote that stood out:</p>

<blockquote style="padding-left: 30px; padding-right: 30px; padding-bottom: 20px; font-size: 90%; font-family: courier; ">&#8220;Nearly two-thirds of security leaders say their senior executives are paying more attention to security today than they were two years ago, <b>due in large part to media attention.</b>&#8221; and &#8220;60 percent of the advanced organizations named security as a regular boardroom topic, compared to only 22 percent of the least advanced organizations&#8221;</blockquote>

<p>Instead of simple three-tiered applications following a standard Apache -> Tomcat -> RDBMS pattern, today&#8217;s scaleable applications involve a portfolio of technologies: Redis, Hadoop, real-time BI systems, integration with 3rd party APIs, Node.js, with more and more companies adopting a portfolio of technologies.   It is becoming increasingly difficult to draw a line around a particular application and evaluate security vulnerabilities in isolation.</p>

<p>Today, you need to have your security group sitting next to you evaluating a complex application as it evolves&#8230;.  but, back to the article, it isn&#8217;t just the evolution of technology that is making security a focus for business, it is a series of high-profile, embarrassing data breaches.  A CEO that wouldn&#8217;t have thought very much about security technology a few years ago, sees what happens to a Stratfor or Global Payments and they understand the risks.  Data security is front and center in the news, and a data breach can be a business-ending event.</p>

<p>So get out in front the problem. Start tracking your application dependencies and identify known vulnerabilities with Insight.</p>

<p><center><img src="http://www.sonatype.com/people/wp-content/uploads/2012/05/security-summary.png" alt="" title="security-summary" width="480" height="221" style="border: 1px solid black;"/></center></p>

<p>When we launched Nexus Professional and integrated Sonatype Insight information we gave you the ability to keep track of your overall exposure to security vulnerabilities.   Your IT organization gained a window into the intersection of known vulnerabilities with the artifacts you download from Central.  That was a good start, but the real benefit is Insight for CI.  We launched Insight for CI this week, and it&#8217;s the tool you&#8217;ll want to use to address security vulnerabilities in specific products.   If it is your responsibility to keep up with security, one of the easiest ways to take a more proactive approach is to start using Insight for CI to track your application&#8217;s dependencies.</p>

<p><a href="http://www.sonatype.com/Request/Plugin/Register-Interest-for-Insight-for-CI">Click here</a> to get started with Insight for CI.  It works with either Hudson or Jenkins, and it covers both license and security information.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sonatype.com/people/2012/05/get-proactive-about-security-with-insight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The OSS projects you depend on take security seriously. Do you?</title>
		<link>http://blog.sonatype.com/people/2012/04/the-oss-projects-you-depend-on-take-security-seriously-do-you/</link>
		<comments>http://blog.sonatype.com/people/2012/04/the-oss-projects-you-depend-on-take-security-seriously-do-you/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 13:17:12 +0000</pubDate>
		<dc:creator>Tim O'Brien</dc:creator>
				<category><![CDATA[Nexus]]></category>
		<category><![CDATA[Sonatype]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=10710</guid>
		<description><![CDATA[When we published our executive brief on security a few of you immediately reacted wondering if we were calling OSS insecure, we are not. OSS is both secure and increasingly awesome. What we&#8217;re trying to call attention to is the disconnect between OSS security and the ways in which it is consumed. It is clear [...]]]></description>
				<content:encoded><![CDATA[<p>When we published <a href="http://www.sonatype.com/Products/Sonatype-Insight/Why-Insight/Mitigate-Security-Risks/Security-Brief">our executive brief on security</a> a few of you immediately reacted wondering if we were calling OSS insecure, we are not.   OSS is both secure and increasingly awesome.   What we&#8217;re trying to call attention to is the disconnect between OSS security and the ways in which it is consumed.  It is clear from our survey of the data that many organizations are just not paying any attention to a constant stream of critical security updates.  As a result these organizations are exposed to security flaws that have already been addressed by these projects.</p>

<p>Important projects, projects like Apache httpd, Apache Tomcat, JBoss, or Spring all have something in common.  Each of these projects has a formal security team and a process for addressing security flaws.    The presence of a security team in an OSS project is a signature of how seriously a project takes vulnerabilities.   If you are evaluating projects for security, you should evaluate a project not by the number of vulnerabilities you identify with a tool like <a href="http://www.sonatype.com/nexus">Nexus 2.0</a>, but on the process a project uses for addressing security risks.</p>

<p>Just because a project has a large number of vulnerabilities doesn&#8217;t mean this project is insecure.   Take, for example, Tomcat.</p>

<p><span id="more-10710"></span></p>

<h2>An Example: Is Tomcat Insecure?</h2>

<p>If we were comparing OSS projects on the number of vulnerabilities alone, Tomcat would rank very high on the list of projects with known vulnerabilities.  Does this mean Tomcat is insecure?   No, on the contrary, <b>the Apache Tomcat project sets the gold standard for how to respond to security issues</b>.  They have a <a href="http://tomcat.apache.org/security.html">dedicated security team</a> that quickly responds to vulnerabilities and they regularly produce <a href="http://tomcat.apache.org/security.html">detailed reports</a> that identify how specific commits relate to specific vulnerabilities.   Yes, there are a high number of vulnerabilities, but you couldn&#8217;t ask for a better response.</p>

<p>Components like Tomcat, GWT, Spring top the list of security vulnerabilities because these projects are so widely used.   No, Tomcat is not insecure, but here&#8217;s the nuanced point we&#8217;ve been trying to make for a few months.  <b>Tomcat is very insecure if you are not paying attention to this constant stream of vulnerabilities and fixes.</b>   You can evaluate Tomcat for security, conclude that they take security seriously, install Tomcat 6.0.5, and then stop paying attention to these updates.  Several months later you will be vulnerable to the recently identified Hash-based DOS attack and some exotic AJP vulnerability.  If you don&#8217;t pay attention, all of this security effort is for nothing.</p>

<h2>Tomcat&#8217;s Security Depends on Your Paying Attention</h2>

<p>The effective security of a project is a function of several factors:</p>

<ul>
  <li><b>How widely used is the project?</b> &#8211; A larger ecosystem for an OSS project will result in more eyeballs reporting flaws and more interest in quickly addressing vulnerabilities.</li>
  <li><b>Does the project have a mature security effort?</b> &#8211; Going back to a project like Tomcat.  Does the project accept vulnerability reports? do they address vulnerabilities on a private list? and how quick are they to fix security bugs?</li>
  <li><b>Are you paying attention?</b> &#8211; If you are not paying attention, a project&#8217;s investment in security is worthless to you.   If you use Tomcat and you don&#8217;t pay attention to the Tomcat security team your own security will degrade over time.  (You might as well just not evaluate security at all.)</li>
</ul>

<p>If you want to start taking application security seriously, you can take a first step by starting to scan your dependencies with the <a href="http://www.sonatype.com/nexus/">Nexus 2.0</a> Repository Health Check.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sonatype.com/people/2012/04/the-oss-projects-you-depend-on-take-security-seriously-do-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wayne Jackson&#8217;s Presentation at RSA 2012: An Overview of Insight</title>
		<link>http://blog.sonatype.com/people/2012/04/wayne-jackson-at-rsa-2012/</link>
		<comments>http://blog.sonatype.com/people/2012/04/wayne-jackson-at-rsa-2012/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 10:05:13 +0000</pubDate>
		<dc:creator>Tim O'Brien</dc:creator>
				<category><![CDATA[Nexus]]></category>
		<category><![CDATA[Insight]]></category>
		<category><![CDATA[nexus professional]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=10575</guid>
		<description><![CDATA[At RSA 2012, Wayne Jackson gave a short presentation focused on the security aspects of Sonatype Insight and the newly released Repository Health Check in Nexus Professional. This five minute overview gives you a sense of the magnitude of the problem we are trying to solve. Here are some of the highlights from Wayne&#8217;s presentation [...]]]></description>
				<content:encoded><![CDATA[<p>At RSA 2012, Wayne Jackson gave a short presentation focused on the security aspects of Sonatype Insight and the newly released <a href="http://www.sonatype.com/nexus">Repository Health Check in Nexus Professional</a>.   This five minute overview gives you a sense of the magnitude of the problem we are trying to solve.</p>

<p>Here are some of the highlights from Wayne&#8217;s presentation followed by the video of his talk and his slide deck:</p>

<ul>
    <li>&#8220;The benefits of &#8216;many eyeballs&#8217; in open source does create better software but you can only leverage that if you know about it.   That&#8217;s particularly troubling in the context of the fact that more than 80% of the modern software application is [comprised of] open source and the components that are used to build those applications are surprisingly complex.&#8221;</li>
    <li>&#8220;That complexity is compounded by the fact that when issues arise their implications are viral and the big problem is that when those issues are resolved in the root components the solutions are not [similarly viral]    .   Spring Beans 2.5.6 compromised 1400 open source components and God knows how many downstream applications.  When Spring Beans 2.5.6 was fixed, none of the others were fixed.&#8221;</li>
    <li>&#8220;You can imagine the ripple effect of compromising open source.    And the combination of things like the lack of notification infrastructure and the complexity of open source componentry is how you get situations like this.   6,982 organizations including the Dept of Homeland Security and several financial institutions are still using a 3 year old crypto library with an &#8220;as bad as it gets&#8221; Level 10 flaw that has known exploit code.&#8221;</li>
    <li>&#8220;Sonatype is creating an extraordinary infrastructure for finding out everything knowable about a given component.     So that when flaws are discovered, we can know and we have the ability to deliver that knowledge into the tools that developers are using every day.    This family of technologies is called Insight.&#8221;</li>
    <li>&#8220;Critical to that is the Central repository.   Central houses hundreds of thousands of components from nearly every open source project in the world and it is used by tens of thousands of organizations.&#8221;</li>
</ul>

<p>&nbsp;</p>

<p><object width="560" height="315"><param name="movie" value="http://www.youtube.com/v/qPbPktFwQew?version=3&amp;hl=en_US&amp;rel=0" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="560" height="315" src="http://www.youtube.com/v/qPbPktFwQew?version=3&amp;hl=en_US&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>

<div style="border: 1px solid black; width: 597px;">
<div id="__ss_12233282" style="width: 595px;"><strong style="display: block; margin: 12px 0 4px;"><a title="Wayne Jackson's Presentation at RSA 2012" href="http://www.slideshare.net/timninja/wayne-jacksons-presentation-at-rsa-2012" target="_blank">Wayne Jackson&#8217;s Presentation at RSA 2012</a></strong> <object id="__sse12233282" width="595" height="497"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=rsasonatypepresentationvfinal-120331072428-phpapp02&amp;rel=0&amp;stripped_title=wayne-jacksons-presentation-at-rsa-2012&amp;userName=timninja" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="wmode" value="transparent" /><embed type="application/x-shockwave-flash" width="595" height="497" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=rsasonatypepresentationvfinal-120331072428-phpapp02&amp;rel=0&amp;stripped_title=wayne-jacksons-presentation-at-rsa-2012&amp;userName=timninja" name="__sse12233282" allowscriptaccess="always" allowfullscreen="true" wmode="transparent"></embed></object></div>
</div>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p><script src="http://b.scorecardresearch.com/beacon.js?c1=7&amp;c2=7400849&amp;c3=1&amp;c4=&amp;c5=&amp;c6="></script>
<script src="http://b.scorecardresearch.com/beacon.js?c1=7&amp;c2=7400849&amp;c3=1&amp;c4=&amp;c5=&amp;c6="></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sonatype.com/people/2012/04/wayne-jackson-at-rsa-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>We&#8217;re a Java shop, we&#8217;re not going to get hacked&#8230;</title>
		<link>http://blog.sonatype.com/people/2012/03/were-a-java-shop-were-not-going-to-get-hacked/</link>
		<comments>http://blog.sonatype.com/people/2012/03/were-a-java-shop-were-not-going-to-get-hacked/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 13:55:24 +0000</pubDate>
		<dc:creator>Tim O'Brien</dc:creator>
				<category><![CDATA[Nexus]]></category>
		<category><![CDATA[#OSSsecurity]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=10544</guid>
		<description><![CDATA[This article is another in a series of articles associated with our Executive Brief. To access the executive brief, “Addressing Security Concerns in Open-Source Components,” visit www.sonatype.com/securitybrief. You can follow the conversation on Twitter using the hashtag #OSSsecurity. I just wanted to reiterate the key point of yesterday&#8217;s security brief which is: &#8220;You and everyone [...]]]></description>
				<content:encoded><![CDATA[<p><em>This article is another in a series of articles associated with our Executive Brief. To access the executive brief, “Addressing Security Concerns in Open-Source Components,” visit <a href="http://www.sonatype.com/securitybrief">www.sonatype.com/securitybrief</a>. You can follow the conversation on Twitter using the hashtag #OSSsecurity.</em></p>

<p>I just wanted to reiterate the key point of yesterday&#8217;s security brief which is: <strong>&#8220;You and everyone else in the world are likely downloading vulnerable components.&#8221;</strong> If you don&#8217;t believe me, then take a look at this graph:</p>

<p><a href="http://www.sonatype.com/people/wp-content/uploads/2012/03/LogScaleVuln.png"><img class="aligncenter size-full wp-image-10545" title="LogScaleVuln" src="http://www.sonatype.com/people/wp-content/uploads/2012/03/LogScaleVuln.png" alt="" width="650" /></a></p>

<p>First, note the logarithmic scale &#8211; downloads over an entire year.   Then, take a look at the left-side of the chart. See anything familiar?     GWT, Spring, Struts, CXF, Xerces?   If you use these components, you should try to identify which versions are affected by widely known CVE vulnerabilities.   It&#8217;s that simple, if you use these components it would be a good idea to browse the CVE database, or to <a href="http://www.sonatype.com/nexus/">take a look at Nexus Professional&#8217;s Repository Health Check</a>.</p>

<h2>Really, attackers aren&#8217;t going to go to the trouble&#8230;</h2>

<p>Developers, you might be thinking, &#8220;an insecurity in GWT or Xerces, who&#8217;s going to trouble of doing that much research?   Who&#8217;s <em>really</em> going to hack into Megabank via some obscure AJP vulnerability in a Tomcat connector?&#8221;   And if you are asking these questions as a way to shuffle this all under the rug, I understand.  There&#8217;s enough work in the pipeline already and you don&#8217;t need another thing to worry about.   As developers we&#8217;re not going to turn into security professionals overnight, but we can start <a href="http://www.sonatype.com/nexus">using tools like Nexus Professional</a> to help identify vulnerable components and isolate us from deploying known security problems to production.</p>

<p>It isn&#8217;t the likelihood that someone will hack GWT that is the issue, it is the idea that deploying any code with a known security vulnerability needs to be identified as a disqualifier.    The idea that if you get compromised and someone realizes that it was a known vulnerability (for years): developers need to be motivated to avoid this embarrasing situation.   The point I&#8217;ve tried to make on this blog is that we (developers) are not really paying attention to this problem because we just assume that it is someone else&#8217;s problem.</p>

<h2>Ignoring Security: It isn&#8217;t a question of <strong>if</strong> you&#8217;ll get hacked, it&#8217;s <strong>when</strong></h2>

<p>The issue of data and systems security has repeatedly been front-page news time and time again over the past year.   Groups like Anonymous and Lulzsec made a public sport in 2011 of hacking into serious organizations and making every effort to embarrass and ridicule them for lax security.  The last few years have been pretty embarrassing years for a lot of security departments at large corporations and a few governments.   2012 promises to be even more active with McAfee predicting <a href="http://venturebeat.com/2011/12/28/mcafee-2012-security-predictions/">the reorganization of Anonymous</a>, but focusing on these high-profile, news-generating events ignores the scope of the problem.  It isn&#8217;t about volume, it is about your exposure to this risk.</p>

<p>I&#8217;ve seen some recent attacks in action.   Attacks on both Java-based web architectures and PHP-based architectures.   While it&#8217;s true that PHP-based applications present a much larger and more insecure surface area to attack, it has to be said that Java-based web applications and .NET present a much more lucrative target.   An attacker can compromise all the two-bit Drupal instances in the world without stumbling upon anything worth intruding, or they can focus on a multi-month strategy of social engineering and direct attacks to compromise one the Global 100 financial institutions that are downloading insecure dependencies every day.</p>

<h2>Welcome to the Security Theater</h2>

<p>If you are banking on the fact that attacking Struts 2 or Log4J is just too esoteric for most hackers to do, you are participating in something Bruce Schneier calls Security Theater, and that&#8217;s really what I&#8217;m taking away from this study.   Some of these institutions are so invested in presenting an image of trust and security that they will spend millions on Super Bowl ads and marketing efforts to purchase customer trust.  But, at the end of that day they continue to download vulnerabilities.  It doesn&#8217;t match up, we need a change of culture in development and security needs to be top of mind.</p>

<p>It&#8217;s time for developers to start taking security seriously.    You could choose to be proactive about the problem and use tools like <a href="http://www.sonatype.com/nexus">Nexus Professional</a> to automatically correlate CVE vulnerabilities from CERT with your artifacts, or you can wait until someone replaces your company website with a funny picture and lose the ability to download artifacts from Central altogether.   The choice is yours.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sonatype.com/people/2012/03/were-a-java-shop-were-not-going-to-get-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today&#8217;s Security Brief: Application security is widely neglected (by some surprising companies)</title>
		<link>http://blog.sonatype.com/people/2012/03/todays-security-brief-application-security-is-widely-neglected-by-some-surprising-companies/</link>
		<comments>http://blog.sonatype.com/people/2012/03/todays-security-brief-application-security-is-widely-neglected-by-some-surprising-companies/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 15:53:51 +0000</pubDate>
		<dc:creator>Tim O'Brien</dc:creator>
				<category><![CDATA[Nexus]]></category>
		<category><![CDATA[Sonatype]]></category>
		<category><![CDATA[#OSSsecurity]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[The Central Repository]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=10529</guid>
		<description><![CDATA[Today we published a paper with Aspect Security, and it&#8217;s a shocking look at how few people are paying attention to application security. If you consume dependencies from the Central Repository and you don&#8217;t want to get hacked, I&#8217;d suggest reading the report and understanding some of the challenges, I&#8217;d also check out some of [...]]]></description>
				<content:encoded><![CDATA[<p>Today we <a href="http://ctt.marketwire.com/?release=866321&amp;id=1407793&amp;type=1&amp;url=http%3a%2f%2fwww.sonatype.com%2fsecuritybrief">published a paper with Aspect Security</a>, and it&#8217;s a shocking look at how few people are paying attention to application security.  If you consume dependencies from the Central Repository and you don&#8217;t want to get hacked, I&#8217;d suggest <a href="http://www.sonatype.com/securitybrief">reading the report</a> and understanding some of the challenges, I&#8217;d also check out some of these statistics.  Here are three that jumped out at me:</p>

<ul>
    <li>Global 500 organizations downloaded more than 2.8 million insecure components in one year.</li>
    <li><strong>Financial services firms are the most exposed</strong>: Global 100 financial services firms alone downloaded more than 567,000 insecure components in one year.</li>
    <li>48% (a little under half) of organizations don&#8217;t have an inventory of Open source software used in production.  (If there&#8217;s a new vulnerability discovered in something like GWT, who knows if we have that in production.)</li>
</ul>

<p>To access the executive brief, &#8220;Addressing Security Concerns in Open-Source Components,&#8221; visit <a href="http://www.sonatype.com/securitybrief">www.sonatype.com/securitybrief</a>. You can follow the conversation on Twitter using the hashtag #OSSsecurity.</p>

<p><strong>NOTE:</strong> Now, Developers, I know what you are thinking, you see the word &#8220;Executive Brief&#8221; and immediately dismiss this as C-level corporate-speak.  Sure, there&#8217;s a little bit of that, but you&#8217;ll also learn how to own any unpatched Struts 2 application with a known vulnerability.    <strong>If you use Struts, maybe <a href="http://www.sonatype.com/securitybrief">you should read this report</a> before your boss uncovers a vulnerability in your application?</strong></p>

<p><a href="http://www.sonatype.com/people/wp-content/uploads/2012/03/Inventory.png"><img class="aligncenter size-full wp-image-10533" title="Inventory" src="http://www.sonatype.com/people/wp-content/uploads/2012/03/Inventory.png" alt="" width="665" height="388" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sonatype.com/people/2012/03/todays-security-brief-application-security-is-widely-neglected-by-some-surprising-companies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Source Changes Fast. Can You Keep Up?</title>
		<link>http://blog.sonatype.com/people/2011/10/open-source-changes-fast-can-you-keep-up-2/</link>
		<comments>http://blog.sonatype.com/people/2011/10/open-source-changes-fast-can-you-keep-up-2/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 01:35:50 +0000</pubDate>
		<dc:creator>Tim O'Brien</dc:creator>
				<category><![CDATA[Insight]]></category>
		<category><![CDATA[Sonatype]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=9024</guid>
		<description><![CDATA[Bouncy Castle.   Do those words mean anything to you?   If you are a Java developer, you might know that Bouncy Castle is an encryption library often used to generate secure hash codes and encrypt data.  In other words, it is a silly project name for a serious purpose. Do you any know that old, released [...]]]></description>
				<content:encoded><![CDATA[<p>Bouncy Castle.   Do those words mean anything to you?   If you are a Java developer, you might know that Bouncy Castle is an encryption library often used to generate secure hash codes and encrypt data.  In other words, it is a silly project name for a serious purpose. Do you any know that old, released versions of Bouncy Castle have known security vulnerabilities?   I’m not writing this to cast a shadow of doubt on the project.  Bouncy Castle is an awesome open source library, as is the Spring framework, Commons HttpClient, Tomcat, and Jetty.   What Bouncy Castle has in common with all of these other open source components is that old versions of each project have known security vulnerabilities.</p>

<p>There’s a good chance that you might not be focused on this problem.   You might not be constantly evaluating your project’s dependencies to analyze the risks.
<BR><span id="more-9024"></span></p>

<p>I’ve been developing enterprise software for years, and it just isn’t something most companies worry too much about.   While a company might spend a great deal of money on systems and personnel to keep operating systems patched and networks secured, that same company is likely using an older version of Commons HttpClient 3.1 that presents a denial of service (DoS) vulnerability.    In other words, we appreciate the vulnerability of machines and operating systems while simultaneously ignore the security characteristics of the software that runs on these platforms.</p>

<p>As open source becomes more important to the modern enterprise this exposure will only increase.    The critical question to ask yourself given the increasing rate of change in open source is “can you keep up?”.</p>

<p>It just so happens that we recently launched Sonatype Insight to help with this very issue.  Watch this short video to see how <a title="Sonatype Insight" href="http://www.sonatype.com/Products/Sonatype-Insight">Sonatype Insight.</a> can help you keep up.</p>

<iframe width="560" height="315" src="http://www.youtube.com/embed/GJ--j4Nm5n0?rel=0" frameborder="0" allowfullscreen></iframe>

<p>Learn more about <a title="Sonatype Insight" href="http://www.sonatype.com/Products/Sonatype-Insight">Sonatype Insight.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sonatype.com/people/2011/10/open-source-changes-fast-can-you-keep-up-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Infrastructure Anti-pattern: Death by a Thousand Passwords</title>
		<link>http://blog.sonatype.com/people/2010/12/infrastructure-anti-pattern-death-by-a-thousand-passwords/</link>
		<comments>http://blog.sonatype.com/people/2010/12/infrastructure-anti-pattern-death-by-a-thousand-passwords/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 07:30:06 +0000</pubDate>
		<dc:creator>Tim O'Brien</dc:creator>
				<category><![CDATA[Maven]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sonatype pro]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=6726</guid>
		<description><![CDATA[I’ve had the opportunity to see many development environments: from the mature organization with tens of thousands of developers that can afford to spend millions on dedicated infrastructure teams, to the three person start-up lacking something as simple as source control.  This series of posts discusses some of the common anti-patterns in development infrastructure that [...]]]></description>
				<content:encoded><![CDATA[<p>I’ve had the opportunity to see many development environments: from the mature organization with tens of thousands of developers that can afford to spend millions on dedicated infrastructure teams, to the three person start-up lacking something as simple as source control.  This series of posts discusses some of the common anti-patterns in development infrastructure that are relevant regardless of team size or approach.   It also provides some hints for how to avoid these problems.</p>

<h2>Problem/Anti-pattern: Too Many Logins</h2>

<p>No matter how mature your process is, I’ve always found credentials to be especially difficult for a new hire.   It takes days, and then, even when you think you’ve created all of the necessary passwords, there are those other systems that jump up from out of nowhere.</p>

<blockquote>“Do you have a login for Subversion?  No.  Talk to Tom about that?   How about JIRA?  I’m not sure who setup JIRA, let me check on that.   Ok, we have this VPN, and you are going to need to get those credentials in order to check your email which, unfortunately, is a whole different set of passwords.”</blockquote>

<p>The first few days of employment are meeting people, downloading Gigabytes of software, and remembering an encyclopedia of passwords. Some of these password might be managed by HR, others are managed by your Technology department, but this post focuses on those credentials that affect development infrastructure.  If your development infrastructure is mature, your organization might solve this by consolidating authorization and access control information on an LDAP server or Atlassian’s Crowd.  If you don’t use one of these products, then you are dealing with an expanding constellation of moving parts: JIRA, Subversion, GitHub, Basecamp, Bugzilla, Confluence, Twiki, Matrix, CruiseControl, etc.</p>

<p><span id="more-6726"></span></p>

<p><img class="aligncenter size-full wp-image-6727" title="internal-resources" src="http://www.sonatype.com/people/wp-content/uploads/2010/12/internal-resources.png" alt="" width="272" height="188" /></p>

<p>Complicating matters further is the fact that some enterprises are branching out into the world of hosted or distribute development infrastructure.   If you are working at a business that is experimenting with services like GitHub, Basecamp, or a hosted Atlassian stack, you’ll understand that this complicates things.   If you’ve already standardized on LDAP or Crowd, many of these hosted services do not have any provision for tunneling back into your VPN and authenticating against an internally managed authorization and access control server.</p>

<p><img class="aligncenter size-full wp-image-6728" title="crowd-resources" src="http://www.sonatype.com/people/wp-content/uploads/2010/12/crowd-resources.png" alt="" width="376" height="226" /></p>

<h2>First Step: Use LDAP or Crowd</h2>

<p>The first step is easy, use LDAP or Crowd.   Consolidate all of your credentials and select development infrastructure (like Sonatype Matrix and Sonatype Nexus) that can be easily integrated with these services.  Sonatype used to use OpenLDAP to manage this issue, but we switched to Atlassian’s Crowd server as it offered a cleaner interface.   If it takes more than one hand to count the number of developers in your group, it is probably time to invest in a similar solution.</p>

<h2>Second Step: Use a Password Wallet</h2>

<p>How do you deal with hosted, distributed infrastructure?   What if you are working on an open core product when portions of the system are stored on external source control systems?   What if you are using GitHub for some components?     The answer here is that there really is no way to get to a single password for everything.   The reality of today’s development infrastructure is that not everything can talk to your LDAP or Crowd server, it just isn’t realistic.  In these cases you will want your developers to use a password wallet.</p>

<p><img class="aligncenter size-full wp-image-6729" title="sonatype-pro" src="http://www.sonatype.com/people/wp-content/uploads/2010/12/sonatype-pro.png" alt="" width="405" height="301" /></p>

<p>Sonatype Professional’s Developer Onboarding tool provides just this structure to consolidate all of these credentials in a Security Realm.    When a Developer materializes an Eclipse workspace using Developer Onboarding, Sonatype’s Installer asks for all of the credentials and passwords up-front and stores these credentials in secured storage.   This serves a few purposes.</p>

<p>First, we ask for the credentials up front.  You can’t complete a materialization unless you can connect to the necessary resources.  This prevents a developer from starting a process and realizing half way through that they don’t have the appropriate access.</p>

<p>Second, we store this information in Eclipse in secured storage and we protect it with a password.   Sonatype Developer Onboarding product knows how to access this information and every time it needs to access secured storage to retrieve a password it will prompt you for your storage password.</p>

<p>This is the same sort of functionality that you can get through a product like PasswordWallet or 1Password.    Sonatype has taken the idea of a password wallet and integrated it into the development environment.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sonatype.com/people/2010/12/infrastructure-anti-pattern-death-by-a-thousand-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Partitioning Nexus Repositories: Video Overview and Demonstration</title>
		<link>http://blog.sonatype.com/people/2010/02/partitioning-nexus-repositories-video-overview-and-demonstration/</link>
		<comments>http://blog.sonatype.com/people/2010/02/partitioning-nexus-repositories-video-overview-and-demonstration/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 15:35:21 +0000</pubDate>
		<dc:creator>Tim O'Brien</dc:creator>
				<category><![CDATA[Nexus]]></category>
		<category><![CDATA[Sonatype]]></category>
		<category><![CDATA[oss]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=4330</guid>
		<description><![CDATA[This video is a follow-up to Juven Xu&#8217;s post from this morning, How to Partition Nexus Repositories: Targets, Privileges, and Roles. It provides some motivation and quick demonstration of how repositories are partitioned on http://oss.sonatype.org.]]></description>
				<content:encoded><![CDATA[<p><!--dzoneZ=none--><a href="http://www.sonatype.com/people/wp-content/uploads/2010/01/nexus-small.png"><img src="http://www.sonatype.com/people/wp-content/uploads/2010/01/nexus-small.png" alt="" title="nexus-small" width="250" height="62" class="alignright size-full wp-image-3683" /></a>This video is a follow-up to Juven Xu&#8217;s post from this morning, <a href="http://www.sonatype.com/people/2010/02/how-to-partition-nexus-repositories-targets-privileges-and-roles/">
How to Partition Nexus Repositories: Targets, Privileges, and Roles</a>.  It provides some motivation and quick demonstration of how repositories are partitioned on <a href="http://oss.sonatype.org">http://oss.sonatype.org</a>.</p>

<p><object width="660" height="405"><param name="movie" value="http://www.youtube.com/v/n7ylT4A8BAk&#038;hl=en_US&#038;fs=1&#038;color1=0x2b405b&#038;color2=0x6b8ab6&#038;hd=1&#038;border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/n7ylT4A8BAk&#038;hl=en_US&#038;fs=1&#038;color1=0x2b405b&#038;color2=0x6b8ab6&#038;hd=1&#038;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="660" height="405"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sonatype.com/people/2010/02/partitioning-nexus-repositories-video-overview-and-demonstration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Partition Nexus Repositories: Targets, Privileges, and Roles</title>
		<link>http://blog.sonatype.com/people/2010/02/how-to-partition-nexus-repositories-targets-privileges-and-roles/</link>
		<comments>http://blog.sonatype.com/people/2010/02/how-to-partition-nexus-repositories-targets-privileges-and-roles/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 11:41:29 +0000</pubDate>
		<dc:creator>Juven Xu</dc:creator>
				<category><![CDATA[Nexus]]></category>
		<category><![CDATA[Sonatype]]></category>
		<category><![CDATA[oss]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=4319</guid>
		<description><![CDATA[Part of my daily routine involves managing the Sonatype OSS Repository, a free, hosted Nexus Professional instance for hosting open source project repositories . There are more than 100 projects hosted on the OSS instance, and each project has at least one release repository, one snapshot repository, and one repository group.    When we started offering [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.sonatype.com/people/wp-content/uploads/2010/01/nexus-small.png"><img class="alignright size-full wp-image-3683" title="nexus-small" src="http://www.sonatype.com/people/wp-content/uploads/2010/01/nexus-small.png" alt="" width="250" height="62" /></a>Part of my daily routine involves managing the <a rel="nofollow" href="http://oss.sonatype.org/">Sonatype OSS Repository<sup><img src="https://docs.sonatype.com/images/icons/linkext7.gif" border="0" alt="" width="7" height="7" align="absmiddle" /></sup></a>, a free, hosted Nexus Professional instance for <a rel="nofollow" href="http://nexus.sonatype.org/oss-repository-hosting.html">hosting open source project repositories<sup><img src="https://docs.sonatype.com/images/icons/linkext7.gif" border="0" alt="" width="7" height="7" align="absmiddle" /></sup></a> . There are more than 100 projects hosted on the OSS instance, and each project has at least one release repository, one snapshot repository, and one repository group.    When we started offering this service I would create two repositories and a single repository group for each project, but as community adoption increased, I found that managing hundreds of repositories was become a very complicated and time-consuming task.  In this post, I&#8217;m going to discuss how I consolidated hundreds of repositories down to a single release repository, snapshot repository, and repository group.  I&#8217;m also going to discuss how I used Nexus security settings to partition these consolidated repositories, providing necessary isolation between separate projects.</p>

<p>If you are running a large instance of Nexus to manage internal development, or if you are responsible for an open source project&#8217;s installation of Nexus, you can use the approach outlined in this post.<span id="more-4319"></span></p>

<h3>Each Project Controls a groupId</h3>

<p>On the Sonatype OSS Nexus instance, every project has a unique maven groupId.  This groupId determines the repository path of all its artifacts.    For example, all projects released by the ehcache project have a groupId of <em>net.sf.ehcache</em>.  This means that all of the artifacts from the ehcache project are stored under the repository path <em>/net/sf/ehceche</em>.  Take Plexus as another example, its maven groupId is <em>org.codehaus.plexus</em>, and its artifacts go under the repository path <em>/org/codehaus/plexus</em>.   When projects have unique groupIds, there is no repository path collision.   This means that we can consolidate hundreds of repositories into a single shared repository.</p>

<p>With a single, shared repository we need to find a way to provide isolation between each project (each groupId). Ehcache administrators should only be able to deploy artifacts to <em>/net/sf/ehcache</em>, and Plexus developers should only be able to deploy artifacts to <em>/org/codehaus/plexus</em>. Administrators should be given CRUD privileges on a project&#8217;s repository path, other users are only allowed to read this path.</p>

<h3>Implement Partitioning with Nexus Security</h3>

<p>To implement this partitioning, I use Nexus Repository Targets, Privileges, and a custom Nexus Role.  Let&#8217;s take a look at the Ehcache groupId and walk through the process of creating a repository target for the ehcache repository path, a set of privileges that grant CRUD access to this area of the repository, and an Ehcache Admin role.</p>

<h4>Step 1: Create a Repository Target</h4>

<p>To create a repository target, click on Repository Targets under the Administration section of the Nexus application menu.   Once you click on Repository Targets, click on the Add button above the list of repository targets.   The groupId of Ehcache is <em>net.sf.ehcache</em>.  In the following figure I&#8217;m creating a repository target with pattern of <em>.</em><em>/net/sf/ehcache/.<em></em>, this pattern matches all artifacts under path <em>/net/sf/ehcache/</em>. What if one project requires more than one groupId? Like Ehcache, it also needs <em>net.sf.jsr107cache</em>. It&#8217;s ok, I can add more than one pattern for a repository target, in this case I also add <strong>&#8220;.</strong>/net/sf/jsr107cache/.</em>&#8220;.   The name field in this figure is free form, it doesn&#8217;t have to be a package name or a groupId, but I set the name to the main groupId to make it easier to find this target in the future.</p>

<p><a href="http://www.sonatype.com/people/wp-content/uploads/2010/02/repo-target1.png"><img class="aligncenter size-full wp-image-4321" title="repo-target" src="http://www.sonatype.com/people/wp-content/uploads/2010/02/repo-target1.png" alt="" width="505" height="272" /></a></p>

<h4>Step 2: Create Privileges</h4>

<p>Once the repository target is created, we can create privileges based on it (along with a repository or group). Open the Privileges panel by clicking on Privileges under in the Security section of the Nexus application menu.  Once you see the Privileges panel, click the <strong>Add</strong> button, select <strong>Repository Target Privilege</strong>. You need to fill in the name, description, repository, and repository target of the privilege. Here I choose repository target <em>net.sf.ehcache</em> and I target the repository <em>Release (Repo)</em>.  You can also choose &#8220;All Repositories&#8221; if you want to define a global privilege.  I usually set the name and description to match the name of the groupId and which repositories the target applies to.</p>

<p><a href="http://www.sonatype.com/people/wp-content/uploads/2010/02/target-priv.png"><img class="aligncenter size-full wp-image-4322" title="target-priv" src="http://www.sonatype.com/people/wp-content/uploads/2010/02/target-priv.png" alt="" width="386" height="228" /></a></p>

<p>Click <strong>Save</strong>, then your CRUD privileges are created on repository <em>Release</em>, based on repository target <em>net.sf.ehcache</em>.   You should see the following four privileges after clicking on Save.</p>

<p><a href="http://www.sonatype.com/people/wp-content/uploads/2010/02/new-privs.png"><img class="aligncenter size-full wp-image-4323" title="new-privs" src="http://www.sonatype.com/people/wp-content/uploads/2010/02/new-privs.png" alt="" width="568" height="259" /></a></p>

<h4>Step 3: Create a Nexus Role (or a Nexus User)</h4>

<p>The next step is to create a user for the open source project that needs to have these privileges.  In the case of ehcache, we define an ehcache administrative user, and we assign the privileges we just created to this new user.</p>

<p>Alternatively, we could create a new Nexus Role which contains these four new privileges and we could assign this role to users that need to have access to the ehcache repository target.  I can assign these privileges to the <em>Ehcache Admin</em> role (it&#8217;s easy to create a role in Nexus, just click on Roles under Security in the Nexus menu).  Users who are assigned this new role role can then deploy artifacts to /net/sf/ehcache/ or /net/sf/jsr107cache/ of repository Release, but they can not deploy artifacts to other paths of this repository.</p>

<h3>Conclusion</h3>

<p>Following this pattern, we can create privileges for Plexus artifacts, for Sonatype artifacts,and for any other project as long as we know the groupId.  I&#8217;ve found that this approach preferable to the approach that used hundreds of independent Maven repositories.   We now have a single repository with multiple, project-specific privilege sets, and the process of adding new roles and privileges is very straightforward.   We&#8217;ve made it past 100, now we&#8217;re ready for 1000.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sonatype.com/people/2010/02/how-to-partition-nexus-repositories-targets-privileges-and-roles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
