{ "id": "bundle--4e7f1b5c-1c92-42d6-a300-7d3ae232fb7b", "objects": [ { "created": "2014-06-23T00:00:00.000Z", "created_by_ref": "identity--e50ab59c-5c4f-4d40-bf6a-d58418d89bcd", "description": "This attack targets the WSDL interface made available by a web service. The attacker may scan the WSDL interface to reveal sensitive information about invocation patterns, underlying technology implementations and associated vulnerabilities. This type of probing is carried out to perform more serious attacks (e.g. parameter tampering, malicious content injection, command injection, etc.). WSDL files provide detailed information about the services ports and bindings available to consumers. For instance, the attacker can submit special characters or malicious content to the Web service and can cause a denial of service condition or illegal access to database records. In addition, the attacker may try to guess other private methods by using the information provided in the WSDL files.", "external_references": [ { "external_id": "CAPEC-95", "source_name": "capec", "url": "https://capec.mitre.org/data/definitions/95.html" }, { "external_id": "CWE-538", "source_name": "cwe", "url": "http://cwe.mitre.org/data/definitions/538.html" }, { "description": "Walid Negm, Anatomy of a Web Services Attack, 2004--03---01, ForumSystems", "external_id": "REF-554", "source_name": "reference_from_CAPEC", "url": "https://www.forumsys.com/wp-content/uploads/2014/01/Anatomy-of-a-Web-Services-Attack.pdf" }, { "description": "Frank Coyle, Seven Steps to XML Mastery, 2006--08---25", "external_id": "REF-555", "source_name": "reference_from_CAPEC", "url": "http://www.informit.com/articles/article.aspx?p=601349" } ], "id": "attack-pattern--165b75a3-3e50-492c-8f1a-af979dc5af12", "modified": "2021-10-21T00:00:00.000Z", "name": "WSDL Scanning", "object_marking_refs": [ "marking-definition--17d82bb2-eeeb-4898-bda5-3ddbcd2b799d" ], "spec_version": "2.1", "type": "attack-pattern", "x_capec_abstraction": "Detailed", "x_capec_child_of_refs": [ "attack-pattern--49132d37-44e8-458c-a06e-0e5b9ac9bbd6" ], "x_capec_consequences": { "Confidentiality": [ "Read Data" ] }, "x_capec_domains": [ "Software" ], "x_capec_example_instances": [ "A WSDL interface may expose a function vulnerable to SQL Injection.", "\n The Web Services Description Language (WSDL) allows a web service to advertise its capabilities by describing operations and parameters needed to access the service. As discussed in step 5 of this series, WSDL is often generated automatically, using utilities such as Java2WSDL, which takes a class or interface and builds a WSDL file in which interface methods are exposed as web services.\n Because WSDL generation often is automated, enterprising adversaries can use WSDL to gain insight into the both public and private services. For example, an organization converting legacy application functionality to a web services framework may inadvertently pass interfaces not intended for public consumption to a WSDL generation tool. The result will be SOAP interfaces that give access to private methods.\n Another, more subtle WSDL attack occurs when an enterprising attacker uses naming conventions to guess the names of unpublished methods that may be available on the server. For example, a service that offers a stock quote and trading service may publish query methods such as requestStockQuote in its WSDL. However, similar unpublished methods may be available on the server but not listed in the WSDL, such as executeStockQuote. A persistent adversary with time and a library of words and phrases can cycle thru common naming conventions (get, set, update, modify, and so on) to discover unpublished application programming interfaces that open doors into private data and functionality.\n Source : \"Seven Steps to XML Mastery, Step 7: Ensure XML Security\", Frank Coyle. See reference section.\n " ], "x_capec_execution_flow": "

Execution Flow

Explore

  1. Scan for WSDL Documents: The adversary scans for WSDL documents. The WDSL document written in XML is like a handbook on how to communicate with the web services provided by the target host. It provides an open view of the application (function details, purpose, functional break down, entry points, message types, etc.). This is very useful information for the adversary.

Experiment

  1. Analyze WSDL files: An adversary will analyze the WSDL files and try to find potential weaknesses by sending messages matching the pattern described in the WSDL file. The adversary could run through all of the operations with different message request patterns until a breach is identified.

Exploit

  1. Craft malicious content: Once an adversary finds a potential weakness, they can craft malicious content to be sent to the system. For instance the adversary may try to submit special characters and observe how the system reacts to an invalid request. The message sent by the adversary may not be XML validated and cause unexpected behavior.

", "x_capec_likelihood_of_attack": "High", "x_capec_prerequisites": [ "A client program connecting to a web service can read the WSDL to determine what functions are available on the server.", "The target host exposes vulnerable functions within its WSDL interface." ], "x_capec_skills_required": { "Low": "This attack can be as simple as reading WSDL and starting sending invalid request.", "Medium": "This attack can be used to perform more sophisticated attacks (SQL injection, etc.)" }, "x_capec_status": "Draft", "x_capec_typical_severity": "High", "x_capec_version": "3.9" } ], "type": "bundle" }