CVE-2021-0279
Assigner: juniper
Published: 2021-07-14T00:00:00
State: PUBLISHED
affected: product: Contrail Cloud
vendor: Juniper Networks
versions: lessThan: 13.6.0
status: affected
version: unspecified
versionType: custom
datePublic: 2021-07-14T00:00:00
descriptions: value: Juniper Networks Contrail Cloud (CC) releases prior to 13.6.0 have RabbitMQ service enabled by default with hardcoded credentials. The messaging services of RabbitMQ are used when coordinating operations and status information among Contrail services. An attacker with access to an administrative service for RabbitMQ (e.g. GUI), can use these hardcoded credentials to cause a Denial of Service (DoS) or have access to unspecified sensitive system information. This issue affects the Juniper Networks Contrail Cloud releases on versions prior to 13.6.0.
metrics: cvssV3_1: attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 8.6
baseSeverity: HIGH
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
version: 3.1
problemTypes: descriptions: cweId: CWE-798
description: CWE-798 Use of Hard-coded Credentials
type: CWE
solutions: value: The following software releases have been updated to resolve this specific issue: Juniper Networks Contrail Cloud version 13.6.0, and all subsequent releases.

When installing Contrail Cloud version 13.6.0, to set a non-default password for RabbitMQ, one of these options are possible:
a) You may set a non-default password using the config/vault-data.yml file.
b) Or following configuration should be added to the CC site.yml file:

   extra_config:
      ContrailAnalyticsParameters:
        ContrailSettings:
          RABBITMQ_PASSWORD: "{{ vault['other']['credentials']['contrail_rabbit']['password'] }}"
          RABBITMQ_USER: "{{ vault['other']['credentials']['contrail_rabbit']['user'] }}"
      ContrailControllerParameters:
        ContrailSettings:
          RABBITMQ_PASSWORD: "{{ vault['other']['credentials']['contrail_rabbit']['password'] }}"
          RABBITMQ_USER: "{{ vault['other']['credentials']['contrail_rabbit']['user'] }}"

Contact Juniper Networks Technical Assistance Center (JTAC) for guided assistance if necessary.
source: advisory: JSA11183
defect: CC-773
discovery: USER
title: Contrail Cloud: Hardcoded credentials for RabbitMQ service
workarounds: value: To mitigate this issue with a fresh installation of Contrail Cloud version prior to 13.6.0, the following configuration options should be added to the CC site.yml file.

  extra_config:
      ContrailAnalyticsParameters:
        ContrailSettings:
          RABBITMQ_PASSWORD: "{{ vault['other']['credentials']['contrail_rabbit']['password'] }}"
          RABBITMQ_USER: "{{ vault['other']['credentials']['contrail_rabbit']['user'] }}"
      ContrailControllerParameters:
        ContrailSettings:
          RABBITMQ_PASSWORD: "{{ vault['other']['credentials']['contrail_rabbit']['password'] }}"
          RABBITMQ_USER: "{{ vault['other']['credentials']['contrail_rabbit']['user'] }}"

Please contact Juniper Networks Technical Assistance Center (JTAC) for guided assistance if necessary.

Until a fresh installation or upgrade is possible, to reduce the risk of exploitation utilize common security BCPs to limit the exploitable surface by limiting access to network and device to trusted systems, administrators, networks and hosts. 
x_generator: engine: Vulnogram 0.0.9