Detail CAPEC-219

CAPEC-219

XML Routing Detour Attacks
2014-06-23
00h00 +00:00
Tinggi
Sedang
Draft
2022-09-29
00h00 +00:00
Peringatan untuk CAPEC tertentu
Tetap terinformasi tentang perubahan untuk CAPEC tertentu.
Kelola notifikasi

Deskripsi CAPEC

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.

Informasi CAPEC

Alur Eksekusi

1) Explore

[Survey the target] Using command line or an automated tool, an attacker records all instances of web services to process XML requests.

Teknik
  • Use automated tool to record all instances to process XML requests or find exposed WSDL.
  • Use tools to crawl WSDL
2) Experiment

[Identify SOAP messages that have multiple state processing.] Inspect instance to see whether the XML processing has multiple stages or not.

Teknik
  • Inspect the SOAP message routing head to see whether the XML processing has multiple stages or not.
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).

Teknik
  • The attacker injects a bogus routing node (using a WS-Referral service) into the routing table of the XML header of the SOAP message

Prasyarat

The targeted system must have multiple stages processing of XML content.

Keahlian yang Diperlukan

To inject a bogus node in the XML routing table

Sumber Daya yang Diperlukan

The attacker must be able to insert or compromise a system into the processing path for the transaction.

Mitigasi

Design: Specify maximum number intermediate nodes for the request and require SSL connections with mutual authentication.
Implementation: Use SSL for connections between all parties with mutual authentication.

Kelemahan Terkait

CWE-ID Nama Kelemahan

CWE-441

Unintended Proxy or Intermediary
The product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere.

CWE-610

Externally Controlled Reference to a Resource in Another Sphere
The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.

Referensi

REF-80

WASC Threat Classification 2.0
http://projects.webappsec.org/w/page/13246956/Routing-Detour

REF-81

Threat Protection in a Service Oriented World
Andre Yee.
http://www.unatekconference.com/images/pdfs/presentations/Yee.pdf

REF-65

Attacking & Defending Web Services
Pete Lindstrom.
http://www.webtorials.com/main/comnet/cn2003/web-service/24.pdf

Pengajuan

Nama Organisasi Tanggal Tanggal rilis
CAPEC Content Team The MITRE Corporation 2014-06-23 +00:00

Modifikasi

Nama Organisasi Tanggal Komentar
CAPEC Content Team The MITRE Corporation 2017-08-04 +00:00 Updated Related_Attack_Patterns
CAPEC Content Team The MITRE Corporation 2020-07-30 +00:00 Updated Description, Example_Instances
CAPEC Content Team The MITRE Corporation 2020-12-17 +00:00 Updated Taxonomy_Mappings
CAPEC Content Team The MITRE Corporation 2021-06-24 +00:00 Updated Description, Example_Instances
CAPEC Content Team The MITRE Corporation 2022-09-29 +00:00 Updated Example_Instances