<?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: abrt and libreport security 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-2013:0215</ID></Identification>
    <Status>Final</Status>
    <Version>3</Version>
    <RevisionHistory>
       <Revision>
         <Number>3</Number>
         <Date>2013-01-31T19:08:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2013-01-31T19:08:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2013-01-31T19:08:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1484</Engine>
      <Date>2013-01-31T21:46:18Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
Updated abrt and libreport packages that fix two security issues are now
available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having
important security impact. Common Vulnerability Scoring System (CVSS) base
scores, which give detailed severity ratings, are available for each
vulnerability from the CVE links in the References section.    </Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
ABRT (Automatic Bug Reporting Tool) is a tool to help users to detect
defects in applications and to create a bug report with all the information
needed by a maintainer to fix it. It uses a plug-in system to extend its
functionality. libreport provides an API for reporting different problems
in applications to different bug targets, such as Bugzilla, FTP, and Trac.

It was found that the
/usr/libexec/abrt-action-install-debuginfo-to-abrt-cache tool did not
sufficiently sanitize its environment variables. This could lead to Python
modules being loaded and run from non-standard directories (such as /tmp/).
A local attacker could use this flaw to escalate their privileges to that
of the abrt user. (CVE-2012-5659)

A race condition was found in the way ABRT handled the directories used to
store information about crashes. A local attacker with the privileges of
the abrt user could use this flaw to perform a symbolic link attack,
possibly allowing them to escalate their privileges to root.
(CVE-2012-5660)

Red Hat would like to thank Martin Carpenter of Citco for reporting the
CVE-2012-5660 issue. CVE-2012-5659 was discovered by Miloslav Trmač of Red
Hat.

