<?xml version="1.0" encoding="utf-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Red Hat Security Advisory: rhncfg security, bug fix, and enhancement update</DocumentTitle>
  <DocumentType>Security Advisory</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>secalert@redhat.com</ContactDetails>
    <IssuingAuthority>Red Hat Security Response Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification><ID>RHSA-2012:1369</ID></Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
       <Revision>
         <Number>1</Number>
         <Date>2012-10-15T18:27:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2012-10-15T18:28:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2012-10-15T18:27:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1484</Engine>
      <Date>2012-10-15T18:37:01Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
Updated rhncfg packages that fix one security issue, two bugs, and add one
enhancement are now available for Red Hat Network Tools for Red Hat
Enterprise Linux 5 and 6; Red Hat Enterprise Linux 5.3 Long Life; and Red
Hat Enterprise Linux 5.6, 6.0, 6.1, and 6.2 Extended Update Support.

The Red Hat Security Response Team has rated this update as having moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.    </Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
Red Hat Network Tools provide programs and libraries that allow your system
to use provisioning, monitoring, and configuration management capabilities
provided by Red Hat Network and Red Hat Network Satellite.

It was discovered that the Red Hat Network (RHN) Configuration Client
(rhncfg-client) tool set world-readable permissions on the
&quot;/var/log/rhncfg-actions&quot; file, used to store the output of different
rhncfg-client actions (such as diffing and verifying files). This could
possibly allow a local attacker to obtain sensitive information they would
otherwise not have access to. (CVE-2012-2679)

Note: With this update, rhncfg-client cannot create diffs of files that
are not already world-readable, and &quot;/var/log/rhncfg-actions&quot; can only be
read and written to by the root user.

This issue was discovered by Paul Wouters of Red Hat.

This update also fixes the following bugs:

