- Issued:
- 2015-11-30
- Updated:
- 2015-11-30
RHSA-2015:2524 - Security Advisory
Synopsis
Critical: Red Hat JBoss Operations Network 3.3.4 security update
Type/Severity
Security Advisory: Critical
Topic
An update for the Apache Commons Collections component that fixes one
security issue is now available from the Red Hat Customer Portal for Red
Hat JBoss Operations Network 3.3 update 4.
Red Hat Product Security has rated this update as having Critical security
impact. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available from the CVE link in the
References section.
Description
Apache Commons Collections is a library built upon Java JDK classes by
providing new interfaces, implementations and utilities.
It was found that the Apache commons-collections library permitted code
execution when deserializing 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
commons-collections library. (CVE-2015-7501)
Further information about this security flaw may be found at:
https://access.redhat.com/solutions/2045023
All users of JBoss Operations Network 3.3.4 as provided from the Red Hat
Customer Portal are advised to apply this security update.
Solution
The References section of this erratum contains a download link (you must
log in to download the update). This is a server patch that contains a
single fix and should not be mixed with other server patches. If you
already have a server patch, please contact Red Hat Global Support Services
for compatibility assessment.
You must shutdown the JBoss ON server prior to applying this patch.
This patch must be applied to each JBoss ON server in a high-availability
(HA) environment. You can apply the patch to each server individually so
that only one server is down at a time.
To install the patch:
1. Stop the JBoss ON server.
2. Backup and remove the following files:
<RHQ_SERVER_HOME>/jbossas/modules/system/layers/base/org/apache/commons/collections/main/commons-collections-3.2.1.redhat-3.jar <RHQ_SERVER_HOME>/jbossas/modules/system/layers/base/org/apache/commons/collections/main/module.xml
<RHQ_SERVER_HOME>/modules/org/rhq/server-startup/main/deployments/rhq.ear/rhq-portal.war/WEB-INF/lib/commons-collections-3.2.1.jar
<RHQ_SERVER_HOME>/modules/org/rhq/server-startup/main/deployments/rhq.ear/rhq-content_http.war/WEB-INF/lib/commons-collections-3.2.1.jar
<RHQ_SERVER_HOME>/modules/org/rhq/server-startup/main/deployments/rhq.ear/lib/commons-collections-3.2.1.jar
3. Extract the patch archive to the JBoss ON server's home directory.
For example:
unzip -od "${RHQ_SERVER_HOME}" /tmp/BZ1281514.zip
Be sure to replace any existing files if prompted.
4. Start the JBoss ON server.
Repeat the steps for any remaining JBoss ON servers in a HA environment.
To uninstall the patch:
1. Stop the JBoss ON server.
2. Remove the updated files:
<RHQ_SERVER_HOME>/jbossas/modules/system/layers/base/org/apache/commons/collections/main/commons-collections-3.2.1.redhat-3-bz-1281962.jar <RHQ_SERVER_HOME>/jbossas/modules/system/layers/base/org/apache/commons/collections/main/module.xml
<RHQ_SERVER_HOME>/modules/org/rhq/server-startup/main/deployments/rhq.ear/rhq-portal.war/WEB-INF/lib/commons-collections-3.2.1.redhat-3-bz-1281962.jar
<RHQ_SERVER_HOME>/modules/org/rhq/server-startup/main/deployments/rhq.ear/rhq-content_http.war/WEB-INF/lib/commons-collections-3.2.1.redhat-3-bz-1281962.jar
<RHQ_SERVER_HOME>/modules/org/rhq/server-startup/main/deployments/rhq.ear/lib/commons-collections-3.2.1.redhat-3-bz-1281962.jar
3. Restore the following files from the backup created prior to applying this patch:
<RHQ_SERVER_HOME>/jbossas/modules/system/layers/base/org/apache/commons/collections/main/commons-collections-3.2.1.redhat-3.jar <RHQ_SERVER_HOME>/jbossas/modules/system/layers/base/org/apache/commons/collections/main/module.xml
<RHQ_SERVER_HOME>/modules/org/rhq/server-startup/main/deployments/rhq.ear/rhq-portal.war/WEB-INF/lib/commons-collections-3.2.1.jar
<RHQ_SERVER_HOME>/modules/org/rhq/server-startup/main/deployments/rhq.ear/rhq-content_http.war/WEB-INF/lib/commons-collections-3.2.1.jar
<RHQ_SERVER_HOME>/modules/org/rhq/server-startup/main/deployments/rhq.ear/lib/commons-collections-3.2.1.jar
4. Start the JBoss ON server.
Repeat the steps for any remaining JBoss ON servers in a HA.
Affected Products
- Red Hat JBoss Middleware Text-Only Advisories for MIDDLEWARE 1 x86_64
Fixes
- BZ - 1279330 - CVE-2015-7501 apache-commons-collections: InvokerTransformer code execution during deserialisation
CVEs
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.