Bug 852199 (CVE-2012-3538) - CVE-2012-3538 katello: pulp admin password logged in plaintext in world-readable katello/production.log
Summary: CVE-2012-3538 katello: pulp admin password logged in plaintext in world-reada...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-3538
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 852162 852200
Blocks: 836071 852201
TreeView+ depends on / blocked
 
Reported: 2012-08-27 20:23 UTC by Kurt Seifried
Modified: 2023-05-12 15:10 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-14 19:24:05 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1543 0 normal SHIPPED_LIVE Important: CloudForms System Engine 1.1 update 2012-12-05 00:39:57 UTC

Description Kurt Seifried 2012-08-27 20:23:01 UTC
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

Comment 2 Murray McAllister 2012-12-03 06:19:06 UTC
Acknowledgements:

This issue was discovered by James Laska of Red Hat.

Comment 3 errata-xmlrpc 2012-12-04 19:51:58 UTC
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


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