<?xml version="1.0" encoding="UTF-8"?>

<oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:red-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd">
  <generator>
    <oval:product_name>Red Hat Errata System</oval:product_name>
    <oval:schema_version>5.3</oval:schema_version>
    <oval:timestamp>2011-05-02T09:36:30</oval:timestamp>
  </generator>

  <definitions>
    <definition id="oval:com.redhat.rhsa:def:20040064" version="506" class="patch">
      <metadata>
        <title>RHSA-2004:064: samba security update (Low)</title>
    <affected family="unix">
            <platform>Red Hat Enterprise Linux 3</platform>
         </affected>
    <reference source="RHSA" ref_id="RHSA-2004:064-05" ref_url="https://rhn.redhat.com/errata/RHSA-2004-064.html"/>
          <reference source="CVE" ref_id="CVE-2004-0082" ref_url="https://www.redhat.com/security/data/cve/CVE-2004-0082.html"/>
    
    <description>Samba provides file and printer sharing services to SMB/CIFS clients.

The Samba team discovered an issue that affects version 3.0.0 and 3.0.1 of
Samba.  If an account for a user is created, but marked as disabled using
the mksmbpasswd script, it is possible for Samba to overwrite the user's
password with the contents of an uninitialized buffer.  This might lead to
a disabled account becoming enabled with a password that could be guessed
by an attacker.

Although this is likely to be a low risk issue for most Samba users, we
have provided updated packages, which contain a backported patch correcting
this issue.

Red Hat would like to thank the Samba team for reporting this issue and
providing us with a patch.

Note: Due to a packaging error in samba-3.0.0-14.3E, the winbind daemon is
not automatically restarted when the Samba package is upgraded.  After
up2date has installed the samba-3.0.2-4.3E packages, you must run
&quot;/sbin/service winbind condrestart&quot; as root to restart the winbind daemon.</description>

<!-- ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ -->

<advisory from="secalert@redhat.com">

        <severity>Low</severity>

        <rights>Copyright 2004 Red Hat, Inc.</rights>
        <issued date="2004-05-21"/>
        <updated date="2004-05-21"/>
            <cve href="https://www.redhat.com/security/data/cve/CVE-2004-0082.html">CVE-2004-0082</cve>
                <bugzilla href="http://bugzilla.redhat.com/114995" id="114995">CAN-2004-0082 mksmbpasswd vulnerability</bugzilla>
        <affected_cpe_list>
            <cpe>cpe:/o:redhat:enterprise_linux</cpe>
        </affected_cpe_list>
</advisory>
      </metadata>
      <criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20040064001" comment="Red Hat Enterprise Linux 3 is installed" />
 <criteria operator="OR">
 
 <criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20040064004" comment="samba-client is earlier than 0:3.0.2-6.3E" /><criterion test_ref="oval:com.redhat.rhsa:tst:20040064005" comment="samba-client is signed with Red Hat master key" />
 
</criteria>
<criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20040064006" comment="samba-common is earlier than 0:3.0.2-6.3E" /><criterion test_ref="oval:com.redhat.rhsa:tst:20040064007" comment="samba-common is signed with Red Hat master key" />
 
</criteria>
<criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20040064002" comment="samba is earlier than 0:3.0.2-6.3E" /><criterion test_ref="oval:com.redhat.rhsa:tst:20040064003" comment="samba is signed with Red Hat master key" />
 
</criteria>
<criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20040064008" comment="samba-swat is earlier than 0:3.0.2-6.3E" /><criterion test_ref="oval:com.redhat.rhsa:tst:20040064009" comment="samba-swat is signed with Red Hat master key" />
 
</criteria>

</criteria>

</criteria>

    </definition>
  </definitions>
  <tests>
    <!-- ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ -->
    <rpminfo_test id="oval:com.redhat.rhsa:tst:20040064001"  version="506" comment="Red Hat Enterprise Linux 3 is installed" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20040064001" />
  <state state_ref="oval:com.redhat.rhsa:ste:20040064002" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040064002"  version="506" comment="samba is earlier than 0:3.0.2-6.3E" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20040064002" />
  <state state_ref="oval:com.redhat.rhsa:ste:20040064003" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040064003"  version="506" comment="samba is signed with Red Hat master key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20040064002" />
  <state state_ref="oval:com.redhat.rhsa:ste:20040064001" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040064004"  version="506" comment="samba-client is earlier than 0:3.0.2-6.3E" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20040064003" />
  <state state_ref="oval:com.redhat.rhsa:ste:20040064003" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040064005"  version="506" comment="samba-client is signed with Red Hat master key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20040064003" />
  <state state_ref="oval:com.redhat.rhsa:ste:20040064001" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040064006"  version="506" comment="samba-common is earlier than 0:3.0.2-6.3E" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20040064004" />
  <state state_ref="oval:com.redhat.rhsa:ste:20040064003" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040064007"  version="506" comment="samba-common is signed with Red Hat master key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20040064004" />
  <state state_ref="oval:com.redhat.rhsa:ste:20040064001" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040064008"  version="506" comment="samba-swat is earlier than 0:3.0.2-6.3E" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20040064005" />
  <state state_ref="oval:com.redhat.rhsa:ste:20040064003" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040064009"  version="506" comment="samba-swat is signed with Red Hat master key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20040064005" />
  <state state_ref="oval:com.redhat.rhsa:ste:20040064001" />
</rpminfo_test>

  </tests>

  <objects>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ -->
    <rpminfo_object id="oval:com.redhat.rhsa:obj:20040064003"  version="506" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>samba-client</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040064001"  version="506" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>redhat-release</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040064004"  version="506" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>samba-common</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040064002"  version="506" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>samba</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040064005"  version="506" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>samba-swat</name>
</rpminfo_object>

  </objects>
  <states>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo states   ~~~~~~~~~~~~~~~~~~~~~ -->
    <rpminfo_state id="oval:com.redhat.rhsa:ste:20040064001"  version="506" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <signature_keyid  operation="equals">219180cddb42a60e</signature_keyid>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20040064002"  version="506" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <version  operation="pattern match">^3[^[:digit:]]</version>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20040064003"  version="506" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <evr datatype="evr_string" operation="less than">0:3.0.2-6.3E</evr>
</rpminfo_state>

  </states>
</oval_definitions>

