Bug 1658394 (CVE-2018-16879)

Summary: CVE-2018-16879 Tower: security channel is not set properly for AMPQ connection
Product: [Other] Security Response Reporter: Borja Tarraso <btarraso>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dajohnso, dclarizi, dmetzger, gblomqui, gmainwar, gmccullo, gtanzill, jfrey, jhardy, jlaska, jprause, kdixon, notting, obarenbo, roliveri, security-response-team, sfowler, simaishi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ansible-tower 3.3.3 Doc Type: If docs needed, set a value
Doc Text:
Tower does not set a secure channel as it is using the default insecure configuration channel settings for messaging celery workers from RabbitMQ. This could lead in data leak of sensitive information such as passwords as well as denial of service attacks by deleting projects or inventory files.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-21 10:31:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1658395    
Bug Blocks: 1658219    

Description Borja Tarraso 2018-12-11 23:44:52 UTC
Arbitrary messages can be sent to celery workers regardless of ownership.

Tower does not set a secure channel, as it is using the default insecure configuration channel settings for messaging celery workers from RabbitMQ. The actual configuration setting that controls the channel securely is BROKER_URL, but Tower sets wrongly as CHANNEL_BROKER_URL, which does nothing.

This could lead in data leak of sensitive information such as passwords as well as DoS attacks by deleting projects or inventory files.

Comment 8 Richard Maciel Costa 2019-02-11 22:35:44 UTC
Statement:

Red Hat CloudForms versions 4.5 and 4.6 ship an ansible-tower which correctly sets the security channel by default. Red Hat CloudForms version 4.7 ships ansible-tower 3.3.3 which already contains the fix.

Comment 9 Product Security DevOps Team 2020-04-21 10:31:52 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-16879