July 05, 2008   Sign In |  About ebizQ |  Contact Us |  Join ebizQ Gold Club
App/Web Servers Syndicate This
Print this article    Email this article    Talk Back!    Write to Editor
Protecting Your Web Services Deployment
07/19/2004
By Andre Yee, CTO, NFR Security

It is widely acknowledged that security remains a key limiting factor in the broad adoption of Web services. In fact, I wrote about the challenge of Web services security in a prior ebizQ column. That article discussed trust issues between SOAP message consumers and producers, especially in a multi-point routing scenario. However, little has been written about the need to protect Web services deployments from hacker attacks.

ADVERTISEMENT
Our Popular Webinars
BPM for Financial Services
Roundtable Discussion: Open Source Market Update
Evolving Security Architectures and SOA for Better Business Collaboration
Getting Started with BPM
Roundtable Discussion: MDM's Role as a Critical Enabler for SOA
More Webinars

Yet, as Web services integration becomes integral to core business processes, protecting Web services from such attacks will become more and more necessary. In this brief article, I want to highlight a couple of ways your Web services infrastructure may be compromised by hackers and what you can do to protect against these attacks.

XML Content-based Attacks

XML content-based attacks employ the technique of embedding malicious content within the XML document. This approach uses XML as a means of transmitting malicious code to the target host, as shown in Figure 1 below. This is akin to the way viruses and worms can sometimes be transmitted as part of an e-mail attachment.

By embedding malicious code within an XML document, the hacker can compromise the system through a number of common attack methods such as buffer overflows, SQL injections and command tampering.

Denial-of-Service (DoS) Attacks on XML Processors/Parsers

DoS attacks targeting Web services will often focus on exploiting poorly written XML processors or parsers. One attack method exploits a poorly written XML processor by having it handle a legitimate but exceedingly large XML document. In some cases, the XML processor will ultimately exhaust host system resources while attempting to handle the document, leading to a host DoS scenario.

A second attack method commonly known as "coercive parsing" exploits XML's document model support for nesting. The idea is to provide a deeply nested or recursively nested XML document such that the XML parser will fail. In each of these cases, the assumption is that many XML processors or parsers are written without taking into account the need to calibrate an upper limit to processing parameters or resource consumption.

Mitigating the Threat

Armed with a basic awareness of how Web services architectures can be compromised, what can we actually mitigate against these and other threats? Here are three basic steps you can take to immediately protect your Web services deployment:

  • Keep Patches Current: Just as with any operating system service, applying the latest patches related to Web services will minimize exposure to known vulnerabilities. An example of how Web services vulnerabilities can potentially have a pervasive effect is a SOAP vulnerability discovered earlier this year in Oracle 9i application server. Failure to apply the appropriate patch offered by Oracle would leave your Oracle 9i application server vulnerable to a DoS attack.
  • Invest in the Right Security Tools: Network security devices are often inadequate for securing Web services. Providing Web services protection coverage requires that firewalls or intrusion prevention systems (IPS) have the following attributes: First, tools must be effective at monitoring port 80 traffic since SOAP over HTTP is still widely implemented. Second, they must be able to perform full application layer inspection including the inspection of payload. These tools must be "XML-aware" or be customized as such through a scripting language. Many "traditional" tools fall short here because they only perform rudimentary application layer inspection or cannot be customized to handle XML documents. Finally, it is preferable for security tools to be managed by a common security console in order to reduce the management overhead. Specialized XML firewalls include products from Vordel and Reactivity. Products from "traditional" vendors worthy of consideration include Netcontinuum, Teros and NFR Security.
  • Perform Regular Security Audits: Security auditing should be conducted on a regular basis, preferably by a third-party security consulting company. The security audit should include vulnerability assessment, penetration testing, load testing and if possible, code reviews of in-house custom code. Especially when a Web service integration facilitates cross-enterprise transactions with partners, the additional benefit of being "certified" by an external reviewer will mitigate business and legal concerns regarding the security of the system.
Page 1

More Top Stories
Federated Event Systems: The Event Web Gold Club Protected
What Microsoft Gains (and Faces) With Yahoo! Gold Club Protected
Progress Software Adds Web Services Management to Sonic With Actional Buy Gold Club Protected
Three New Trends in IT Governance Gold Club Protected
Web Services Distributed Management Passes Test Gold Club Protected
The Future: Where Web Services Meet Mobile Devices Gold Club Protected
More Top Stories
Related News
GT Software Announces Ivory Service Architect 4.0
Symplified Introduces On Demand Identity Management for Midmarket Enterprises
Cast Iron Systems Introduces Solution for Netsuite
More News
Subscribe to our Newsletters
ebizQ Weekly Gold Club Update
Live Webinar Updates
Updates from ebizQ Partners
ebizQ SOA Update
ebizQ BPM Update
ebizQ Security Update
ebizQ BI Update
ebizQ Open Source Software Update
Virtual Show Newsletter
ebizQ Web 2.0 and the Enterprise
Your E-mail Address:
Changing Tires on a Moving Car
Case studies and solutions for governing the continuous evolution of complex SOA systems

Date: Jul 15, 2008
Time: 12:00 PM ET
(16:00 GMT)

REGISTER TODAY!
Roundtable Discussion: MDM's Role as a Critical Enabler for SOA
Date: Jul 16, 2008
Time: 12:00 PM ET
(16:00 GMT)

REGISTER TODAY!
Archived Webinars | Upcoming Webinars
  SOA Research: Financial Justification
Find out what early adopters are thinking about SOA financial justification! Where do they see the costs and benefits? The most significant...Learn More
ebizQ also recommends
 Optimal Service-Parts Management: Part One
 The Geek Gap: Do Suits Care?
 Collaboration and Social Media <i>Taking Stock of Today's Experiences and Tomorrow's Opportunities</i>
 BPM Done Right
 Mitigate Risk with Security Assessments
More White Papers

Marketing Solutions | Feedback | About ebizQ | Unsubscribe | Privacy Policy | Site Map

Live Chat