Project

General

Profile

Actions

Bug #27501

closed

Private keys found in debug log

Added by Jorick Astrego over 5 years ago. Updated about 4 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

Also available in: Atom PDF