Bug 2280249 (CVE-2024-4840)

Summary: CVE-2024-4840 rhosp-director: cleartext passwords exposed in logs
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: eglynn, jjoyce, jschluet, lhh, lsvaty, mburns, mgarciac, morazi, pgrist, rhos-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
An flaw was found in the OpenStack Platform (RHOSP) director, a toolset for installing and managing a complete RHOSP environment. Plaintext passwords may be stored in log files, which can expose sensitive information to anyone with access to the logs.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2280252, 2280253    
Bug Blocks: 2280250    

Description Robb Gatica 2024-05-13 16:53:44 UTC
Reference: https://bugzilla.redhat.com/show_bug.cgi?id=2279386

Description of problem: 
It was found that DB_ROOT_PASSWORD and RABBITMQ_CLUSTER_COOKIE found in cleartext in /var/log/messages. This seems to happen when mysql container is bootstrapped. 

Version-Release number of selected component (if applicable):
17.1, as well as 16.2

How reproducible:
100%

Steps to Reproduce:
1. run undercloud deploy or upgrade, or re-run undercloud install command

Actual results:
clear text passwords printed in logs

Expected results:
clear text passwords not printed in logs

Additional info:
This seems to happen even when undercloud_debug = false

Comment 2 errata-xmlrpc 2024-11-21 09:30:25 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 17.1 for RHEL 9

Via RHSA-2024:9978 https://access.redhat.com/errata/RHSA-2024:9978