The price of functionality

 

Connecting state and local government leaders

With performance-enhancing tools such as AJAX, Web functionality isagain outpacing the ability to close vulnerabilities.

Web 2.0 is the new big thing on the Internet, but the tools used to enhance Web sites also leave a new crop of vulnerabilities, many of them unforeseen by developers. For all the innovation in software and hardware, the same old battles remain when functionality outstrips security.

'There really isn't anything new in security,' said Bill Hoffman, lead researcher at SPI Dynamics, at the recent Black Hat Briefings information technology security conference in Las Vegas. 'Anyone who says there is is lying.'

At the conference, Hoffman and John Terrill, executive vice president and co-founder of Enterprise Management Technology, demonstrated some of the possibilities of a new hybrid worm that uses server-side and client-side languages to exploit a Web server and the client's Web browser. The proof-of-concept worm is polymorphic and evolves to defend itself and find new avenues of attack.

'While these are not new concepts, applying them to interpreted languages like Perl or JavaScript inside a browser allowed for some interesting twists and caused some challenges,' Hoffman said.

Developers use JavaScript as a transport format for Web data to get around the same-origin policy built into browsers. Browsers use the policy to partition information from different sites and ensure that a Web site does not use a third-party browser to gather information from a second Web site. But the policy assumes that information will be in HTML. Asynchronous JavaScript and Extensible Markup Language (AJAX) gets around that limitation.

Open for exploit

'It's very creative,' said Brian Chess, chief scientist and founder of Fortify Software. But it also opens some Web sites to an exploit called JavaScript hijacking. 'It's an unforeseen consequence of what sounds like a good idea.'

At the root of the vulnerabilities is a problem as old as software itself: the disconnect between members of the development and security communities. Developers don't know security, and security people don't know coding. As a result, security is often an afterthought.

'You have to do security early in the development life cycle,' Hoffman said in an interview with GCN.

Chess and Hoffman were at the Las Vegas conference to emphasize the need for secure software development to help prevent such unintended consequences.

Web 2.0 is a broad term for interactive online functionality that includes collaboration and user-generated content. A cornerstone of that functionality is AJAX, a technique for creating Web applications that improve browser performance by loading only the changes in a Web page rather than reloading the entire page. Developers make the function calls in JavaScript and format data in XML.
AJAX is only one Web 2.0 tool, but 'we focus on AJAX because that's what most people are familiar with,' Hoffman said.

'One of the tenets of Web security is: Don't send anything to the client because you can't trust it,' Hoffman said. But that tenet was developed at a time when it was difficult to run processes on a browser. With the advent of tools such as AJAX, that approach is becoming more common.

However, it creates an environment in which the current model of securing IT systems by constantly adding more tools to the network or host is unsustainable. Increasingly interactive applications find ways around or through those static defenses, Chess said.

Hoffman said experts are already seeing exploits that take advantage of those weaknesses. Hackers have targeted application program interfaces that enable mashups, in which content is combined from multiple sources on a new site. Some users of the MySpace social networking site created self-propagating worms that injected JavaScript into profiles and used AJAX in the background. The attacks began in 2005 and continued into 2006 until MySpace shut down for a day to repair the vulnerability that allowed the propagation. In at least one case, a spammer apparently used the worms to harvest e-mail addresses and deliver ads.

Earlier this year, researchers at Fortify Software described JavaScript hijacking in a paper as an example of a traditional security failing. AJAX uses JavaScript to enable the interactive components of Web 2.0, such as mashups, but it introduces security weaknesses.

'An application can be mashup-friendly or it can be secure, but it cannot be both,' the researchers wrote.

Although functionality still often trumps security, software development is becoming more security-conscious. And the process is changing in large part because of public demand, Chess said.

'The public is catching on' because of the high visibility of identity theft and electronic voting concerns, he said. 'People are increasingly intolerant of somebody just saying 'oops'' in the wake of a security failure, he added.

'In the federal space, it is coming on a little slowly,' Chess said. And the government is a major software developer. 'One of the things I am amazed at is the number of people there writing software.'

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.