Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A5BDC200B33 for ; Tue, 14 Jun 2016 17:28:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A486A160A06; Tue, 14 Jun 2016 15:28:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ECA7C160A56 for ; Tue, 14 Jun 2016 17:28:02 +0200 (CEST) Received: (qmail 5036 invoked by uid 500); 14 Jun 2016 15:28:01 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 5009 invoked by uid 99); 14 Jun 2016 15:28:01 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2016 15:28:01 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9193E2C1F6D for ; Tue, 14 Jun 2016 15:28:01 +0000 (UTC) Date: Tue, 14 Jun 2016 15:28:01 +0000 (UTC) From: =?utf-8?Q?J=C3=A9r=C3=B4me_Mainaud_=28JIRA=29?= To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-11755) nodetool info should run with "readonly" jmx access MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 14 Jun 2016 15:28:03 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-11755?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] J=C3=A9r=C3=B4me Mainaud updated CASSANDRA-11755: --------------------------------------- Attachment: 11755-2.1.patch Added a patch based on cassandra-2.1. It needs to be challenged. > nodetool info should run with "readonly" jmx access > --------------------------------------------------- > > Key: CASSANDRA-11755 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1175= 5 > Project: Cassandra > Issue Type: Improvement > Components: Observability > Reporter: J=C3=A9r=C3=B4me Mainaud > Priority: Minor > Labels: security > Attachments: 11755-2.1.patch, nodetool-info-exception-when-readon= ly.txt > > > nodetool info crash when granted with readonly jmx access > In the example given in attachment, the jmxremote.access file gives reado= nly access to the cassandra jmx role. > When the role is granted to readwrite access, everything works. > The main reason is that node datacenter and rack info are fetched by an o= peration invocation instead of by an attribute read. The former one is not = allowed to the role with readonly access. > This is a security concern because nodetool info could be called by a mon= itoring agent (Nagios for instance) and enterprise policy often don't allow= these agents to connect to JMX with higher privileges than "readonly". -- This message was sent by Atlassian JIRA (v6.3.4#6332)