Bug 1208181 (CVE-2015-0225) - CVE-2015-0225 Cassandra: remote code execution via unauthenticated JMX/RMI interface
Summary: CVE-2015-0225 Cassandra: remote code execution via unauthenticated JMX/RMI in...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: CVE-2015-0225
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1229978 1229981 1260632
Blocks: 1208184 1275503
TreeView+ depends on / blocked
 
Reported: 2015-04-01 15:01 UTC by Martin Prpič
Modified: 2019-12-13 14:49 UTC (History)
12 users (show)

Fixed In Version: Cassandra 2.0.14, Cassandra 2.1.4
Doc Type: Bug Fix
Doc Text:
It was found that Apache Cassandra bound an unauthenticated JMX/RMI interface to all network interfaces. A remote attacker able to access the RMI, an API for the transport and remote execution of serialized Java, could use this flaw to execute arbitrary code as the user running Cassandra.
Clone Of:
Environment:
Last Closed: 2015-11-04 22:21:58 UTC
Embargoed:


Attachments (Terms of Use)
Cassandra rebuild details if needed later. (245.62 KB, text/plain)
2015-11-12 16:54 UTC, Simeon Pinder
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1947 0 normal SHIPPED_LIVE Important: Red Hat JBoss Operations Network 3.3.4 update 2015-10-28 18:36:15 UTC

Description Martin Prpič 2015-04-01 15:01:02 UTC
It was found that Apache Cassandra bound an unauthenticated JMX/RMI interface to all network interfaces. A remote attacker able to access the RMI, an API for the transport and remote execution of serialized Java, could use this flaw to execute arbitrary code as the user running Cassandra.

This issue is fixed in versions 2.0.14 and 2.1.4 of Cassandra. The 1.2.x version of Cassandra no longer receives updates.

This issue can be mitigated by manually configuring encryption and authentication for JMX as documented at https://wiki.apache.org/cassandra/JmxSecurity .

Upstream announcement:

http://seclists.org/oss-sec/2015/q2/5

Comment 1 Jason Shepherd 2015-06-10 03:19:21 UTC
We have reproduced this issue on JON 3.3

Comment 26 John Sanda 2015-08-23 21:02:45 UTC
I have made the changes to cassandra-jvm.properties and also to cassandra.bat.

https://github.com/jsanda/rhq/commit/f62c598fd80c7e39f1a2885d689add31d7267f8f

Once we have the new Cassandra artifacts published, I will merge the RHQ changes into master and then into the release/jon3.3.x branch.

Comment 36 John Sanda 2015-09-08 13:41:20 UTC
The following commits have been pushed to the release/jon3.3.x branch,

371b7bb9
2a9690e5
29c63808
d78f5f94
3f8ce8fa
8d139b1a
84350375
e8806bc0

Comment 37 Jason Shepherd 2015-10-14 01:43:03 UTC
We aim to fix this issue in the next version of JON, 3.3.4. In the meantime there is mitigation advise found here:

   https://access.redhat.com/node/1543983/

Comment 40 errata-xmlrpc 2015-10-28 14:36:28 UTC
This issue has been addressed in the following products:



Via RHSA-2015:1947 https://rhn.redhat.com/errata/RHSA-2015-1947.html

Comment 41 Simeon Pinder 2015-11-12 16:54:00 UTC
Created attachment 1093412 [details]
Cassandra rebuild details if needed later.

Beaker details:
                      HOSTNAME=kvm-guest-02.rhts.eng.bos.redhat.com
                            JOBID=1061651
                         RECIPEID=2169550
                    RESULT_SERVER=127.0.0.1:7088
                           DISTRO=RHEL-6.7-20150710.n.0
                     ARCHITECTURE=x86_64


Note You need to log in before you can comment on or make changes to this bug.