cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérôme Mainaud (JIRA) <>
Subject [jira] [Updated] (CASSANDRA-11755) nodetool info should run with "readonly" jmx access
Date Tue, 14 Jun 2016 15:28:01 GMT


Jérôme 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:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Observability
>            Reporter: Jérôme Mainaud
>            Priority: Minor
>              Labels: security
>         Attachments: 11755-2.1.patch, nodetool-info-exception-when-readonly.txt
> nodetool info crash when granted with readonly jmx access
> In the example given in attachment, the jmxremote.access file gives readonly 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 operation 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 monitoring 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

View raw message