Sunday, April 14, 2013

Key points and Thoughts on the State of Software Security Report (VERACODE April 2013 vol.5)



VERACODE released its annual State of Software Security Report last week and provided a 1 hour webinar discussing major points along with a 15 minutes Q&A session.  Here is a summary of some of the key points I found interesting in their report and my analysis and thoughts relevant to these disturbing facts in today’s security landscape.

45% of data lost breaches caused by Hacks

I will wait for the Verizon Data Breach Report 2013 to expand on that. The 2012 Verizon Data Breach report put this number on 81% (Hacking 81% of breaches, 99% of records , p.30).

Data Loss Breaches Categorized by Root Cause:


Data Loss Breaches Categorized by Root Cause (Source: DataLossDB)


87% of Web applications failed to comply with OWASP Top 10 upon initial application submission.

This is an indicator of a widespread failure to implement and test security mechanisms as part of the software development lifecycle. This is in-line with Veracode’s Security Quality Score Trend, which was flat for the past 3 years.  OWASP provides an excellent guide as part of OWASP’s Testing Project. The main suggestion is that “companies should inspect their overall SDLC to ensure that security is an integral part of the development process. SDLCs should include security tests to ensure security is adequately covered and controls are effective throughout the development process.”
As with any software development life cycle model, a defect whether security related or other, is much more expensive to fix in later stages.  In the context of a security defect, this can also translate to millions of dollars if the security defect leads to stolen records or a similar major exploit.


Vulnerability Distribution Trends: Java, .NET, PHP, ColdFusion – XSS still number one (for the past 3 years). 

Since Veracode scans the binary code it is not clear if XSS would still be the number one vulnerability when the webapp is protected by additional security mechanisms applied by the host, such as Cloud WAF and user’s browser default protections or add-ons (such as NoScript). Nevertheless, XSS still plays a major role in investigative data breaches.  
Another point to consider regarding this fact is why so many WebApps are still exposed to such a basic vulnerability year after year. Some of the explanations given in this report were:

  1. The fact that XSS is hardly used for profit-driven attack scenarios.
  2. An influx of web applications. New apps that have never been tested before for a security point of view.
  3. Expansion of web assessment focus.
  4. Frequent web application changes, causing a built-in influx of new vulnerabilities.

One key reason that might be overlooked is the performance tradeoff XSS filtering and encoding requires. Performance is an essential factor in assessing the usefulness of a client-side XSS filter.
On the other hand the low percentage (single digit) of SQL Injection exposure in Veracode’s binary scan doesn’t explain why SQL Injection is still a major role in today’s arsenal of attacks. This point is further emphasized in the Web Application Threat Landscape section of the report , as pointed out by the Web Hacking Incident Database: “10% of the incidents occurring in 2012 are categorized as SQL injection attacks, yet millions of records are leaked through SQL injection attacks during 2012”.

Vulnerability Distribution Trends for Java Applications (Share of Total Vulnerabilities Found):


Vulnerability Distribution Trends for Java Applications – VERACODE State of Software Security Report, Vol.5



Mobile Application Security - Cryptographic issues affect 58% of iOS applications and 64% of Androids’

Cryptographic issues and information leakage are in the Top 5 list of vulnerabilities as measured by percent of total vulnerabilities found in the report.  This is well explained in Dark Reading’s ‘Mobile's Cryptography Conundrums’. During RSA Conference 2012 a demo showed how mobile devices were radiating to the wireless network, cryptographic keys for sensitive applications even from supposedly protect apps used for payments. The researchers were able to extract keys in some cases from 10 feet away or more.

Vulnerability Distribution for Mobile Platforms (Share of Total Vulnerabilities Found)


Vulnerability Distribution for Mobile Platforms - VERACODE State of Software Security Vol.5

  
It will be interesting to compare and correlate some of these facts with the upcoming Verizon Data Breach Report for 2013.

No comments:

Post a Comment