Home > Ask the Software Quality Experts > Application Security Questions & Answers > Why are Web services more vulnerable than Web apps?
Ask The Software Quality Expert: Questions & Answers
EMAIL THIS

Why are Web services more vulnerable than Web apps?

Rami Jaamour EXPERT RESPONSE FROM: Rami Jaamour

Pose a Question
Other Software Quality Categories
Meet all Software Quality Experts
Become an Expert for this site


Software quality news and advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 21 February 2006
Why are Web services potentially more vulnerable to security problems compared to traditional Web applications?

>
EXPERT RESPONSE
A Web service is a software application that makes certain functionality available for consumption by other applications. Unlike a Web site that allows a human to interact with an application remotely via a Web browser; a Web service is used to allow other applications to interact with it. W3C is the consortium that governs the core Web services standards such as XML, XML Schema, WSDL, SOAP, etc. OASIS is another organization that governs standards that complement the core W3C standards to address e-business concerns such as security and reliability, e.g. WS-Security.

The standards from those two organizations mostly deal with Web service message or description formats, which leaves Web services agnostic to the transport they use. In other words, SOAP messages can be transferred along different transport mechanisms such as HTTP and JMS. This property, combined with the open standards, vendor-neutral nature of Web services, makes Web services particularly attractive for integration and service-oriented architecture (SOA) initiatives internally and externally.

However, Web services, if not secured properly, can pose security threats that may extend beyond those of traditional Web applications. These weaknesses result from some Web services' greatest strengths:

  1. Web services are often deployed over HTTP, port 80. This allows the service provider and consumers to communicate across network boundaries without needing to poke special holes in corporate firewalls. Although that makes them easier to access, this practice relieves Web service traffic (usually SOAP XML messages) from the scrutiny of firewalls and network appliances, especially since most such appliances are often not aware of the Web services traffic disguised under HTTP.


  2. Typically, a Web service that is useful and reusable exposes the internal workings of the application much more than a traditional Web site or a point-to-point integration mechanism such as CORBA or RMI would. Such internal API exposure opens up more doors on denial of service, broken access control or other application-specific attacks. In a Web site, the business flow logic is usually constrained by the Web interface that exposes the functionality to the user, but in a Web service the message interaction scenarios are left to the consumers.


  3. Web services application security:
    The importance of WS-Security

    XML security: Preventing XML bombs

    Understanding XPath injection
  4. Although core Web services technologies have reached a certain level of maturity, they are still relatively new. As with most new technologies, history shows that security issues are often overlooked early in the game. There are several Web services-specific vulnerabilities and concerns that need to be taken into consideration such as XML Bombs and XPath injections. Developers need to be aware of those threats in order to protect against them properly.

These factors do not mean that Web services are insecure or that you should not adopt them, but you should be aware of these issues so the risks can be mitigated. Web services security awareness, combined with proper design, development and testing practices, can certainly provide secure Web services.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Application Security
PCI DSS compliance: WAF, code review or both?
Application security careers have bright future
How to prevent anti-DNS pinning attacks
Open source application security testing tools
Java application security features and measures
Web application security testing basics
Password recovery with .NET 2.O using C#
Free load and performance testing tools
The most effective time to do security testing
Finding backdoor threats within applications

Software security testing and techniques
How to learn white box testing
Security vulnerabilities found in open source Java projects
Fuzzing for Software Security Testing and Quality Assurance: Chapter 3, Testing for Quality
Ajax security -- Is anyone listening?
Critical security issues found in the Spring Framework
Web application security and the PCI DSS
PCI DSS compliance: Web application firewalls (WAFs)
PCI DSS compliance: Code review
PCI DSS compliance: The basics
PCI DSS compliance: WAF, code review or both?

Web services security
Web security: Web services an overlooked entry point for attacks
XML security: Preventing XML bombs
Ajax's effect on Web services security

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2006 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts