CVE-2015-5254
Public on
Last Modified:
Description
It was found that use of a JMS ObjectMessage does not safely handle user supplied data when deserializing objects. A remote attacker could use this flaw to execute arbitrary code with the permissions of the application using a JMS ObjectMessage.
Statement
A malicious message producer needs to authenticate to EAP in order to send messages. Also, the use of JMS ObjectMessage needs to be chosen by the developer of the application. Therefore this issue is rated as moderate.
Mitigation
If you do deploy a JMS publisher, and subscriber, and don't trust the messages sent to you by your clients, you could mitigate this issue by installing a Java agent which restricts the classes which can be deserialized. This is an article with the recommended approach:
https://access.redhat.com/solutions/2190911
You could also mitigate this issue using the features of the Java Virtual Machine added in JEP 290:
This content is not included.http://openjdk.java.net/jeps/290
Additional Information
- This content is not included.Bugzilla 1291292: ObjectMessage: unsafe deserialization
- Content from cwe.mitre.org is not included.CWE-502: Deserialization of Untrusted Data
- FAQ: Frequently asked questions about CVE-2015-5254
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2015-5254
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2015-5254
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Red Hat JBoss A-MQ 6 | activemq | Affected | |
| Red Hat JBoss A-MQ 6.3 | Fixed | RHSA-2016:2036 | |
| Red Hat JBoss Enterprise Application Platform 6 | hornetq | Will not fix | |
| Red Hat JBoss Enterprise Application Platform 7 | artemis | Will not fix | |
| Red Hat JBoss Fuse 6 | activemq | Affected | |
| Red Hat JBoss Fuse 6.3 | Fixed | RHSA-2016:2035 | |
| Red Hat JBoss Fuse Service Works 6.0 | activemq | Affected | |
| Red Hat OpenShift Enterprise 2.2 | activemq | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | jenkins | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | openshift-enterprise-upgrade | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | openshift-origin-broker-util | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | openshift-origin-cartridge-cron | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | openshift-origin-cartridge-haproxy | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | openshift-origin-cartridge-mysql | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | openshift-origin-cartridge-php | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | openshift-origin-cartridge-python | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | openshift-origin-msg-node-mcollective | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | openshift-origin-node-proxy | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | openshift-origin-node-util | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | php | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | rhc | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | rubygem-openshift-origin-common | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | rubygem-openshift-origin-console | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | rubygem-openshift-origin-controller | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | rubygem-openshift-origin-frontend-apache-vhost | Fixed | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 2.2 | rubygem-openshift-origin-node | Fixed | RHSA-2016:0489 |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v2 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v2 Base Score | 6 | 7.5 |
| Attack Vector | Network | Network |
| Access Complexity | Medium | Low |
| Authentication | Single | None |
| Confidentiality Impact | Partial | Partial |
| Integrity Impact | Partial | Partial |
| Availability Impact | Partial | Partial |
CVSS v2 Vector
Red Hat AV:N/AC:M/Au:S/C:P/I:P/A:P
NVD AV:N/AC:L/Au:N/C:P/I:P/A:P
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
Not sure what something means? Check out our Security Glossary.