<?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: samba and samba3x 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-2012:0533</ID></Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
       <Revision>
         <Number>1</Number>
         <Date>2012-04-30T17:05:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2012-04-30T17:05:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2012-04-30T17:05:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1478</Engine>
      <Date>2012-05-01T14:46:58Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
Updated samba3x and samba packages that fix one security issue are now
available for Red Hat Enterprise Linux 5 and 6 respectively.

The Red Hat Security Response Team has rated this update as having
important 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">
Samba is an open-source implementation of the Server Message Block (SMB) or
Common Internet File System (CIFS) protocol, which allows PC-compatible
machines to share files, printers, and other information.

A flaw was found in the way Samba handled certain Local Security Authority
(LSA) Remote Procedure Calls (RPC). An authenticated user could use this
flaw to issue an RPC call that would modify the privileges database on the
Samba server, allowing them to steal the ownership of files and directories
that are being shared by the Samba server, and create, delete, and modify
user accounts, as well as other Samba server administration tasks.
(CVE-2012-2111)

Red Hat would like to thank the Samba project for reporting this issue.
Upstream acknowledges Ivano Cristofolini as the original reporter.

Users of Samba are advised to upgrade to these updated packages, which
contain a backported patch to resolve this issue. After installing this
update, the smb service will be restarted automatically.    </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/">Important</AggregateSeverity>
  <DocumentReferences>
    <Reference Type="Self">
       <URL>https://rhn.redhat.com/errata/RHSA-2012-0533.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2012-0533.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>
    <Reference>
       <URL>http://www.samba.org/samba/security/CVE-2012-2111</URL>
       <Description>http://www.samba.org/samba/security/CVE-2012-2111</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 Workstation Optional (v. 6)">
        <FullProductName ProductID="6Workstation-optional-6.2.z">Red Hat Enterprise Linux Workstation Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Desktop (v. 5 client)">
        <FullProductName ProductID="5Client-5.8.Z">Red Hat Enterprise Linux Desktop (v. 5 client)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux HPC Node (v. 6)">
        <FullProductName ProductID="6ComputeNode-6.2.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.2.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.2.z">Red Hat Enterprise Linux Server Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux HPC Node Optional (v. 6)">
        <FullProductName ProductID="6ComputeNode-optional-6.2.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.2.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.2.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.2.z">Red Hat Enterprise Linux Desktop Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux (v. 5 server)">
        <FullProductName ProductID="5Server-5.8.Z">Red Hat Enterprise Linux (v. 5 server)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="RHEL Desktop Workstation (v. 5 client)">
        <FullProductName ProductID="5Client-Workstation-5.8.Z">RHEL Desktop Workstation (v. 5 client)</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="samba-3.5.10-116.el6_2">
      <FullProductName ProductID="samba-3.5.10-116.el6_2">samba-3.5.10-116.el6_2.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="samba3x-3.5.10-0.109.el5_8">
      <FullProductName ProductID="samba3x-3.5.10-0.109.el5_8">samba3x-3.5.10-0.109.el5_8.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="samba-3.5.10-116.el6_2" RelationType="Default Component Of" RelatesToProductReference="6Workstation-optional-6.2.z">
      <FullProductName ProductID="6Workstation-optional-6.2.z:samba-3.5.10-116.el6_2">samba-3.5.10-116.el6_2 as a component of Red Hat Enterprise Linux Workstation Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="samba3x-3.5.10-0.109.el5_8" RelationType="Default Component Of" RelatesToProductReference="5Client-5.8.Z">
      <FullProductName ProductID="5Client-5.8.Z:samba3x-3.5.10-0.109.el5_8">samba3x-3.5.10-0.109.el5_8 as a component of Red Hat Enterprise Linux Desktop (v. 5 client)</FullProductName>
    </Relationship>
    <Relationship ProductReference="samba-3.5.10-116.el6_2" RelationType="Default Component Of" RelatesToProductReference="6ComputeNode-6.2.z">
      <FullProductName ProductID="6ComputeNode-6.2.z:samba-3.5.10-116.el6_2">samba-3.5.10-116.el6_2 as a component of Red Hat Enterprise Linux HPC Node (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="samba-3.5.10-116.el6_2" RelationType="Default Component Of" RelatesToProductReference="6Client-6.2.z">
      <FullProductName ProductID="6Client-6.2.z:samba-3.5.10-116.el6_2">samba-3.5.10-116.el6_2 as a component of Red Hat Enterprise Linux Desktop (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="samba-3.5.10-116.el6_2" RelationType="Default Component Of" RelatesToProductReference="6Server-optional-6.2.z">
      <FullProductName ProductID="6Server-optional-6.2.z:samba-3.5.10-116.el6_2">samba-3.5.10-116.el6_2 as a component of Red Hat Enterprise Linux Server Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="samba-3.5.10-116.el6_2" RelationType="Default Component Of" RelatesToProductReference="6ComputeNode-optional-6.2.z">
      <FullProductName ProductID="6ComputeNode-optional-6.2.z:samba-3.5.10-116.el6_2">samba-3.5.10-116.el6_2 as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="samba-3.5.10-116.el6_2" RelationType="Default Component Of" RelatesToProductReference="6Server-6.2.z">
      <FullProductName ProductID="6Server-6.2.z:samba-3.5.10-116.el6_2">samba-3.5.10-116.el6_2 as a component of Red Hat Enterprise Linux Server (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="samba-3.5.10-116.el6_2" RelationType="Default Component Of" RelatesToProductReference="6Workstation-6.2.z">
      <FullProductName ProductID="6Workstation-6.2.z:samba-3.5.10-116.el6_2">samba-3.5.10-116.el6_2 as a component of Red Hat Enterprise Linux Workstation (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="samba-3.5.10-116.el6_2" RelationType="Default Component Of" RelatesToProductReference="6Client-optional-6.2.z">
      <FullProductName ProductID="6Client-optional-6.2.z:samba-3.5.10-116.el6_2">samba-3.5.10-116.el6_2 as a component of Red Hat Enterprise Linux Desktop Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="samba3x-3.5.10-0.109.el5_8" RelationType="Default Component Of" RelatesToProductReference="5Server-5.8.Z">
      <FullProductName ProductID="5Server-5.8.Z:samba3x-3.5.10-0.109.el5_8">samba3x-3.5.10-0.109.el5_8 as a component of Red Hat Enterprise Linux (v. 5 server)</FullProductName>
    </Relationship>
    <Relationship ProductReference="samba3x-3.5.10-0.109.el5_8" RelationType="Default Component Of" RelatesToProductReference="5Client-Workstation-5.8.Z">
      <FullProductName ProductID="5Client-Workstation-5.8.Z:samba3x-3.5.10-0.109.el5_8">samba3x-3.5.10-0.109.el5_8 as a component of RHEL Desktop Workstation (v. 5 client)</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">A flaw was found in the way Samba handled certain Local Security Authority (LSA) Remote Procedure Calls (RPC). An authenticated user could use this flaw to issue an RPC call that would modify the privileges database on the Samba server, allowing them to steal the ownership of files and directories that are being shared by the Samba server, and create, delete, and modify user accounts, as well as other Samba server administration tasks. </Note></Notes>
    <DiscoveryDate>2012-04-17T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2012-04-30T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-2111</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>5Client-5.8.Z:samba3x-3.5.10-0.109.el5_8</ProductID>
      <ProductID>5Client-Workstation-5.8.Z:samba3x-3.5.10-0.109.el5_8</ProductID>
      <ProductID>5Server-5.8.Z:samba3x-3.5.10-0.109.el5_8</ProductID>
      <ProductID>6Client-6.2.z:samba-3.5.10-116.el6_2</ProductID>
      <ProductID>6Client-optional-6.2.z:samba-3.5.10-116.el6_2</ProductID>
      <ProductID>6ComputeNode-6.2.z:samba-3.5.10-116.el6_2</ProductID>
      <ProductID>6ComputeNode-optional-6.2.z:samba-3.5.10-116.el6_2</ProductID>
      <ProductID>6Server-6.2.z:samba-3.5.10-116.el6_2</ProductID>
      <ProductID>6Server-optional-6.2.z:samba-3.5.10-116.el6_2</ProductID>
      <ProductID>6Workstation-6.2.z:samba-3.5.10-116.el6_2</ProductID>
      <ProductID>6Workstation-optional-6.2.z:samba-3.5.10-116.el6_2</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Important</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>6.0</BaseScore>
      <Vector>AV:N/AC:M/Au:S/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-2012-0533.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-2111.html</URL>
        <Description>CVE-2012-2111</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=813569</URL>
        <Description>bz#813569: CVE-2012-2111 samba: Incorrect permission checks when granting/removing privileges</Description>
      </Reference>
    </References>
    <Acknowledgments><Acknowledgment><Description>Red Hat would like to thank the Samba project for reporting this issue. Upstream acknowledges Ivano Cristofolini as the original reporter of this issue.</Description></Acknowledgment></Acknowledgments>
  </Vulnerability>
</cvrfdoc>
