NIST guide to secure Web services

* NIST publication discusses security for Web services

As I mentioned in previous columns, there’s a new set of draft documents from the Computer Security Resource Center (CSRC) of the U.S. National Institute of Standards and Technology (NIST). SP 800-95, “Guide to Secure Web Services” provides detailed information on standards for Web services security.

The document explains the security features of XML, Simple Object Access Protocol (SOAP), the Universal Description, Discovery and Integration (UDDI) protocol, and other open standards related to Web services. It also provides recommendations to ensure the security of Web services-based applications.

The 140-page document was written by Anoop Singhal and Theodore Winograd. It has the following structure:

1. Introduction

2. Background to Web Services and Their Relationship to Security

3. Web Service Security Functions and Related Technologies

4. Human User’s Entry Point into the SOA: Web Portals

5. Secure Web Service-Enabling of Legacy Applications

6. Secure Implementation Tools and Technologies

The authors point out that designers and managers of Web servers face particularly difficult security problems:

“Many of the features that make Web services attractive, including greater accessibility of data, dynamic application-to-application connections, and relative autonomy (lack of human intervention) are at odds with traditional security models and controls.”

Problems include protecting confidentiality and data integrity and the constant threat to availability caused by the universal access inherent in the World Wide Web. The authors argue that simple “Perimeter-based network security technologies (e.g., firewalls, intrusion detection) are inadequate to protect SOAs [Service Oriented Architectures]” because “SOAs are dynamic, and can seldom be fully constrained to the physical boundaries of a single network.” In addition, “SOAP… is transmitted over HTTP, which is allowed to flow without restriction through most firewalls. Moreover, TLS [Transport Layer Security], which is used to authenticate and encrypt Web-based messages, is unsuitable for protecting SOAP messages because it is designed to operate between two endpoints. TLS cannot accommodate Web services' inherent ability to forward messages to multiple other Web services simultaneously.”

Highlights of the recommendations include:

1. Replicate data and services to improve availability.

2. Use logging of transactions to improve accountability.

3. Use secure software design and development techniques to prevent vulnerabilities.

4. Use performance analysis and simulation techniques for end-to-end quality of service and quality of protection.

5. Digitally sign UDDI entries to verify the author of registered entries.

Appendix A consists of four scenarios in 13 pages that illustrate the principles and recommendations presented in the body of the guide:

1. Financial Institution Developing a Web Service

2. Healthcare Emergency Responders Orchestration of Web Services on Different Platforms

3. Web Services Enabling of Legacy Civil Agency System

4. Using Web Services Security Appliances to “Security Enable” Insecure Web Services

Appendix B is a summary of common attacks against Web servers (15 pages). Appendix C is a one-page summary of the ebXML standard (Electronic Business using Extensible Markup Language). Appendix D is a good glossary of useful terms for discussions of Web security (nine pages) and Appendix E lists three pages of appropriate acronyms. Finally, Appendices F and G provide a total of 10 pages of pointers to useful print and online resources for improving Web security.

If readers have comments for improvement of the documents, they can submit them by Oct. 30, 2006.

Learn more about this topic

Join the Network World communities on Facebook and LinkedIn to comment on topics that are top of mind.

Copyright © 2006 IDG Communications, Inc.

SD-WAN buyers guide: Key questions to ask vendors (and yourself)