James Laska (jlaska) found the following vulnerability: Description of problem: The production.log is world readable ... > # ll /var/log/katello/production.log > -rw-r--r--. 1 katello katello 38128 Aug 27 13:56 /var/log/katello/production.log While importing a manifest, I noticed the pulp admin password is available in plaintext in the production.log ... > [DEBUG: 2012-08-27 13:20:08 #28453] Processing response: 200 > [DEBUG: 2012-08-27 13:20:08 #28453] Resource GET request: /pulp/api/users/admin/ > [DEBUG: 2012-08-27 13:20:08 #28453] Processing response: 200 > [DEBUG: 2012-08-27 13:20:08 #28453] Resource POST request: /pulp/api/users/, {"name":"hidden-HkmUvo","login":"hidden-HkmUvo","password":"kRez49MC87ihOXCk"} > [DEBUG: 2012-08-27 13:20:08 #28453] Processing response: 201 > [DEBUG: 2012-08-27 13:20:08 #28453] Resource POST request: /pulp/api/roles/super-users//add/, {"username":"hidden-HkmUvo"} > [DEBUG: 2012-08-27 13:20:08 #28453] Processing response: 200 > [DEBUG: 2012-08-27 13:20:08 #28453] Resource GET request: /pulp/api/users/hidden-HkmUvo/ > [DEBUG: 2012-08-27 13:20:09 #28453] Processing response: 200 > [DEBUG: 2012-08-27 13:20:09 #28453] Creating an owner in candlepin: ACME_Corporation > [DEBUG: 2012-08-27 13:20:09 #28453] Resource POST request: /candlepin/owners/, {"contentPrefix":"/ACME_Corporation/$env","displayName":"ACME_Corporation","key":"ACME_Corporation"} > [DEBUG: 2012-08-27 13:20:09 #28453] Processing response: 200 > [ INFO: 2012-08-27 13:20:09 #28453] Creating an environment in candlepin: Library Version-Release number of selected component (if applicable): * candlepin-0.6.5-1.el6_2.src.rpm * katello-0.1.320-1.el6cf.src.rpm * katello-candlepin-cert-key-pair-1.0-1.src.rpm * katello-certs-tools-1.0.7-1.el6_3.src.rpm * katello-cli-0.1.112-1.el6cf.src.rpm * katello-configure-0.1.111-1.el6cf.src.rpm * katello-qpid-broker-key-pair-1.0-1.src.rpm * katello-qpid-client-key-pair-1.0-1.src.rpm * katello-selinux-0.1.10-1.el6.src.rpm * pulp-1.0.4-1.el6.src.rpm How reproducible: Steps to Reproduce: 1. Install katello 2. Run katello-configure to prepare system 3. Import a valid manifest Actual results: * Pulp admin password is available in a world-readable log file Expected results: * The admin password isn't posted to the log
Acknowledgements: This issue was discovered by James Laska of Red Hat.
This issue has been addressed in following products: CloudForms for RHEL 6 CloudForms Tools for RHEL 5 Via RHSA-2012:1543 https://rhn.redhat.com/errata/RHSA-2012-1543.html