Bug 2035793 (CVE-2021-4180)

Summary: CVE-2021-4180 openstack-tripleo-heat-templates: data leak of internal URL through keystone_authtoken
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dbecker, jjoyce, jschluet, jstransk, lhh, lpeer, mburns, rhos-maint, sclewis, slinaber, tkajinam, tsedovic
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates 11.6.1 Doc Type: If docs needed, set a value
Doc Text:
An information exposure flaw in openstack-tripleo-heat-templates allows an external user to discover the internal IP or hostname. An attacker could exploit this by checking the www_authenticate_uri parameter (which is visible to all end users) in configuration files. This would give sensitive information which may aid in additional system exploitation.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-24 01:44:55 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: 2035795, 2037439, 2037440    
Bug Blocks: 2035405, 2035796    

Description Guilherme de Almeida Suckevicz 2021-12-27 17:43:49 UTC
According to parameter description, [keystone_authtoken] www_authenticate_uri should be public URL. However TripleO currently uses internal endpoint for this parameter.

References:
https://bugs.launchpad.net/tripleo/+bug/1955397
https://bugzilla.redhat.com/show_bug.cgi?id=2034203

Comment 1 Guilherme de Almeida Suckevicz 2021-12-27 17:45:17 UTC
Created openstack-tripleo-heat-templates tracking bugs for this issue:

Affects: openstack-rdo [bug 2035795]

Comment 3 Nick Tait 2022-01-14 19:09:09 UTC
Fix has been merged to several branches upstream (one is here https://review.opendev.org/c/openstack/tripleo-heat-templates/+/822306). See the launchpad bug page for others.

Comment 4 errata-xmlrpc 2022-03-23 22:28:22 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 16.2

Via RHSA-2022:0995 https://access.redhat.com/errata/RHSA-2022:0995

Comment 5 Product Security DevOps Team 2022-03-24 01:44:53 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-2021-4180

Comment 6 errata-xmlrpc 2022-12-07 20:27:38 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 16.1

Via RHSA-2022:8796 https://access.redhat.com/errata/RHSA-2022:8796