* When the user attempted to use the &quot;rhncfg-client get&quot; command to
download a backup of deployed configuration files and these configuration
files contained a broken symbolic link, the command failed with an error.
This update ensures that &quot;rhncfg-client get&quot; no longer fails in this
scenario. (BZ#836445)

* The SYNOPSIS section of the rhn-actions-control(8) manual page has been
updated to include the &quot;--report&quot; command line option as expected.
(BZ#820517)

As well, this update adds the following enhancement:

* The rhncfg-manager utility now supports a new command line option,
&quot;--selinux-context&quot;. This option can be used to upload files and
directories without setting the Security-Enhanced Linux (SELinux) context.
(BZ#770575)

All users of Red Hat Network Tools are advised to upgrade to these updated
packages, which correct these issues and add this enhancement.    </Note>
    <Note Title="Terms of Use" Ordinal="3" Type="Legal Disclaimer" xml:lang="en">Please see https://www.redhat.com/footer/terms-of-use.html</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
  <AggregateSeverity Namespace="https://access.redhat.com/security/updates/classification/">Moderate</AggregateSeverity>
  <DocumentReferences>
    <Reference Type="Self">
       <URL>https://rhn.redhat.com/errata/RHSA-2012-1369.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2012-1369.html</Description>
    </Reference>
    <Reference>
       <URL>https://access.redhat.com/security/updates/classification/#moderate</URL>
       <Description>https://access.redhat.com/security/updates/classification/#moderate</Description>
    </Reference>
    <Reference>
       <URL>https://bugzilla.redhat.com/show_bug.cgi?id=820517</URL>
       <Description>https://bugzilla.redhat.com/show_bug.cgi?id=820517</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="Red Hat Network Tools">
      <Branch Type="Product Name" Name="RHN Tools (v. 6 Workstation)">
        <FullProductName ProductID="6Workstation-RHNTools">RHN Tools (v. 6 Workstation)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="RHN Tools (v. 5 Server)">
        <FullProductName ProductID="5Server-RHNTools">RHN Tools (v. 5 Server)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="RHN Tools (v. 6.1.z Server)">
        <FullProductName ProductID="6Server-RHNTools-6.1.Z">RHN Tools (v. 6.1.z Server)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="RHN Tools (v. 5 Client)">
        <FullProductName ProductID="5Client-RHNTools">RHN Tools (v. 5 Client)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="RHN Tools (v. 6 ComputeNode)">
        <FullProductName ProductID="6ComputeNode-RHNTools">RHN Tools (v. 6 ComputeNode)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="RHN Tools (v. 5.3.LL Server)">
        <FullProductName ProductID="5Server-RHNTools-5.3.LL">RHN Tools (v. 5.3.LL Server)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="RHN Tools (v. 6.2.z Server)">
        <FullProductName ProductID="6Server-RHNTools-6.2.Z">RHN Tools (v. 6.2.z Server)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="RHN Tools (v. 6.0.z Server)">
        <FullProductName ProductID="6Server-RHNTools-6.0.Z">RHN Tools (v. 6.0.z Server)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="RHN Tools (v. 6.3.z Server)">
        <FullProductName ProductID="6Server-RHNTools-6.3.Z">RHN Tools (v. 6.3.z Server)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="RHN Tools (v. 6 Client)">
        <FullProductName ProductID="6Client-RHNTools">RHN Tools (v. 6 Client)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="RHN Tools (v. 5.6.z Server)">
        <FullProductName ProductID="5Server-RHNTools-5.6.z">RHN Tools (v. 5.6.z Server)</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="rhncfg-5.10.27-8.el5sat">
      <FullProductName ProductID="rhncfg-5.10.27-8.el5sat">rhncfg-5.10.27-8.el5sat.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rhncfg-5.10.27-8.el6sat">
      <FullProductName ProductID="rhncfg-5.10.27-8.el6sat">rhncfg-5.10.27-8.el6sat.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="rhncfg-5.10.27-8.el6sat" RelationType="Default Component Of" RelatesToProductReference="6Workstation-RHNTools">
      <FullProductName ProductID="6Workstation-RHNTools:rhncfg-5.10.27-8.el6sat">rhncfg-5.10.27-8.el6sat as a component of RHN Tools (v. 6 Workstation)</FullProductName>
    </Relationship>
    <Relationship ProductReference="rhncfg-5.10.27-8.el5sat" RelationType="Default Component Of" RelatesToProductReference="5Server-RHNTools">
      <FullProductName ProductID="5Server-RHNTools:rhncfg-5.10.27-8.el5sat">rhncfg-5.10.27-8.el5sat as a component of RHN Tools (v. 5 Server)</FullProductName>
    </Relationship>
    <Relationship ProductReference="rhncfg-5.10.27-8.el6sat" RelationType="Default Component Of" RelatesToProductReference="6Server-RHNTools-6.1.Z">
      <FullProductName ProductID="6Server-RHNTools-6.1.Z:rhncfg-5.10.27-8.el6sat">rhncfg-5.10.27-8.el6sat as a component of RHN Tools (v. 6.1.z Server)</FullProductName>
    </Relationship>
    <Relationship ProductReference="rhncfg-5.10.27-8.el5sat" RelationType="Default Component Of" RelatesToProductReference="5Client-RHNTools">
      <FullProductName ProductID="5Client-RHNTools:rhncfg-5.10.27-8.el5sat">rhncfg-5.10.27-8.el5sat as a component of RHN Tools (v. 5 Client)</FullProductName>
    </Relationship>
    <Relationship ProductReference="rhncfg-5.10.27-8.el6sat" RelationType="Default Component Of" RelatesToProductReference="6ComputeNode-RHNTools">
      <FullProductName ProductID="6ComputeNode-RHNTools:rhncfg-5.10.27-8.el6sat">rhncfg-5.10.27-8.el6sat as a component of RHN Tools (v. 6 ComputeNode)</FullProductName>
    </Relationship>
    <Relationship ProductReference="rhncfg-5.10.27-8.el5sat" RelationType="Default Component Of" RelatesToProductReference="5Server-RHNTools-5.3.LL">
      <FullProductName ProductID="5Server-RHNTools-5.3.LL:rhncfg-5.10.27-8.el5sat">rhncfg-5.10.27-8.el5sat as a component of RHN Tools (v. 5.3.LL Server)</FullProductName>
    </Relationship>
    <Relationship ProductReference="rhncfg-5.10.27-8.el6sat" RelationType="Default Component Of" RelatesToProductReference="6Server-RHNTools-6.2.Z">
      <FullProductName ProductID="6Server-RHNTools-6.2.Z:rhncfg-5.10.27-8.el6sat">rhncfg-5.10.27-8.el6sat as a component of RHN Tools (v. 6.2.z Server)</FullProductName>
    </Relationship>
    <Relationship ProductReference="rhncfg-5.10.27-8.el6sat" RelationType="Default Component Of" RelatesToProductReference="6Server-RHNTools-6.0.Z">
      <FullProductName ProductID="6Server-RHNTools-6.0.Z:rhncfg-5.10.27-8.el6sat">rhncfg-5.10.27-8.el6sat as a component of RHN Tools (v. 6.0.z Server)</FullProductName>
    </Relationship>
    <Relationship ProductReference="rhncfg-5.10.27-8.el6sat" RelationType="Default Component Of" RelatesToProductReference="6Server-RHNTools-6.3.Z">
      <FullProductName ProductID="6Server-RHNTools-6.3.Z:rhncfg-5.10.27-8.el6sat">rhncfg-5.10.27-8.el6sat as a component of RHN Tools (v. 6.3.z Server)</FullProductName>
    </Relationship>
    <Relationship ProductReference="rhncfg-5.10.27-8.el6sat" RelationType="Default Component Of" RelatesToProductReference="6Client-RHNTools">
      <FullProductName ProductID="6Client-RHNTools:rhncfg-5.10.27-8.el6sat">rhncfg-5.10.27-8.el6sat as a component of RHN Tools (v. 6 Client)</FullProductName>
    </Relationship>
    <Relationship ProductReference="rhncfg-5.10.27-8.el5sat" RelationType="Default Component Of" RelatesToProductReference="5Server-RHNTools-5.6.z">
      <FullProductName ProductID="5Server-RHNTools-5.6.z:rhncfg-5.10.27-8.el5sat">rhncfg-5.10.27-8.el5sat as a component of RHN Tools (v. 5.6.z Server)</FullProductName>
    </Relationship>
  </ProductTree>

  <Vulnerability Ordinal="1" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
    <Notes><Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">It was discovered that the Red Hat Network (RHN) Configuration Client (rhncfg-client) tool set world-readable permissions on the &quot;/var/log/rhncfg-actions&quot; file, used to store the output of different rhncfg-client actions (such as diffing and verifying files). This could possibly allow a local attacker to obtain sensitive information they would otherwise not have access to. </Note></Notes>
    <DiscoveryDate>2012-05-23T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2012-06-14T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-2679</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>5Client-RHNTools:rhncfg-5.10.27-8.el5sat</ProductID>
      <ProductID>5Server-RHNTools-5.3.LL:rhncfg-5.10.27-8.el5sat</ProductID>
      <ProductID>5Server-RHNTools-5.6.z:rhncfg-5.10.27-8.el5sat</ProductID>
      <ProductID>5Server-RHNTools:rhncfg-5.10.27-8.el5sat</ProductID>
      <ProductID>6Client-RHNTools:rhncfg-5.10.27-8.el6sat</ProductID>
      <ProductID>6ComputeNode-RHNTools:rhncfg-5.10.27-8.el6sat</ProductID>
      <ProductID>6Server-RHNTools-6.0.Z:rhncfg-5.10.27-8.el6sat</ProductID>
      <ProductID>6Server-RHNTools-6.1.Z:rhncfg-5.10.27-8.el6sat</ProductID>
      <ProductID>6Server-RHNTools-6.2.Z:rhncfg-5.10.27-8.el6sat</ProductID>
      <ProductID>6Server-RHNTools-6.3.Z:rhncfg-5.10.27-8.el6sat</ProductID>
      <ProductID>6Workstation-RHNTools:rhncfg-5.10.27-8.el6sat</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Moderate</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>6.2</BaseScore>
      <Vector>AV:L/AC:H/Au:N/C:C/I:C/A:C</Vector>
    </ScoreSet></CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix"><Description xml:lang="en">
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258    </Description>      <URL>https://rhn.redhat.com/errata/RHSA-2012-1369.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-2679.html</URL>
        <Description>CVE-2012-2679</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=825275</URL>
        <Description>bz#825275: CVE-2012-2679 rhncfg: Insecure permissions used for /var/log/rhncfg-actions file</Description>
      </Reference>
    </References>
    <Acknowledgments><Acknowledgment><Description>This issue was discovered by Paul Wouters of Red Hat.</Description></Acknowledgment></Acknowledgments>
  </Vulnerability>
</cvrfdoc>