All users of abrt and libreport are advised to upgrade to these updated
packages, which correct these issues.    </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 © 2013 Red Hat, Inc. All rights reserved.</DocumentDistribution>
  <AggregateSeverity Namespace="https://access.redhat.com/security/updates/classification/">Important</AggregateSeverity>
  <DocumentReferences>
    <Reference Type="Self">
       <URL>https://rhn.redhat.com/errata/RHSA-2013-0215.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2013-0215.html</Description>
    </Reference>
    <Reference>
       <URL>https://access.redhat.com/security/updates/classification/#important</URL>
       <Description>https://access.redhat.com/security/updates/classification/#important</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="Red Hat Enterprise Linux">
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux HPC Node Optional (v. 6)">
        <FullProductName ProductID="6ComputeNode-optional-6.3.z">Red Hat Enterprise Linux HPC Node Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Server (v. 6)">
        <FullProductName ProductID="6Server-6.3.z">Red Hat Enterprise Linux Server (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Workstation (v. 6)">
        <FullProductName ProductID="6Workstation-6.3.z">Red Hat Enterprise Linux Workstation (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Desktop Optional (v. 6)">
        <FullProductName ProductID="6Client-optional-6.3.z">Red Hat Enterprise Linux Desktop Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Workstation Optional (v. 6)">
        <FullProductName ProductID="6Workstation-optional-6.3.z">Red Hat Enterprise Linux Workstation Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux HPC Node (v. 6)">
        <FullProductName ProductID="6ComputeNode-6.3.z">Red Hat Enterprise Linux HPC Node (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Desktop (v. 6)">
        <FullProductName ProductID="6Client-6.3.z">Red Hat Enterprise Linux Desktop (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Server Optional (v. 6)">
        <FullProductName ProductID="6Server-optional-6.3.z">Red Hat Enterprise Linux Server Optional (v. 6)</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="abrt-2.0.8-6.el6_3.2">
      <FullProductName ProductID="abrt-2.0.8-6.el6_3.2">abrt-2.0.8-6.el6_3.2.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libreport-2.0.9-5.el6_3.2">
      <FullProductName ProductID="libreport-2.0.9-5.el6_3.2">libreport-2.0.9-5.el6_3.2.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="abrt-2.0.8-6.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6ComputeNode-optional-6.3.z">
      <FullProductName ProductID="6ComputeNode-optional-6.3.z:abrt-2.0.8-6.el6_3.2">abrt-2.0.8-6.el6_3.2 as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="libreport-2.0.9-5.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6ComputeNode-optional-6.3.z">
      <FullProductName ProductID="6ComputeNode-optional-6.3.z:libreport-2.0.9-5.el6_3.2">libreport-2.0.9-5.el6_3.2 as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="abrt-2.0.8-6.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6Server-6.3.z">
      <FullProductName ProductID="6Server-6.3.z:abrt-2.0.8-6.el6_3.2">abrt-2.0.8-6.el6_3.2 as a component of Red Hat Enterprise Linux Server (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="libreport-2.0.9-5.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6Server-6.3.z">
      <FullProductName ProductID="6Server-6.3.z:libreport-2.0.9-5.el6_3.2">libreport-2.0.9-5.el6_3.2 as a component of Red Hat Enterprise Linux Server (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="abrt-2.0.8-6.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6Workstation-6.3.z">
      <FullProductName ProductID="6Workstation-6.3.z:abrt-2.0.8-6.el6_3.2">abrt-2.0.8-6.el6_3.2 as a component of Red Hat Enterprise Linux Workstation (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="libreport-2.0.9-5.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6Workstation-6.3.z">
      <FullProductName ProductID="6Workstation-6.3.z:libreport-2.0.9-5.el6_3.2">libreport-2.0.9-5.el6_3.2 as a component of Red Hat Enterprise Linux Workstation (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="abrt-2.0.8-6.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6Client-optional-6.3.z">
      <FullProductName ProductID="6Client-optional-6.3.z:abrt-2.0.8-6.el6_3.2">abrt-2.0.8-6.el6_3.2 as a component of Red Hat Enterprise Linux Desktop Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="libreport-2.0.9-5.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6Client-optional-6.3.z">
      <FullProductName ProductID="6Client-optional-6.3.z:libreport-2.0.9-5.el6_3.2">libreport-2.0.9-5.el6_3.2 as a component of Red Hat Enterprise Linux Desktop Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="abrt-2.0.8-6.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6Workstation-optional-6.3.z">
      <FullProductName ProductID="6Workstation-optional-6.3.z:abrt-2.0.8-6.el6_3.2">abrt-2.0.8-6.el6_3.2 as a component of Red Hat Enterprise Linux Workstation Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="libreport-2.0.9-5.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6Workstation-optional-6.3.z">
      <FullProductName ProductID="6Workstation-optional-6.3.z:libreport-2.0.9-5.el6_3.2">libreport-2.0.9-5.el6_3.2 as a component of Red Hat Enterprise Linux Workstation Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="abrt-2.0.8-6.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6ComputeNode-6.3.z">
      <FullProductName ProductID="6ComputeNode-6.3.z:abrt-2.0.8-6.el6_3.2">abrt-2.0.8-6.el6_3.2 as a component of Red Hat Enterprise Linux HPC Node (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="libreport-2.0.9-5.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6ComputeNode-6.3.z">
      <FullProductName ProductID="6ComputeNode-6.3.z:libreport-2.0.9-5.el6_3.2">libreport-2.0.9-5.el6_3.2 as a component of Red Hat Enterprise Linux HPC Node (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="abrt-2.0.8-6.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6Client-6.3.z">
      <FullProductName ProductID="6Client-6.3.z:abrt-2.0.8-6.el6_3.2">abrt-2.0.8-6.el6_3.2 as a component of Red Hat Enterprise Linux Desktop (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="libreport-2.0.9-5.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6Client-6.3.z">
      <FullProductName ProductID="6Client-6.3.z:libreport-2.0.9-5.el6_3.2">libreport-2.0.9-5.el6_3.2 as a component of Red Hat Enterprise Linux Desktop (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="abrt-2.0.8-6.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6Server-optional-6.3.z">
      <FullProductName ProductID="6Server-optional-6.3.z:abrt-2.0.8-6.el6_3.2">abrt-2.0.8-6.el6_3.2 as a component of Red Hat Enterprise Linux Server Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="libreport-2.0.9-5.el6_3.2" RelationType="Default Component Of" RelatesToProductReference="6Server-optional-6.3.z">
      <FullProductName ProductID="6Server-optional-6.3.z:libreport-2.0.9-5.el6_3.2">libreport-2.0.9-5.el6_3.2 as a component of Red Hat Enterprise Linux Server Optional (v. 6)</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 found that the /usr/libexec/abrt-action-install-debuginfo-to-abrt-cache tool did not sufficiently sanitize its environment variables. This could lead to Python modules being loaded and run from non-standard directories (such as /tmp/). A local attacker could use this flaw to escalate their privileges to that of the abrt user. </Note></Notes>
    <DiscoveryDate>2012-09-03T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2013-01-30T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-5659</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Client-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6Client-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
      <ProductID>6Client-optional-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6Client-optional-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
      <ProductID>6ComputeNode-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6ComputeNode-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
      <ProductID>6ComputeNode-optional-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6ComputeNode-optional-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
      <ProductID>6Server-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6Server-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
      <ProductID>6Server-optional-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6Server-optional-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
      <ProductID>6Workstation-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6Workstation-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
      <ProductID>6Workstation-optional-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6Workstation-optional-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Important</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>3.7</BaseScore>
      <Vector>AV:L/AC:H/Au:N/C:P/I:P/A:P</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-2013-0215.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-5659.html</URL>
        <Description>CVE-2012-5659</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=854011</URL>
        <Description>bz#854011: CVE-2012-5659 abrt: Arbitrary Python code execution due improper sanitization of the PYTHONPATH environment variable by installing debuginfo packages into cache</Description>
      </Reference>
    </References>
    <Acknowledgments><Acknowledgment><Description>This issue was discovered by Miloslav Trmač of Red Hat.</Description></Acknowledgment></Acknowledgments>
  </Vulnerability>

  <Vulnerability Ordinal="2" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
    <Notes><Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">A race condition was found in the way ABRT handled the directories used to store information about crashes. A local attacker with the privileges of the abrt user could use this flaw to perform a symbolic link attack, possibly allowing them to escalate their privileges to root. </Note></Notes>
    <DiscoveryDate>2012-12-14T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2013-01-30T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-5660</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Client-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6Client-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
      <ProductID>6Client-optional-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6Client-optional-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
      <ProductID>6ComputeNode-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6ComputeNode-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
      <ProductID>6ComputeNode-optional-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6ComputeNode-optional-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
      <ProductID>6Server-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6Server-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
      <ProductID>6Server-optional-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6Server-optional-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
      <ProductID>6Workstation-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6Workstation-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
      <ProductID>6Workstation-optional-6.3.z:abrt-2.0.8-6.el6_3.2</ProductID>
      <ProductID>6Workstation-optional-6.3.z:libreport-2.0.9-5.el6_3.2</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Moderate</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>6.6</BaseScore>
      <Vector>AV:L/AC:M/Au:S/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-2013-0215.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-5660.html</URL>
        <Description>CVE-2012-5660</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=887866</URL>
        <Description>bz#887866: CVE-2012-5660 abrt: Race condition in abrt-action-install-debuginfo</Description>
      </Reference>
    </References>
    <Acknowledgments><Acknowledgment><Description>Red Hat would like to thank Martin Carpenter of Citco for reporting this issue.</Description></Acknowledgment></Acknowledgments>
  </Vulnerability>
</cvrfdoc>
