Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F0F510092 for ; Tue, 26 May 2015 20:54:30 +0000 (UTC) Received: (qmail 40912 invoked by uid 500); 26 May 2015 20:54:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 40861 invoked by uid 500); 26 May 2015 20:54:25 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 40849 invoked by uid 99); 26 May 2015 20:54:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 May 2015 20:54:24 +0000 Date: Tue, 26 May 2015 20:54:24 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13768) ZooKeeper znodes are bootstrapped with insecure ACLs in a secure configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-13768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14559850#comment-14559850 ] Andrew Purtell commented on HBASE-13768: ---------------------------------------- bq. Today we release this patch and we decide to not include backup-master and region-in-transition, so they are still world readable. next month we decide to restrict them to be non-client readable. what is the upgrade and auto-fix path Yeah, we should make a whitelist of world-readable znode paths. Then, enumerate znodes under the root at master startup, recursively make world readable only if appearing in the whitelist, or recursively make private if not. I think checking only the children of the root znode is sufficient for now. The code could be updated later if it needs to check down additional levels. > ZooKeeper znodes are bootstrapped with insecure ACLs in a secure configuration > ------------------------------------------------------------------------------ > > Key: HBASE-13768 > URL: https://issues.apache.org/jira/browse/HBASE-13768 > Project: HBase > Issue Type: Bug > Reporter: Andrew Purtell > Assignee: Enis Soztutar > Priority: Blocker > Fix For: 2.0.0, 0.98.13, 1.0.2, 1.2.0, 1.1.1, 0.98.12.1, 1.0.1.1, 1.1.0.1 > > Attachments: HBASE-13768_v1.patch, HBASE-13768_v2.patch > > > A logic error causes HBase in most secure configuration deployments to handle its coordination state in ZooKeeper via insecure ACLs. Anyone with remote unauthenticated network access to the ZooKeeper quorum, which by definition includes all HBase clients, can make use of this opening to violate the operational integrity of the system. For example, critical znodes can be deleted, causing outages. It is possible to introduce rogue replication endpoints. It is possible to direct the distributed log splitting facility to split arbitrary files in HDFS. -- This message was sent by Atlassian JIRA (v6.3.4#6332)