[Bug 2085607] Re: [sru] Obfuscation issues in sosreport sos 4.7.2

Arif Ali 2085607 at bugs.launchpad.net
Fri Nov 29 22:04:43 UTC 2024


placement

root at juju-536901-focal-ussuri-12:~# sos report -o openstack_placement --batch --build
<snip>
 Setting up archive ...
 Setting up plugins ...
 Running plugins. Please wait ...

  Starting 1/1   openstack_placement [Running: openstack_placement]

  Finished running plugins

Your sosreport build tree has been generated in:
        /tmp/sosreport-juju-536901-focal-ussuri-12-2024-11-29-ywmwont

root at juju-536901-focal-ussuri-12:~# grep -E "NOVA_API_PASS|PLACEMENT_PASS" /tmp/sosreport-juju-536901-focal-ussuri-12-2024-11-29-ywmwont/etc/placement/migrate-db.rc 
NOVA_API_PASS="2V4hjZwTF6bpn8fH4jmCdjJTmYG9nKBL"
PLACEMENT_PASS="5n68HgYxzn5rJPrjC4Y7pXw3WSPXXWLW"


# Now enable proposed


root at juju-536901-focal-ussuri-12:~# sos report -o openstack_placement --batch --build
<snip>
 Setting up archive ...
 Setting up plugins ...
 Running plugins. Please wait ...

  Starting 1/1   openstack_placement [Running: openstack_placement]

  Finished running plugins

Your sosreport build tree has been generated in:
        /tmp/sosreport-juju-536901-focal-ussuri-12-2024-11-29-drrcrbt

root at juju-536901-focal-ussuri-12:~# grep -E "NOVA_API_PASS|PLACEMENT_PASS" /tmp/sosreport-juju-536901-focal-ussuri-12-2024-11-29-drrcrbt/etc/placement/migrate-db.rc 
NOVA_API_PASS=*********
PLACEMENT_PASS=*********


The config option is now obfuscated

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2085607

Title:
  [sru] Obfuscation issues in sosreport sos 4.7.2

Status in sosreport source package in Focal:
  Fix Committed
Status in sosreport source package in Jammy:
  Fix Committed
Status in sosreport source package in Noble:
  Fix Committed
Status in sosreport source package in Oracular:
  Fix Committed

Bug description:
  [ Impact ]

  When doing SRU for sos 4.7.2 we encountered obfuscation issues,
  although not a regression at the time, it was still an issue that had
  been present for a while

  So, these passwords would be fully visible to the end support
  personnel and therefore leaked passwords.

  [ Test Plan ]

  1. Deploy a sunbeam simple cloud, and run the sos report, check to see if passwords are obfuscated in configuration file
  2. Deploy heat, and ensure auth_encryption_key is obfuscated in configuration file
  3. Deploy placement, and ensure that both NOVA_API_PASS and PLACEMENT_PASS are obfuscated in configuration file
  4. Deploy mysql and ensure password field is obfuscated in configuration file

  [ Where problems could occur ]

  The corresponding files are not obfuscated, and we need to update the
  patches

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/focal/+source/sosreport/+bug/2085607/+subscriptions




More information about the Ubuntu-sponsors mailing list