Project

General

Profile

Actions

Bug #27501

closed

Private keys found in debug log

Added by Jorick Astrego almost 5 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Security
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Related to https://projects.theforeman.org/issues/25595

I see the private key in a message labeled "kat" in our production.log

2019-08-02T03:54:08 [D|kat|8a867303] Body: {"created":"2019-07-26T13:55:11+0000","updated":"2019-07-30T09:38:17+0000","id":"8ae4e4986c1e1076016c2e9066e001d6","uuid":"1b43f579-57f8-43f9-ab47-11e2378f6e76","name":"******","username":"******,"entitlementStatus":"valid","serviceLevel":"","role":null,"usage":null,"addOns":[],"systemPurposeStatus":"not specified","owner":{"id":"8ae4e4986b6ad604016c050b9fed018e","key":"******","displayName":"******","href":"/owners/I******"},"environment" 

<snip>

"idCert":{"created":"2019-07-26T13:55:18+0000","updated":"2019-07-26T13:55:18+0000","id":"8ae4e4986c1e1076016c2e9084e601d8","key":"-----BEGIN RSA PRIVATE KEY-----********-----END RSA PRIVATE KEY-----\n","cert":"-----BEGIN CERTIFICATE-----*******-----END CERTIFICATE-----\n","serial":{"created":"2019-07-26T13:55:12+0000","updated":"2019-07-26T13:55:12+0000","id":2145538803981733145,"serial":2145538803981733145,"expiration":"2035-07-26T13:55:12+0000","collected":false,"revoked":false}}}

And also another one with "app"

2019-08-02T03:54:08 [D|app|8a867303] With body: {"created":"2019-07-26T13:55:11+0000","updated":"2019-07-30T09:38:17+0000","id":"8ae4e4986c1e1076016c2e9066e001d6","uuid":"1b43f579-57f8-43f9-ab47-11e2378f6e76","name":"****","username":"foreman_admin","entitlementStatus":"valid","serviceLevel":"","role":null,"usage":null,"addOns":[],"systemPurposeStatus":"not specified","owner":{"id":"8ae4e4986b6ad604016c050b9fed018e","key":"****","displayName":"****","href":"/owners/****"},"environment":

<snip>

"idCert":{"created":"2019-07-26T13:55:18+0000","updated":"2019-07-26T13:55:18+0000","id":"8ae4e4986c1e1076016c2e9084e601d8","key":"-----BEGIN RSA PRIVATE KEY-----********-----END RSA PRIVATE KEY-----\n","cert":"-----BEGIN CERTIFICATE-----*********-----END CERTIFICATE-----\n","serial":{"created":"2019-07-26T13:55:12+0000","updated":"2019-07-26T13:55:12+0000","id":2145538803981733145,"serial":2145538803981733145,"expiration":"2035-07-26T13:55:12+0000","collected":false,"revoked":false}}}
Actions #1

Updated by Jonathon Turel over 4 years ago

  • Target version set to Katello 3.14.0
  • Triaged changed from No to Yes
Actions #2

Updated by Jonathon Turel over 4 years ago

  • Target version changed from Katello 3.14.0 to Katello 3.16.0
Actions #3

Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Jeremy Lenz
  • Pull request https://github.com/Katello/katello/pull/8667 added
Actions #4

Updated by The Foreman Bot about 4 years ago

  • Fixed in Releases added
Actions #5

Updated by Jeremy Lenz about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Jonathon Turel over 3 years ago

  • Pull request deleted (https://github.com/Katello/katello/pull/8667)
  • Fixed in Releases Katello 3.17.0 added
  • Fixed in Releases deleted ()
Actions

Also available in: Atom PDF