By Walaika Haskins TechNewsWorld
01/12/09 1:56 PM PT
High-profile organizations including Microsoft, the NSA, the SANS Institute and Mitre have collectively issued a list of the top 25 most dangerous programming errors. Slip-ups on the part of software coders can result in costly thefts by hackers. The remedy: better education and more accountability.
eMarketer Whitepaper: Optimizing the E-Commerce Experience
From the Web to the Contact Center, are you prepared to proactively engage and keep your savvy customers? Read how e-commerce leaders are optimizing their sites with ratings, reviews, live help, Web analytics, mobile and more.
A report issued Monday purports to detail the 25 most dangerous programming errors committed by software writers that result in security bugs and enable cyber espionage and cybercrime. The list was compiled by more than 30 experts from cyber security organizations in the U.S. and other countries.
Experts from the Computer Emergency Response Team (CERT), the non-profit technology resource Mitre, the National Security Agency and the Department of Homeland Security's National Cyber Security Division, Symantec (Nasdaq: SYMC), Microsoft (Nasdaq: MSFT) and the Japanese IPA, among others, named the errors, according to Mason Brown, director of the SANS Institute, which helped coordinate the project.
Just two of the errors alone led to more than 1.5 million Web site security breaches in 2008. Those breaches in turn compromised the computers of people visiting those sites, turning the computers into so-called zombie machines, the report states.
"[The mistakes] are huge. They are the underlying reason for almost all the patches we end up having to install on computers all over the world, and they enable the vast bulk of cybercrime and cyber espionage," Alan Paller, director of research at the SANS Institute, told TechNewsWorld.
"In one case in 2008, more than 1 million Web sites were penetrated and infected and made to infect their visitors' computers -- and those were trusted sites like the United Nations, state government and others. That was cause by errors 1 and 2 on the list," he continued.
Error Message
Topping the list are errors dubbed "Insecure Interaction Between Components." The nine programming mistakes under this heading include: Improper input validation, improper encoding or escaping output, failure to preserve SQL query structure, a.k.a. SQL injection, and failure to preserve Web page structure aka cross-site scripting.
"Some of the consequences can be very significant. For example, the 'CWE-89: Failure to Preserve SQL Query Structure (a.k.a. SQL Injection)' is a flaw that has been used to inject malicious code into many thousands of Web sites. The technique has been known for many years but was used extensively by hackers in 2008 to spread malicious software and spyware using hacked Web sites, said Richard Wang, U.S. Manager at SophosLabs.
In the report, nine other errors fall under "Risky Resource Management," and the seven final errors have been classified as "Porous Defense" issues.
"Some of the errors in the list relate to organizational behavior and policy; for example, 'CWE-250: Execution with Unnecessary Privileges.' Implementing and enforcing procedures to change the insecure behavior of a network's users, and administrators can help to reduce the risk of compromise," Wang noted.
Needed: Defense Against the Dark Arts Class
The report found that most of the errors that have been identified are not well understood by programmers, who are generally not taught by university computer science programs how to avoid such mistakes. Also, the presence of these errors is not frequently tested by organizations developing software for sale.
"Ten years ago, computer crime was not a big thing. So nearly all the teachers and most of the current patch programmers learned to code when they didn't have to worry about hackers. Now they do, but their teachers don't know how and they are uncomfortable teaching it," Paller explained.
The economic impact on an organization can be significant. A security breach can mean loss of intellectual property or loss of confidential data. Cleaning up after a data breach can be expensive, as is the process of notifying those who may have been affected. There are both financial and customer confidence costs, said Wang.
As organizations struggle to cope with the constant onslaught of security vulnerabilities that are a result of these mistakes, billions of dollars are wasted patching errors and testing patches to clean up after an infection, Paller noted.
"More billions of dollars [have been lost] to cybercrime," he added.
Still Hope
All hope, however, is not lost. While these mistakes are prevalent, there are several remedies.
Universities should be forced to teach and test all current programmers for secure coding skills and fill their gaps using the GIAC Secure Software Programmer Test, Paller said.
Second, "test all software using automated source and binary code testing tools. No. 3, write contracts that require developers to fix the errors and take financial responsibility for the ones they miss. Once the software writers are responsible for losses from these errors, they will do 1 and 2," he suggested.
There are several remedies, Wang agreed, but added that as with most security problems, there is "no silver bullet." Organizations must ensure the software they use is developed with security in mind, whether the software is off-the-shelf or custom built.
"If the software has access to your data or your network, then security flaws in that software could give hackers access to your data and your network. If your organization develops software, make sure that your developers are aware of these programming errors. Even if the software they are developing is not security-related, any software could potentially be used by hackers to obtain or increase their access to a network," he explained.
Organizations should ensure that the software they use is up-to-date and fully patched. This applies to applications as well as operating systems (OSes). As OS developers have improved their security patch distribution methods, hackers have targeted applications, which may be less frequently updated. Web browsers, another access point, provide conduits between a potentially dangerous Web site and any application that the browser can start on the desktop.
"For example, flaws in media players, image viewers or document reading software could be exploited via a Web browser used to launch those applications," Wang continued.
"It is sadly the case that someone else's programming error, whether in a Web site or application, can cost you. Organizations must understand the risks they face and have layered security solutions in place so that a single flaw does not expose the entire organization," he concluded.
>>contracts that require developers to fix the errors and take financial responsibility ...
Next Article in Exploits & Vulnerabilities
Twitter Mischief Hijacks Reputations January 06, 2009
Twitter probably doesn't have your credit card data on file, nor does it hold on to your Social Security number, but recent security breaches highlight just what kind of damage can be inflicted when intruders gain access to user accounts.
Related Stories
Security Wonks Find Gaping Hole in Trusted Site System December 30, 2008
Security researchers have cracked open a significant hole in the digital certificate system used by banks and other online businesses. The exploit would allow hackers to more convincingly imitate a trusted site, presenting an opportunity to phish personal information from the victim. The researchers say they informed leading browser makers before going public with the flaw.
Is Firefox Fit for Enterprise Duty? December 18, 2008
Browser security seems to be a big issue this week. First we had the IE patch drama, then comes a dust-up over whether Firefox is fit for enterprise use. The Mozilla browser topped enterprise app whitelister Bit9's list of popular apps with security vulnerabilities. Why? One major reason was because Firefox typically relies on the end-user to allow updates and new patches.
Microsoft Stitches Up IE's Gaping Wound December 18, 2008
It took over a week, but Microsoft engineers have come up with a patch to mend a critical vulnerability in Internet Explorer. The security bug in the world's most-used Web browser was discovered shortly after Microsoft's regular patch dispatch. The timing and the level of publicity the vulnerability received motivated the company to create and issue an out-of-band update.
Related News Alerts
More by Walaika Haskins
ZeeVee's Zinc Browser Gets Web TV Right April 29, 2009
The Zinc Browser from ZeeVee updates the old Zviewer with tighter navigation and better catalog options. The finished application offers a great way to find TV shows and movies anywhere on the Web, regardless of whether they're hosted by Hulu, CBS, Netflix, Amazon's on-demand service or others.
Game Sales Sputter, 'GTA' Fails to Steal the Show April 23, 2009
It may appear as though the video game industry is beginning to join the economy at large in its slump, as March numbers from NPD were less than encouraging. However, a year-over-year perspective is difficult due to the timing of game releases and holidays. Meanwhile, Take-Two hasn't seen much success in introducing its violent "GTA" series to the Nintendo DS.
Can Microsoft Win the Online Game? April 16, 2009
Now that the major video game consoles have been on the market for two and a half years -- or more -- hardware sales have slowed considerably. Online services, however, still have room to grow. InStat says subscriber bases will take off in the coming years, and Microsoft's Xbox platform may come out the big winner.