Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2013759 - Password to git is visible in export summary
Summary: Password to git is visible in export summary
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Templates Plugin
Version: 6.10.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.14.0
Assignee: Adam Ruzicka
QA Contact: Peter Ondrejka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-13 16:35 UTC by Peter Dragun
Modified: 2023-11-08 14:18 UTC (History)
3 users (show)

Fixed In Version: rubygem-foreman_templates-9.4.0-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-08 14:17:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot (127.01 KB, image/png)
2021-10-13 16:35 UTC, Peter Dragun
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35824 0 Normal Ready For Testing Redact passwords in URIs before showing them to the user 2022-12-06 09:36:31 UTC
Github theforeman foreman_templates pull 165 0 None open Fixes #35824 - Redact passwords in URIs 2022-12-06 09:36:31 UTC
Red Hat Issue Tracker SAT-14231 0 None None None 2023-06-28 05:49:39 UTC
Red Hat Issue Tracker SAT-14275 0 None None None 2022-12-07 13:07:33 UTC
Red Hat Product Errata RHSA-2023:6818 0 None None None 2023-11-08 14:18:04 UTC

Description Peter Dragun 2021-10-13 16:35:52 UTC
Created attachment 1832647 [details]
screenshot

Description of problem:
Password(token) to git is visible in export summary if using http authentication.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. Navigate to Hosts -> Sync Templates
2. Set Action type to export
3. Export templates to git using http with authentication
4. Submit

Actual results:
Password is visible in url

Expected results:
Password should be redacted

Additional info:

Comment 2 Brad Buckingham 2022-11-03 21:47:07 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 5 Adam Ruzicka 2023-01-13 14:48:42 UTC
The upstream PR was merged, moving to POST.

Comment 6 Peter Ondrejka 2023-08-09 14:30:04 UTC
Verified on Sat 6.14 snap 10, the password is now redacted in the template export result summary

Comment 9 errata-xmlrpc 2023-11-08 14:17:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.14 security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:6818


Note You need to log in before you can comment on or make changes to this bug.