CAPEC-219
XML Routing Detour Attacks
An attacker subverts an intermediate system used to process XML content and forces the intermediate to modify and/or re-route the processing of the content. XML Routing Detour Attacks are Adversary in the Middle type attacks ( CAPEC-94 ). The attacker compromises or inserts an intermediate system in the processing of the XML message. For example, WS-Routing can be used to specify a series of nodes or intermediaries through which content is passed. If any of the intermediate nodes in this route are compromised by an attacker they could be used for a routing detour attack. From the compromised system the attacker is able to route the XML process to other nodes of their choice and modify the responses so that the normal chain of processing is unaware of the interception. This system can forward the message to an outside entity and hide the forwarding and processing from the legitimate processing systems by altering the header information.
Abstraction
Standard
Typical severity
Medium
Likelihood of attack
High
Understand the attack
What is this attack pattern?
Execution flow
How does the attack proceed, step by step?
Explore
Survey the target
Techniques used
- Use automated tool to record all instances to process XML requests or find exposed WSDL.
- Use tools to crawl WSDL
Experiment
Identify SOAP messages that have multiple state processing.
Techniques used
- Inspect the SOAP message routing head to see whether the XML processing has multiple stages or not.
Exploit
Launch an XML routing detour attack
Techniques used
- The attacker injects a bogus routing node (using a WS-Referral service) into the routing table of the XML header of the SOAP message
Requirements
What does the attack require?
Prerequisites
- The targeted system must have multiple stages processing of XML content.
Skills required
- Low: To inject a bogus node in the XML routing table
Resources required
- The attacker must be able to insert or compromise a system into the processing path for the transaction.
Impact
What does a successful attack lead to?
Affected scopes: Integrity
Affected scopes: Confidentiality
Affected scopes: Accountability, Authentication, Authorization, Non-Repudiation
Affected scopes: Access Control, Authorization
Defence
How is it prevented and mitigated?
Real world