title: Contrail Cloud: Hardcoded credentials for RabbitMQ service
description: 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.
problem types: CWE-798 Use of Hard-coded Credentials
affected:
{
product: Contrail Cloud
vendor: Juniper Networks
versions:
lessThan: 13.6.0, status: affected, version: unspecified, versionType: custom
}
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
]
solutions: 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.
workarounds: 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.