An XML-based approach to combine firewalls and web services security specifications

Marco Cremonini, Sabrina De Capitani di Vimercati, Ernesto Damiani, Pierangela SamaratiXml Security 2003 · DOI

TL;DR

This paper argues that current Web Services Architecture (WSA) security models are insufficient, particularly regarding network security and firewall integration. The authors propose an integrated approach combining service-oriented security with network security, advocating for "semantics-aware" firewalls that understand SOAP messages to better protect the entire Web service ecosystem.

What Problem Does This Paper Address?

The Web Services Architecture (WSA) promises enhanced interoperability and richer functionality by enabling services to interact seamlessly. However, despite advancements in securing individual web services (e.g., through WS-Security), a significant gap exists in how network-level security, particularly firewalls, integrates with this architecture. The authors highlight a "clash of two opposite visions": the service-oriented security model focuses on securing messages between endpoints and regulating service access, while network security emphasizes protecting the underlying infrastructure. This disconnect leads to underestimation of risks, especially concerning how firewalls, traditionally designed for simpler network protocols, struggle to handle the complex, XML-based, and often tunneled nature of Web service communications. The paper aims to bridge this gap by proposing a unified security model.

Methods

The core of the paper's contribution lies in proposing an integrated model that combines Service-Oriented Security (SOS) and Network Security. This integration is achieved by extending the authorization rule structure to include elements that can reference both service-level features (like SOAP headers) and network-level information (like IP addresses).

Key methodological aspects include:

  • Semantics-Aware Firewalls: The authors advocate for firewalls that go beyond simple port and IP filtering. These "semantics-aware" firewalls can inspect the content of SOAP messages, understand their structure (XML, SOAP headers), and correlate information across different layers (IP, TCP, HTTP, SOAP).
  • Extended Authorization Rules: Building on existing work (specifically [10]), they propose an authorization rule structure with subject, object, condition, and sign fields. Crucially, the subject and object can be defined using generic path expressions within the SOAP message or by referencing custom XML elements. The condition field is extended to incorporate network-based restrictions, enabling rules that consider IP addresses, frequency of requests, and other network-level attributes.
  • Analysis of Stateful SOAP Protocols: The paper delves into the security implications of stateful SOAP protocols, such as those for reliable messaging (WS-ReliableMessaging, WS-Reliability). They analyze both synchronous and asynchronous acknowledgment mechanisms, highlighting the increased risks posed by asynchronous protocols due to their weaker binding with HTTP and the need for service requesters to also act as servers.

Datasets

Not discussed in the paper. The paper focuses on a conceptual model and analysis rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • The "Clash" is Real: The paper effectively articulates why traditional network security approaches (like firewalls) and the emerging Web service security paradigms don't naturally align, leading to security blind spots.
  • Firewalls Need to Understand SOAP: The central idea is that for effective perimeter security in a Web service world, firewalls must evolve to understand the semantics of SOAP messages, not just the underlying network packets.
  • Asynchronous SOAP is a Major Risk: The analysis of asynchronous SOAP acknowledgments reveals a significant security vulnerability. The need for requesters to run HTTP servers, combined with the flexibility of asynchronous communication, can leave systems exposed to unfiltered network traffic and traditional web application attacks.
  • Integrated Authorization is Key: A unified authorization framework that can enforce policies based on both service-level attributes (e.g., message content, sender identity within SOAP) and network-level attributes (e.g., source IP, network topology) is essential for comprehensive security.
  • Beyond Simple Access Control: The paper emphasizes that securing Web services requires more than just access control to individual services. It necessitates protecting the entire infrastructure, including network perimeters and hosting environments.

Key Results

The paper doesn't present quantitative results from experiments but rather offers a conceptual framework and analysis. The key "results" are:

  • A proposed integrated security model for Web services that combines service-oriented and network security.
  • Demonstration of how semantics-aware firewalls can enforce more granular and effective security policies by inspecting SOAP message content and headers.
  • Identification of significant security risks associated with asynchronous SOAP protocols, particularly for service requesters.
  • Examples of specific authorization rules that leverage both service and network attributes to mitigate threats like denial-of-service and spoofing.

Limitations and Future Work

  • Preliminary Stage: The authors acknowledge that the debate on integrating these security visions is still in its preliminary stage.
  • Implementation: While the paper proposes a model and discusses enforcement mechanisms, it notes that the implementation of a prototype semantics-aware firewall is "currently on-going."
  • Exploration of Protocols: The paper highlights that security issues related to stateful SOAP protocols and correlations between authorization attributes across different layers are "still largely unexplored."
  • Future Work: The authors plan to continue their analysis of various protocols, explore correlations among authorization attributes from different layers, and implement a prototype semantics-aware firewall. They also mention that emerging standards like XACML could be used for their proposed authorization framework.

Summary updated

BibTeX
@inproceedings{cremonini2003xml,
  author = {Marco Cremonini and Sabrina De Capitani di Vimercati and Ernesto Damiani and Pierangela Samarati},
  title = {{An XML-based approach to combine firewalls and web services security specifications}},
  booktitle = {Xml Security},
  year = {2003},
  doi = {10.1145/968559.968571},
}
Figure