ESB-2018.0422 - [Win][UNIX/Linux] Apache Qpid Broker-J: Denial of service - Remote/unauthenticated 2018-02-12

Printable version
PGP/GPG verifiable version

Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

           CVE-2018-1298: Apache Qpid Broker-J Denial of Service
           Vulnerability with PLAIN and XOAUTH2 SASL mechanisms
                             12 February 2018


        AusCERT Security Bulletin Summary

Product:           Apache Qpid Broker-J
Publisher:         The Apache Software Foundation
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-1298  

Original Bulletin:

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

CVE-2018-1298: Apache Qpid Broker-J Denial of Service Vulnerability with
PLAIN and XOAUTH2 SASL mechanisms

Severity: Important

Vendor: The Apache Software Foundation

Versions Affected: Versions 7.0.0


A Denial of Service vulnerability [1] was found in Apache Qpid Broker-J
7.0.0 in functionality for authentication of connections for AMQP protocols 0-8,
0-9, 0-91 and 0-10 when PLAIN or XOAUTH2 SASL mechanism is used. The
vulnerability allows unauthenticated attacker to crash the broker instance. 
AMQP 1.0 and HTTP connections are not affected.

An authentication of incoming AMQP connections in Apache Qpid Broker-J is
performed by special entities called "Authentication Providers". Each
Authentication Provider can support several SASL mechanisms
which are offered to the connecting clients as part of SASL negotiation
The client chooses the most appropriate SASL mechanism for authentication.

Authentication Providers of following types supports PLAIN SASL mechanism:
* Plain
* PlainPasswordFile
* SimpleLDAP
* Base64MD5PasswordFile
* MD5

XOAUTH2 SASL mechanism is supported by Authentication Providers of type

If an AMQP port is configured with any of these Authentication Providers,
the Broker may be vulnerable.


Users of Broker-J version 7.0.0 utilizing affected Authentication Providers
on AMQP ports with support for AMQP 0-8, 0-9, 0-91 or 0-10 must upgrade to
version 7.0.1 or later.


If upgrade of the broker is not possible, the SimpleLDAP and OAuth2 must be
replaced with an alternative provider. For the remaining affected types of
Authentication Providers the PLAIN SASL mechanism must be disabled by
including "PLAIN" in the "disabledMechanisms" attribute of the provider. 
The changes can be made either directly in the broker configuration file or via
management interfaces (for example, REST API [2]). A broker restart is required 
for the changes to take effect. Here is a template for curl utility call to 
disable PLAIN mechanism using REST API:

curl --user <user-name> -X POST  -d '{"disabledMechanisms":["PLAIN"]}' \
https://<broker host>:<broker https
port>/api/latest/authenticationprovider/<provider name>

Alternatively, when only AMQP 1.0 protocol is used, the support for older
protocols can be removed on the AMQP port. It can be done either from
Web Management Console or via management interfaces. A broker restart is
required for the changes to take effect. Here is a template for curl REST
call to restrict port supported AMQP protocols to AMQP 1.0:

curl --user <user-name> -X POST  -d '{"protocols":["AMQP_1_0"]}' \
https://<broker host>:<broker https port>/api/latest/port/<port name>



- --------------------------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
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:

Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email:
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.


« Back to bulletins