<div dir="ltr"><div><div>See <a href="https://access.redhat.com/solutions/2045023">https://access.redhat.com/solutions/2045023</a><br></div><a href="https://access.redhat.com/security/cve/CVE-2012-0874">https://access.redhat.com/security/cve/CVE-2012-0874</a><br><br></div>for best explanation.<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 10, 2015 at 9:29 AM, Emond Papegaaij <span dir="ltr">&lt;<a href="mailto:emond.papegaaij@topicus.nl" target="_blank">emond.papegaaij@topicus.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
As you probably know, there has recently been quite some discussion about<br>
remotely exploitable attacks via deserialization, for instance [1] and [2].<br>
These exploits are demonstrated against commons-collections 3 and 4, spring 4<br>
and groovy 2.4.4, but it is very likely other libraries (if not the jdk<br>
itself) also contain vulnerable code. In general, the advise is to not accept<br>
any serialized objects on a public interface.<br>
<br>
WildFly multiplexes its remote EJB invocation over the http port via http-<br>
remoting. I&#39;ve found a way to make a WilfFly instance, configured with the<br>
default standalone.xml, accept arbitrary serialized objects. Access to port<br>
8080 is all you need. I&#39;ve been able to verify the commons-collections exploit<br>
by adding commons-collections to the right module and let WildFly deserialize<br>
my objects. So far, I&#39;ve not been able to exploit WildFly using only the<br>
classes available via this route, but I&#39;ve got the feeling that this is only a<br>
matter of time.<br>
<br>
As this is potentially sensitive information, I&#39;m looking for a less public<br>
channel to share the details.<br>
<br>
Best regards,<br>
Emond Papegaaij<br>
<br>
<br>
[1] <a href="http://www.infoq.com/news/2015/11/commons-exploit" rel="noreferrer" target="_blank">http://www.infoq.com/news/2015/11/commons-exploit</a><br>
[2] <a href="http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability" rel="noreferrer" target="_blank">http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability</a><br>
<br>
_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
</blockquote></div><br></div>