Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C91318FC8 for ; Tue, 12 Jan 2016 08:07:41 +0000 (UTC) Received: (qmail 10063 invoked by uid 500); 12 Jan 2016 08:07:40 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 9928 invoked by uid 500); 12 Jan 2016 08:07:40 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 9819 invoked by uid 99); 12 Jan 2016 08:07:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2016 08:07:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 761972C1F57 for ; Tue, 12 Jan 2016 08:07:40 +0000 (UTC) Date: Tue, 12 Jan 2016 08:07:40 +0000 (UTC) From: "Emmanuel Bourg (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (COLLECTIONS-580) Arbitrary remote code execution with InvokerTransformer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COLLECTIONS-580?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Bourg updated COLLECTIONS-580: --------------------------------------- Comment: was deleted (was: =EF=BB=BF I am on vacation from Jan 4, 2016 to Jan 15 2016. I will have periodic e= mail access and will respond to your mails as soon as possible . thanks Abhijeet ) > Arbitrary remote code execution with InvokerTransformer > ------------------------------------------------------- > > Key: COLLECTIONS-580 > URL: https://issues.apache.org/jira/browse/COLLECTIONS-58= 0 > Project: Commons Collections > Issue Type: Bug > Affects Versions: 3.0, 4.0 > Reporter: Philippe Marschall > Fix For: 3.2.2, 4.1 > > Attachments: COLLECTIONS-580.patch > > > With {{InvokerTransformer}} serializable collections can be build that ex= ecute arbitrary Java code. {{sun.reflect.annotation.AnnotationInvocationHan= dler#readObject}} invokes {{#entrySet}} and {{#get}} on a deserialized coll= ection. If you have an endpoint that accepts serialized Java objects (JMX, = RMI, remote EJB, ...) you can combine the two to create arbitrary remote co= de execution vulnerability. > I don't know of a good fix short of removing {{InvokerTransformer}} or ma= king it not Serializable. Both probably break existing applications. > This is not my research, but has been discovered by other people. > https://github.com/frohoff/ysoserial > http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-j= enkins-opennms-and-your-application-have-in-common-this-vulnerability/ -- This message was sent by Atlassian JIRA (v6.3.4#6332)