Bug 995275 (CVE-2013-4221)

Summary: CVE-2013-4221 Restlet: remote code execution due to insecure XML deserialization
Product: [Other] Security Response Reporter: David Jorm <djorm>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: chazlett, mjc, weli
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=important,public=20130807,reported=20130808,source=internet,cvss2=6.8/AV:N/AC:M/Au:N/C:P/I:P/A:P,jboss/restlet=new
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-19 19:13:59 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1012733    
Bug Blocks: 994927, 996321, 1015403    

Description David Jorm 2013-08-08 19:27:05 EDT
Restlet applications which use ObjectRepresentation to map HTTP request data directly to an object will deserialize arbitrary user-provided XML using XMLDecoder. XMLDecoder will deserialize an attacker-provided definition of a class and execute its methods. A remote attacker could use this flaw to perform remote code execution in the context of the server running the Restlet application.
Comment 3 Chess Hazlett 2013-09-24 21:43:56 EDT

*** This bug has been marked as a duplicate of bug 1011726 ***
Comment 4 Chess Hazlett 2013-09-24 21:47:53 EDT
erroneously marked as duplicate.
Comment 5 David Jorm 2013-09-26 22:18:13 EDT
This flaw is resolved in restlet 2.1.4, by disabling the vulnerable use cases.
Comment 6 errata-xmlrpc 2013-10-07 13:19:00 EDT
This issue has been addressed in following products:

  Red Hat JBoss Fuse 6.0.0

Via RHSA-2013:1410 https://rhn.redhat.com/errata/RHSA-2013-1410.html
Comment 8 errata-xmlrpc 2013-12-19 17:50:44 EST
This issue has been addressed in following products:

  Fuse ESB Enterprise 7.1.0

Via RHSA-2013:1862 https://rhn.redhat.com/errata/RHSA-2013-1862.html