New scoring systems for software security: CWSS and CWRAF

With the surge in hacktivism and nation-state espionage in recent years, not to mention the continuing high levels of cybercrime, companies need better tools to evaluate the quality of any developer's code.

To that end, government contractor Mitre, the SANS Institute and the U.S. Department of Homeland Security announced Monday two frameworks for evaluating programming weaknesses and their impact on critical business systems. The first project helps companies and software developers use the same language when discussing programming vulnerabilities. Known as the Common Weakness Scoring System, the initiative defines the severity of certain weaknesses and prioritizes them by their potential impact.

"Up to now, this industry basically said, 'There is bad stuff in your code, so run your code through our tool and we will tell you about a bunch of bad things that you can get rid of,'" says Bob Martin, program director for Mitre. While newer tools prioritized potential defects in the software, "every vendor had its own prioritization, which may or may not have anything to do with how bad certain weaknesses were."

Read CSO's article on enterprise risk management, of which software security is a concern.

The CWSS is an attempt to come up with a common scoring system for vulnerabilities. As part of the announcement, Mitre teamed with the SANS Institute, an education and training organization, to reveal their annual list of the top-25 vulnerabilities affecting software. This year, the three most significant vulnerabilities are SQL injection, OS command injection and perhaps that old standby, the buffer overflow.

While the ratings help developers to focus on taming certain defects in their code, the lists do not measure the impact of the vulnerabilities on a specific company's environment. For that, Mitre created the Common Weakness Risk Analysis Framework, or CWRAF, pronounced "craft." The project aims to allow a company to create a "vignette," or scenario that combines the domain in which the software is used along with the technology and business impact. An industrial control system, for example, might encompass embedded systems and control systems in the energy industry that could shut down a company if they failed.

Read about the ingredients of an information systems audit, which should include a good risk analysis

"CWRAF allows you to work through -- what is the type of application and what are the business concerns that drive you to care about one kind of failure mode versus another," Martin says.

Yet, companies should not expect to see significant changes in how they manage the software development process -- yet. Both CWSS and CWRAF are still evolving, says Jacob West, director of security research for HP Fortify, the static code analysis unit of Hewlett-Packard.

"One of the primary problems for a software shop is the technology to find problems has evolved a lot in the last 10 years, but now we need to figure out how to prioritize the issues and figure out how to deal with them."

The whole point of the systems is to automate analysis of vulnerabilities, so that developers and their customers can better triage security issues. At the same time, the systems have to be flexible enough for a human to step in an assign value to the systems that may be affected by vulnerabilities.

"One of the challenges for anyone that tries to prioritize vulnerabilities in an automated fashion like this is going to be that nuance, that business context," West says. "Making a system that can be both generalizable and heavily automatable, but also remain flexible enough to allow a human to influence it in the necessary places is very difficult."

Read more about network security in CSOonline's Network Security section.

Tags: firewalls, information systems audit, SANs, applications, Mitre, Department of Homeland Security, vulnerability management, DHS, SANS Institute, security, software security, CWRAF, Data Protection | Network Security, CWSS, enterprise risk management (ERM)
Comments are now closed.
CSO Corporate Partners
  • Webroot
  • Trend Micro
  • NetIQ
rhs_login_lockGet exclusive access to CSO, invitation only events, reports & analysis.
CSO Directory

ZENworks® Endpoint Security Management

Get powerful mobile security capabilities, and protect the data the various mobile devices inside your organization.

Security Awareness Tip

Incident handling is a vast topic, but here are a few tips for you to consider in your incident response. I hope you never have to use them, but the odds are at some point you will and I hope being ready saves you pain (or your job!).


  1. Have an incident response plan.

  2. Pre-define your incident response team 

  3. Define your approach: watch and learn or contain and recover.

  4. Pre-distribute call cards.

  5. Forensic and incident response data capture.

  6. Get your users on-side.

  7. Know how to report crimes and engage law enforcement. 

  8. Practice makes perfect.

For the full breakdown on this article

Security ABC Guides

Warning: Tips for secure mobile holiday shopping

I’m dating myself, but I remember when holiday shopping involved pouring through ads in the Sunday paper, placing actual phone calls from tethered land lines to research product stock and availability, and actually driving places to pick things up. Now, holiday shoppers can do all of that from a smartphone or tablet in a few seconds, but there are some security pitfalls to be aware of.