Bug 825275 (CVE-2012-2679)

Summary: CVE-2012-2679 rhncfg: Insecure permissions used for /var/log/rhncfg-actions file
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: cperry, jpazdziora, mmraka, msuchy, mzazrivec, security-response-team, sherr
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20120614,reported=20120523,source=redhat,cvss2=6.2/AV:L/AC:H/Au:N/C:C/I:C/A:C,rhn_satellite_5.6/Server=affected,fedora-all/rhncfg=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-19 22:10:43 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 824707, 832037    
Bug Blocks: 825281    

Description Jan Lieskovsky 2012-05-25 10:18:22 EDT
It was discovered that Red Hat Network Configuration Client set insecure (0644) permissions on the /var/log/rhncfg-actions file used to store (besides terminal) the output of different RHN Client actions (diff, verify etc.). A local attacker could use this flaw to obtain sensitive information, if the rhncfg-client diff action has been used to query differences between the (normally for unprivileged user not readable) config files stored by RHN and those, deployed on the system.
Comment 3 Jan Lieskovsky 2012-06-08 07:42:33 EDT
The CVE identifier of CVE-2012-2679 has been assigned for this issue.
Comment 6 Jan Lieskovsky 2012-06-14 07:09:09 EDT
This issue affects the versions of the rhncfg package, as shipped with Fedora release of 15, 16, and 17. Please schedule an update.
Comment 7 Jan Lieskovsky 2012-06-14 07:10:33 EDT
Created rhncfg tracking bugs for this issue

Affects: fedora-all [bug 832037]
Comment 9 Murray McAllister 2012-10-09 03:42:06 EDT
Acknowledgements:

This issue was discovered by Paul Wouters of Red Hat.
Comment 10 errata-xmlrpc 2012-10-15 14:39:03 EDT
This issue has been addressed in following products:

  Red Hat Network Tools for RHEL 5
  Red Hat Network Tools for RHEL 5.3.LL
  Red Hat Network Tools for RHEL 5.6.Z
  Red Hat Network Tools for RHEL 6
  Red Hat Network Tools for RHEL 6.0.Z
  Red Hat Network Tools for RHEL 6.1.Z
  Red Hat Network Tools for RHEL 6.2.Z
  Red Hat Network Tools for RHEL 6.3.Z

Via RHSA-2012:1369 https://rhn.redhat.com/errata/RHSA-2012-1369.html