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.
Description
Attack Execution Flow
Step 1
Explore[Survey the target] Using command line or an automated tool, an attacker records all instances of web services to process XML requests.
Use automated tool to record all instances to process XML requests or find exposed WSDL.
Use tools to crawl WSDL
[Esamina il target] Utilizzando la riga di comando o uno strumento automatizzato, un attaccante registra tutte le istanze di servizi web per elaborare richieste XML.
Utilizza strumenti automatizzati per registrare tutte le istanze che elaborano richieste XML o trovare WSDL esposti.
Usa strumenti per eseguire il crawling del WSDL
Attack Techniques
-
Use automated tool to record all instances to process XML requests or find exposed WSDL.
-
Use tools to crawl WSDLIT: Utilizzare uno strumento automatizzato per registrare tutte le istanze di elaborazione delle richieste XML o individuare WSDL esposti.
Step 2
Experiment[Identify SOAP messages that have multiple state processing.] Inspect instance to see whether the XML processing has multiple stages or not.
Inspect the SOAP message routing head to see whether the XML processing has multiple stages or not.
Sperimenta
[Identifica i messaggi SOAP che hanno un'elaborazione dello stato multipla.] Ispeziona l'istanza per verificare se l'elaborazione XML prevede più fasi o meno.
Ispeziona l'intestazione di routing del messaggio SOAP per verificare se l'elaborazione XML prevede più fasi o meno.
Attack Techniques
-
Inspect the SOAP message routing head to see whether the XML processing has multiple stages or not.
Step 3
Exploit[Launch an XML routing detour attack] The attacker injects a bogus routing node (using a WS-Referral service) into the routing table of the XML header of the SOAP message identified in the Explore phase. Thus, the attacker can route the XML message to the attacker controlled node (and access the message contents).
The attacker injects a bogus routing node (using a WS-Referral service) into the routing table of the XML header of the SOAP message
[Lanciare un attacco di deviazione del routing XML] L'attaccante inserisce un nodo di routing fasullo (utilizzando un servizio WS-Referral) nella tabella di routing dell'intestazione XML del messaggio SOAP identificato nella fase di Esplorazione. In questo modo, l'attaccante può instradare il messaggio XML verso il nodo controllato dall'attaccante (e accedere ai contenuti del messaggio).
L'attaccante inserisce un nodo di routing fasullo (utilizzando un servizio WS-Referral) nella tabella di routing dell'intestazione XML del messaggio SOAP
Attack Techniques
-
The attacker injects a bogus routing node (using a WS-Referral service) into the routing table of the XML header of the SOAP message