-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2015.1384
     CVE-2015-1836: Apache HBase remote denial of service, information
            integrity, and information disclosure vulnerability
                                26 May 2015

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Apache HBase
Publisher:         The Apache Software Foundation
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Access Privileged Data -- Existing Account      
                   Modify Arbitrary Files -- Existing Account      
                   Denial of Service      -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2015-1836  

Original Bulletin: 
   http://mail-archives.us.apache.org/mod_mbox/www-announce/201505.mbox/%3CCA+RK=_CFiTfQ2d0V+kuJx_y5izmYccaKjXaJ3V72KK7tbOhbkg@mail.gmail.com%3E

- --------------------------BEGIN INCLUDED TEXT--------------------

CVE-2015-1836: Apache HBase remote denial of service, information
integrity, and information disclosure vulnerability.

Severity: Important

Vendor: The Apache Software Foundation

Versions Affected:

HBase 0.98.0 - 0.98.12
HBase 1.0.0 - 1.0.1
HBase 1.1.0

The unsupported HBase 0.96 versions are also affected.

Description:

A logic error caused 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
degrade or completely stop availability. Any user with the authentication
credentials needed to connect to the HBase cluster as a normal user can, in
some configurations, read newly written HBase data that they are not
authorized to see. We believe it is possible for any user with
authentication credentials for the underlying HDFS cluster to write
arbitrary HBase data. Work to confirm this last attack vector is ongoing
and this announcement will be updated when we have more information.


Mitigation:

HBase users should update to the latest hotfix release of their respective
version (e.g. 0.98.12.1, 1.0.1.1, 1.1.0.1) to ensure newly written
coordination information has the correct ACLs. Any of these hotfix upgrades
can be done via a zero downtime rolling upgrade[1]. Because this logic bug
can mask some configuration errors, users are encouraged to verify their
deployments prior to starting the upgrade process[2].

Once on an appropriate version, users *must* run through the following
sequence of ZooKeeper commands via the ZooKeeper cli as the hbase service
account. For more information on using the ZooKeeper cli in a secure set
up, refer to the ZooKeeper documentation[3].

    setAcl /hbase world:anyone:r,sasl:hbase:cdrwa
    setAcl /hbase/backup-masters sasl:hbase:cdrwa
    setAcl /hbase/draining sasl:hbase:cdrwa
    setAcl /hbase/flush-table-proc sasl:hbase:cdrwa
    setAcl /hbase/hbaseid world:anyone:r,sasl:hbase:cdrwa
    setAcl /hbase/master world:anyone:r,sasl:hbase:cdrwa
    setAcl /hbase/meta-region-server world:anyone:r,sasl:hbase:cdrwa
    setAcl /hbase/namespace sasl:hbase:cdrwa
    setAcl /hbase/online-snapshot sasl:hbase:cdrwa
    setAcl /hbase/region-in-transition sasl:hbase:cdrwa
    setAcl /hbase/recovering-regions sasl:hbase:cdrwa
    setAcl /hbase/replication sasl:hbase:cdrwa
    setAcl /hbase/rs sasl:hbase:cdrwa
    setAcl /hbase/running sasl:hbase:cdrwa
    setAcl /hbase/splitWAL sasl:hbase:cdrwa
    setAcl /hbase/table sasl:hbase:cdrwa
    setAcl /hbase/table-lock sasl:hbase:cdrwa
    setAcl /hbase/tokenauth sasl:hbase:cdrwa


Credit:

This issue was discovered by Paul Codding and Enis S=C3=B6ztutar.


References:

1: http://hbase.apache.org/book.html#hbase.rolling.upgrade
2: http://hbase.apache.org/book.html#_external_zookeeper_configuration
3: http://s.apache.org/Rgo

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBVWOwdBLndAQH1ShLAQLnew//VQ7fbSitq9fisljnK1+wjCpRA7QDfAhv
h+F2O1gzmM166h9YFhTabZudCa0dT9/wMWjvWGDP+7YrVpkClgVXaQ7YbkXS5Qfz
4wzW0Z+c7U59rSZfiCng5kK2LL9ZFzFJnpsXvzB3ZYPWgwuCKiOC1jgeciPzVp3U
VNRT3MdzgvaXE1fYyXS/5IvLjKAAVrmbIwPg/68bzx1pmCV93nlK+5496dftU4HX
ByCRfDnV7cMGOsuKdMPwrDlaq84sTQEjYgjmKcPmy8QZVQqdFHCqvNOUTY9y8X14
AyS93Z7kE78wzeM9HT4Dowb99m7rm512TOiKHO8GokoodUJha5xCFn2wSdajMG1E
Pv4G6/CvYqObiCFlwnICGE8zIw4VqqDIunh/ExTjImJEkBhBppu4ZhKtAyZ4bgde
Sdrb2cCxu+v0d8BfvZL6VGdww9mFr2IqVIO3pgzP8/8rd/y0E1gnoSrj7jy3sUeX
n64+F2osKYV8zDuoiWfzXR+Q3EPM1AUgXQ4hwA+SQwz0B4VkljnrF9R5qTh+27Oj
MFUGWMqp1MFm8cP28VUc8mWTEYy8FOd7TDOYU577Sg34JlbttVeEydAA3yDFxnTy
vVf3fzNFFNOaEU2goi0sjz5pAaPGVUStpKeg85Mp2IszAP5fejaTWsuQcE9KaTFS
SEoLMnZTrAE=
=e24X
-----END PGP SIGNATURE-----