Bug 1310647 (CVE-2016-2510)

Summary: CVE-2016-2510 bsh2: remote code execution via deserialization
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: aileenc, alazarot, asantos, aszczucz, brms-jira, carnil, chazlett, dandread, dgutierr, etirelli, fnasser, gvarsami, huwang, janstey, jbpapp-maint, jcoleman, jochrist, jolee, jshepherd, kconner, ldimaggi, lgao, lpetrovi, manstis, mbaluch, mbiarnes, miburman, mwinkler, myarboro, nwallace, rrajasek, rwagner, rzhang, slong, smcgowan, soa-p-jira, spinder, tcunning, theute, tkirby, twalsh, vhalbert
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
See Also: https://issues.redhat.com/browse/ENTESB-10591
https://issues.redhat.com/browse/ENTESB-5380
Whiteboard:
Fixed In Version: bsh2 2.0b6 Doc Type: Bug Fix
Doc Text:
A deserialization flaw allowing remote code execution was found in the BeanShell library. If BeanShell was on the classpath, it could permit code execution if another part of the application deserialized objects involving a specially constructed chain of classes. A remote attacker could use this flaw to execute arbitrary code with the permissions of the application using the BeanShell library.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:48:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1310940, 1310946, 1312170, 1312171, 1312172, 1312173, 1312174, 1312175, 1312176, 1312177, 1329398, 1329400, 1329401, 1329402    
Bug Blocks: 1310650, 1335310, 1340536, 1379523, 1381801, 1385169    

Description Andrej Nemec 2016-02-22 12:25:56 UTC
An application that includes BeanShell on the classpath may be vulnerable if another part of the application uses Java serialization or XStream to deserialize data from an untrusted source.

A vulnerable application could be exploited for remote code execution, including executing arbitrary shell commands.

External references:

https://github.com/beanshell/beanshell/releases/tag/2.0b6

Upstream patches:

https://github.com/beanshell/beanshell/commit/7c68fde2d6fc65e362f20863d868c112a90a9b49

https://github.com/beanshell/beanshell/commit/1ccc66bb693d4e46a34a904db8eeff07808d2ced

Comment 6 errata-xmlrpc 2016-03-30 18:16:20 UTC
This issue has been addressed in the following products:

  Red Hat JBoss BPM Suite 6.2.2

Via RHSA-2016:0539 https://rhn.redhat.com/errata/RHSA-2016-0539.html

Comment 7 errata-xmlrpc 2016-03-30 18:34:43 UTC
This issue has been addressed in the following products:

  Red Hat JBoss BRMS 6.2.2

Via RHSA-2016:0540 https://rhn.redhat.com/errata/RHSA-2016-0540.html

Comment 11 errata-xmlrpc 2016-05-26 19:25:50 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Data Virtualization security and bug fix update

Via RHSA-2016:1135 https://access.redhat.com/errata/RHSA-2016:1135

Comment 12 errata-xmlrpc 2016-06-30 21:08:17 UTC
This issue has been addressed in the following products:

  Red Hat JBoss SOA Platform 5.3.1

Via RHSA-2016:1376 https://access.redhat.com/errata/RHSA-2016:1376

Comment 15 errata-xmlrpc 2016-10-06 16:20:02 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Fuse 6.3

Via RHSA-2016:2035 https://rhn.redhat.com/errata/RHSA-2016-2035.html

Comment 17 errata-xmlrpc 2019-06-18 19:52:29 UTC
This issue has been addressed in the following products:

  Red Hat Fuse 7.3.1

Via RHSA-2019:1545 https://access.redhat.com/errata/RHSA-2019:1545