Vulnerabilities > CVE-2010-2063 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in multiple products

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
samba
canonical
debian
CWE-119
nessus
exploit available
metasploit

Summary

Buffer overflow in the SMB1 packet chaining implementation in the chain_reply function in process.c in smbd in Samba 3.0.x before 3.3.13 allows remote attackers to cause a denial of service (memory corruption and daemon crash) or possibly execute arbitrary code via a crafted field in a packet.

Vulnerable Configurations

Part Description Count
Application
Samba
117
OS
Canonical
3
OS
Debian
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

descriptionSamba chain_reply Memory Corruption (Linux x86). CVE-2010-2063. Remote exploit for linux platform
idEDB-ID:16860
last seen2016-02-02
modified2010-09-04
published2010-09-04
reportermetasploit
sourcehttps://www.exploit-db.com/download/16860/
titleSamba chain_reply Memory Corruption Linux x86

Metasploit

descriptionThis exploits a memory corruption vulnerability present in Samba versions prior to 3.3.13. When handling chained response packets, Samba fails to validate the offset value used when building the next part. By setting this value to a number larger than the destination buffer size, an attacker can corrupt memory. Additionally, setting this value to a value smaller than 'smb_wct' (0x24) will cause the header of the input buffer chunk to be corrupted. After close inspection, it appears that 3.0.x versions of Samba are not exploitable. Since they use an "InputBuffer" size of 0x20441, an attacker cannot cause memory to be corrupted in an exploitable way. It is possible to corrupt the heap header of the "InputBuffer", but it didn't seem possible to get the chunk to be processed again prior to process exit. In order to gain code execution, this exploit attempts to overwrite a "talloc chunk" destructor function pointer. This particular module is capable of exploiting the flaw on x86 Linux systems that do not have the nx memory protection. NOTE: It is possible to make exploitation attempts indefinitely since Samba forks for user sessions in the default configuration.
idMSF:EXPLOIT/LINUX/SAMBA/CHAIN_REPLY
last seen2020-05-01
modified2017-07-24
published2010-07-16
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/linux/samba/chain_reply.rb
titleSamba chain_reply Memory Corruption (Linux x86)

Nessus

  • NASL familyMisc.
    NASL idSAMBA_3_3_13.NASL
    descriptionAccording to its banner, the version of Samba running on the remote host is a version of 3.x before 3.3.13. Such versions are affected by a memory corruption vulnerability when handling specially crafted SMB1 packets. By exploiting this flaw, a remote, unauthenticated attacker could crash the affected service or potentially execute arbitrary code subject to the privileges of the user running the affected application.
    last seen2020-06-01
    modified2020-06-02
    plugin id47036
    published2010-06-17
    reporterThis script is Copyright (C) 2010-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/47036
    titleSamba 3.x < 3.3.13 SMB1 Packet Chaining Memory Corruption
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(47036);
      script_version("1.14");
      script_cvs_date("Date: 2018/11/15 20:50:23");
    
      script_cve_id("CVE-2010-2063");
      script_bugtraq_id(40884);
      script_xref(name:"Secunia", value:"40145");
    
      script_name(english:"Samba 3.x < 3.3.13 SMB1 Packet Chaining Memory Corruption");
      script_summary(english:"Checks version of Samba");
    
      script_set_attribute(attribute:"synopsis", value:"The remote service is affected by a memory corruption vulnerability.");
    
      script_set_attribute(attribute:"description", value:
    "According to its banner, the version of Samba running on the remote
    host is a version of 3.x before 3.3.13. Such versions are affected by
    a memory corruption vulnerability when handling specially crafted SMB1
    packets.
    
    By exploiting this flaw, a remote, unauthenticated attacker could
    crash the affected service or potentially execute arbitrary code
    subject to the privileges of the user running the affected
    application.");
    
      script_set_attribute(attribute:"see_also", value:"https://www.samba.org/samba/security/CVE-2010-2063.html");
      script_set_attribute(attribute:"see_also", value:"https://www.samba.org/samba/history/security.html");
      script_set_attribute(attribute:"solution", value:"Upgrade to Samba 3.3.13 or later.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"metasploit_name", value:'Samba chain_reply Memory Corruption (Linux x86)');
      script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2010/06/16");
      script_set_attribute(attribute:"patch_publication_date", value:"2010/06/16");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/06/17");
    
      script_set_attribute(attribute:"potential_vulnerability", value:"true");
      script_set_attribute(attribute:"plugin_type", value:"remote");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:samba:samba");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Misc.");
    
      script_copyright(english:"This script is Copyright (C) 2010-2018 Tenable Network Security, Inc.");
    
      script_dependencies("smb_nativelanman.nasl");
      script_require_keys("SMB/NativeLanManager", "SMB/samba", "Settings/ParanoidReport");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    
    if (report_paranoia < 2) audit(AUDIT_PARANOID);
    
    port = get_kb_item("SMB/transport");
    
    lanman = get_kb_item("SMB/NativeLanManager");
    if (isnull(lanman)) exit(1, "The 'SMB/NativeLanManager' KB item is missing.");
    if ("Samba " >!< lanman) exit(1, "The SMB service listening on port "+port+" is not running Samba.");
    
    version = lanman - 'Samba ';
    ver = split(version, sep:'.', keep:FALSE);
    
    for (i=0; i<max_index(ver); i++)
      ver[i] = int(ver[i]);
    
    if (
      ver[0] == 3 &&
      (
        ver[1] < 3 ||
        (ver[1] == 3 && ver[2] < 13)
      )
    )
    {
      if (report_verbosity > 1)
      {
        report =
          '\n' +
          'The remote Samba server appears to be :\n' +
          '\n' +
          '  ' + lanman + '\n';
          security_hole(port:port, extra:report);
      }
      else security_hole(port);
    }
    else exit(0, 'Samba version ' + lanman + ' is listening on port '+port+' and not affected.');
    
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2010-0488.NASL
    descriptionUpdated samba and samba3x packages that fix one security issue are now available for Red Hat Enterprise Linux 3, 4, and 5, and Red Hat Enterprise Linux 4.7, 5.3, and 5.4 Extended Update Support. The Red Hat Security Response Team has rated this update as having critical 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. Samba is a suite of programs used by machines to share files, printers, and other information. An input sanitization flaw was found in the way Samba parsed client data. A malicious client could send a specially crafted SMB packet to the Samba server, resulting in arbitrary code execution with the privileges of the Samba server (smbd). (CVE-2010-2063) Red Hat would like to thank the Samba team for responsibly reporting this issue. Upstream acknowledges Jun Mao 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.
    last seen2020-06-01
    modified2020-06-02
    plugin id47101
    published2010-06-21
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/47101
    titleCentOS 3 / 4 / 5 : samba / samba3x (CESA-2010:0488)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Red Hat Security Advisory RHSA-2010:0488 and 
    # CentOS Errata and Security Advisory 2010:0488 respectively.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(47101);
      script_version("1.19");
      script_cvs_date("Date: 2019/10/25 13:36:05");
    
      script_cve_id("CVE-2010-2063");
      script_xref(name:"RHSA", value:"2010:0488");
    
      script_name(english:"CentOS 3 / 4 / 5 : samba / samba3x (CESA-2010:0488)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote CentOS host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Updated samba and samba3x packages that fix one security issue are now
    available for Red Hat Enterprise Linux 3, 4, and 5, and Red Hat
    Enterprise Linux 4.7, 5.3, and 5.4 Extended Update Support.
    
    The Red Hat Security Response Team has rated this update as having
    critical 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.
    
    Samba is a suite of programs used by machines to share files,
    printers, and other information.
    
    An input sanitization flaw was found in the way Samba parsed client
    data. A malicious client could send a specially crafted SMB packet to
    the Samba server, resulting in arbitrary code execution with the
    privileges of the Samba server (smbd). (CVE-2010-2063)
    
    Red Hat would like to thank the Samba team for responsibly reporting
    this issue. Upstream acknowledges Jun Mao 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."
      );
      # https://lists.centos.org/pipermail/centos-announce/2010-August/016910.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?884ed894"
      );
      # https://lists.centos.org/pipermail/centos-announce/2010-August/016911.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?e7b7b5c3"
      );
      # https://lists.centos.org/pipermail/centos-announce/2010-July/016787.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?c3a9d1f1"
      );
      # https://lists.centos.org/pipermail/centos-announce/2010-July/016788.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?8acbcbff"
      );
      # https://lists.centos.org/pipermail/centos-announce/2010-June/016733.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?f2e023c0"
      );
      # https://lists.centos.org/pipermail/centos-announce/2010-June/016734.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?dd7a47fc"
      );
      # https://lists.centos.org/pipermail/centos-announce/2010-June/016737.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?99d79cd5"
      );
      # https://lists.centos.org/pipermail/centos-announce/2010-June/016738.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?e8109f8c"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected samba and / or samba3x packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"metasploit_name", value:'Samba chain_reply Memory Corruption (Linux x86)');
      script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libsmbclient");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libsmbclient-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libtalloc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libtalloc-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libtdb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libtdb-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:samba");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:samba-client");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:samba-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:samba-swat");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:samba3x");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:samba3x-client");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:samba3x-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:samba3x-doc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:samba3x-domainjoin-gui");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:samba3x-swat");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:samba3x-winbind");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:samba3x-winbind-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:tdb-tools");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:centos:centos:3");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:centos:centos:4");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:centos:centos:5");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2010/06/17");
      script_set_attribute(attribute:"patch_publication_date", value:"2010/08/16");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/06/21");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"CentOS Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/CentOS/release", "Host/CentOS/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/CentOS/release");
    if (isnull(release) || "CentOS" >!< release) audit(AUDIT_OS_NOT, "CentOS");
    os_ver = pregmatch(pattern: "CentOS(?: Linux)? release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "CentOS");
    os_ver = os_ver[1];
    if (! preg(pattern:"^(3|4|5)([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "CentOS 3.x / 4.x / 5.x", "CentOS " + os_ver);
    
    if (!get_kb_item("Host/CentOS/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && "ia64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "CentOS", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"CentOS-3", cpu:"i386", reference:"samba-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"CentOS-3", cpu:"x86_64", reference:"samba-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"CentOS-3", cpu:"i386", reference:"samba-client-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"CentOS-3", cpu:"x86_64", reference:"samba-client-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"CentOS-3", cpu:"i386", reference:"samba-common-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"CentOS-3", cpu:"x86_64", reference:"samba-common-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"CentOS-3", cpu:"i386", reference:"samba-swat-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"CentOS-3", cpu:"x86_64", reference:"samba-swat-3.0.9-1.3E.17")) flag++;
    
    if (rpm_check(release:"CentOS-4", cpu:"i386", reference:"samba-3.0.33-0.19.el4_8.1")) flag++;
    if (rpm_check(release:"CentOS-4", cpu:"x86_64", reference:"samba-3.0.33-0.19.el4_8.1")) flag++;
    if (rpm_check(release:"CentOS-4", cpu:"i386", reference:"samba-client-3.0.33-0.19.el4_8.1")) flag++;
    if (rpm_check(release:"CentOS-4", cpu:"x86_64", reference:"samba-client-3.0.33-0.19.el4_8.1")) flag++;
    if (rpm_check(release:"CentOS-4", cpu:"i386", reference:"samba-common-3.0.33-0.19.el4_8.1")) flag++;
    if (rpm_check(release:"CentOS-4", cpu:"x86_64", reference:"samba-common-3.0.33-0.19.el4_8.1")) flag++;
    if (rpm_check(release:"CentOS-4", cpu:"i386", reference:"samba-swat-3.0.33-0.19.el4_8.1")) flag++;
    if (rpm_check(release:"CentOS-4", cpu:"x86_64", reference:"samba-swat-3.0.33-0.19.el4_8.1")) flag++;
    
    if (rpm_check(release:"CentOS-5", reference:"libsmbclient-3.0.33-3.29.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"libsmbclient-devel-3.0.33-3.29.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"libtalloc-1.2.0-52.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"libtalloc-devel-1.2.0-52.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"libtdb-1.1.2-52.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"libtdb-devel-1.1.2-52.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"samba-3.0.33-3.29.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"samba-client-3.0.33-3.29.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"samba-common-3.0.33-3.29.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"samba-swat-3.0.33-3.29.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"samba3x-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"samba3x-client-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"samba3x-common-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"samba3x-doc-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"samba3x-domainjoin-gui-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"samba3x-swat-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"samba3x-winbind-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"samba3x-winbind-devel-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"tdb-tools-1.1.2-52.el5_5")) flag++;
    
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_HOLE,
        extra      : rpm_report_get()
      );
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libsmbclient / libsmbclient-devel / libtalloc / libtalloc-devel / etc");
    }
    
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2010-0488.NASL
    descriptionFrom Red Hat Security Advisory 2010:0488 : Updated samba and samba3x packages that fix one security issue are now available for Red Hat Enterprise Linux 3, 4, and 5, and Red Hat Enterprise Linux 4.7, 5.3, and 5.4 Extended Update Support. The Red Hat Security Response Team has rated this update as having critical 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. Samba is a suite of programs used by machines to share files, printers, and other information. An input sanitization flaw was found in the way Samba parsed client data. A malicious client could send a specially crafted SMB packet to the Samba server, resulting in arbitrary code execution with the privileges of the Samba server (smbd). (CVE-2010-2063) Red Hat would like to thank the Samba team for responsibly reporting this issue. Upstream acknowledges Jun Mao 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.
    last seen2020-06-01
    modified2020-06-02
    plugin id68051
    published2013-07-12
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/68051
    titleOracle Linux 3 / 4 / 5 : samba / samba3x (ELSA-2010-0488)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Red Hat Security Advisory RHSA-2010:0488 and 
    # Oracle Linux Security Advisory ELSA-2010-0488 respectively.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(68051);
      script_version("1.9");
      script_cvs_date("Date: 2019/10/25 13:36:08");
    
      script_cve_id("CVE-2010-2063");
      script_xref(name:"RHSA", value:"2010:0488");
    
      script_name(english:"Oracle Linux 3 / 4 / 5 : samba / samba3x (ELSA-2010-0488)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Oracle Linux host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "From Red Hat Security Advisory 2010:0488 :
    
    Updated samba and samba3x packages that fix one security issue are now
    available for Red Hat Enterprise Linux 3, 4, and 5, and Red Hat
    Enterprise Linux 4.7, 5.3, and 5.4 Extended Update Support.
    
    The Red Hat Security Response Team has rated this update as having
    critical 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.
    
    Samba is a suite of programs used by machines to share files,
    printers, and other information.
    
    An input sanitization flaw was found in the way Samba parsed client
    data. A malicious client could send a specially crafted SMB packet to
    the Samba server, resulting in arbitrary code execution with the
    privileges of the Samba server (smbd). (CVE-2010-2063)
    
    Red Hat would like to thank the Samba team for responsibly reporting
    this issue. Upstream acknowledges Jun Mao 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."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://oss.oracle.com/pipermail/el-errata/2010-June/001500.html"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://oss.oracle.com/pipermail/el-errata/2010-June/001501.html"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://oss.oracle.com/pipermail/el-errata/2010-June/001502.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected samba and / or samba3x packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"metasploit_name", value:'Samba chain_reply Memory Corruption (Linux x86)');
      script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libsmbclient");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libsmbclient-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libtalloc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libtalloc-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libtdb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libtdb-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:samba");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:samba-client");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:samba-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:samba-swat");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:samba3x");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:samba3x-client");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:samba3x-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:samba3x-doc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:samba3x-domainjoin-gui");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:samba3x-swat");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:samba3x-winbind");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:samba3x-winbind-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:tdb-tools");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:linux:3");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:linux:4");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:linux:5");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2010/06/17");
      script_set_attribute(attribute:"patch_publication_date", value:"2010/06/17");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/07/12");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Oracle Linux Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/OracleLinux", "Host/RedHat/release", "Host/RedHat/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/OracleLinux")) audit(AUDIT_OS_NOT, "Oracle Linux");
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || !pregmatch(pattern: "Oracle (?:Linux Server|Enterprise Linux)", string:release)) audit(AUDIT_OS_NOT, "Oracle Linux");
    os_ver = pregmatch(pattern: "Oracle (?:Linux Server|Enterprise Linux) .*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Oracle Linux");
    os_ver = os_ver[1];
    if (! preg(pattern:"^(3|4|5)([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Oracle Linux 3 / 4 / 5", "Oracle Linux " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && "ia64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Oracle Linux", cpu);
    
    flag = 0;
    if (rpm_check(release:"EL3", cpu:"i386", reference:"samba-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"EL3", cpu:"x86_64", reference:"samba-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"EL3", cpu:"i386", reference:"samba-client-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"EL3", cpu:"x86_64", reference:"samba-client-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"EL3", cpu:"i386", reference:"samba-common-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"EL3", cpu:"x86_64", reference:"samba-common-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"EL3", cpu:"i386", reference:"samba-swat-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"EL3", cpu:"x86_64", reference:"samba-swat-3.0.9-1.3E.17")) flag++;
    
    if (rpm_check(release:"EL4", reference:"samba-3.0.33-0.19.el4_8.1")) flag++;
    if (rpm_check(release:"EL4", reference:"samba-client-3.0.33-0.19.el4_8.1")) flag++;
    if (rpm_check(release:"EL4", reference:"samba-common-3.0.33-0.19.el4_8.1")) flag++;
    if (rpm_check(release:"EL4", reference:"samba-swat-3.0.33-0.19.el4_8.1")) flag++;
    
    if (rpm_check(release:"EL5", reference:"libsmbclient-3.0.33-3.29.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"libsmbclient-devel-3.0.33-3.29.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"libtalloc-1.2.0-52.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"libtalloc-devel-1.2.0-52.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"libtdb-1.1.2-52.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"libtdb-devel-1.1.2-52.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"samba-3.0.33-3.29.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"samba-client-3.0.33-3.29.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"samba-common-3.0.33-3.29.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"samba-swat-3.0.33-3.29.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"samba3x-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"samba3x-client-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"samba3x-common-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"samba3x-doc-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"samba3x-domainjoin-gui-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"samba3x-swat-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"samba3x-winbind-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"samba3x-winbind-devel-3.3.8-0.52.el5_5")) flag++;
    if (rpm_check(release:"EL5", reference:"tdb-tools-1.1.2-52.el5_5")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libsmbclient / libsmbclient-devel / libtalloc / libtalloc-devel / etc");
    }
    
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2010-0488.NASL
    descriptionUpdated samba and samba3x packages that fix one security issue are now available for Red Hat Enterprise Linux 3, 4, and 5, and Red Hat Enterprise Linux 4.7, 5.3, and 5.4 Extended Update Support. The Red Hat Security Response Team has rated this update as having critical 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. Samba is a suite of programs used by machines to share files, printers, and other information. An input sanitization flaw was found in the way Samba parsed client data. A malicious client could send a specially crafted SMB packet to the Samba server, resulting in arbitrary code execution with the privileges of the Samba server (smbd). (CVE-2010-2063) Red Hat would like to thank the Samba team for responsibly reporting this issue. Upstream acknowledges Jun Mao 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.
    last seen2020-06-01
    modified2020-06-02
    plugin id47034
    published2010-06-17
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/47034
    titleRHEL 3 / 4 / 5 : samba and samba3x (RHSA-2010:0488)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Red Hat Security Advisory RHSA-2010:0488. The text 
    # itself is copyright (C) Red Hat, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(47034);
      script_version ("1.22");
      script_cvs_date("Date: 2019/10/25 13:36:15");
    
      script_cve_id("CVE-2010-2063");
      script_xref(name:"RHSA", value:"2010:0488");
    
      script_name(english:"RHEL 3 / 4 / 5 : samba and samba3x (RHSA-2010:0488)");
      script_summary(english:"Checks the rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Red Hat host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Updated samba and samba3x packages that fix one security issue are now
    available for Red Hat Enterprise Linux 3, 4, and 5, and Red Hat
    Enterprise Linux 4.7, 5.3, and 5.4 Extended Update Support.
    
    The Red Hat Security Response Team has rated this update as having
    critical 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.
    
    Samba is a suite of programs used by machines to share files,
    printers, and other information.
    
    An input sanitization flaw was found in the way Samba parsed client
    data. A malicious client could send a specially crafted SMB packet to
    the Samba server, resulting in arbitrary code execution with the
    privileges of the Samba server (smbd). (CVE-2010-2063)
    
    Red Hat would like to thank the Samba team for responsibly reporting
    this issue. Upstream acknowledges Jun Mao 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."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2010-2063"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/errata/RHSA-2010:0488"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"metasploit_name", value:'Samba chain_reply Memory Corruption (Linux x86)');
      script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libsmbclient");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libsmbclient-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libtalloc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libtalloc-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libtdb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libtdb-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:samba");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:samba-client");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:samba-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:samba-swat");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:samba3x");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:samba3x-client");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:samba3x-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:samba3x-doc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:samba3x-domainjoin-gui");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:samba3x-swat");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:samba3x-winbind");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:samba3x-winbind-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:tdb-tools");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:3");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:4");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:4.7");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:4.8");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:5");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:5.3");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:5.4");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2010/06/17");
      script_set_attribute(attribute:"patch_publication_date", value:"2010/06/16");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/06/17");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Red Hat Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Red Hat" >!< release) audit(AUDIT_OS_NOT, "Red Hat");
    os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Red Hat");
    os_ver = os_ver[1];
    if (! preg(pattern:"^(3|4|5)([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat 3.x / 4.x / 5.x", "Red Hat " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "s390" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Red Hat", cpu);
    
    yum_updateinfo = get_kb_item("Host/RedHat/yum-updateinfo");
    if (!empty_or_null(yum_updateinfo)) 
    {
      rhsa = "RHSA-2010:0488";
      yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa);
      if (!empty_or_null(yum_report))
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_HOLE,
          extra      : yum_report 
        );
        exit(0);
      }
      else
      {
        audit_message = "affected by Red Hat security advisory " + rhsa;
        audit(AUDIT_OS_NOT, audit_message);
      }
    }
    else
    {  sp = get_kb_item("Host/RedHat/minor_release");
      if (isnull(sp)) audit(AUDIT_UNKNOWN_APP_VER, "Red Hat");
    
      flag = 0;
      if (rpm_check(release:"RHEL3", reference:"samba-3.0.9-1.3E.17")) flag++;
    
      if (rpm_check(release:"RHEL3", reference:"samba-client-3.0.9-1.3E.17")) flag++;
    
      if (rpm_check(release:"RHEL3", reference:"samba-common-3.0.9-1.3E.17")) flag++;
    
      if (rpm_check(release:"RHEL3", reference:"samba-swat-3.0.9-1.3E.17")) flag++;
    
    
    if (sp == "7") {   if (rpm_check(release:"RHEL4", sp:"7", reference:"samba-3.0.28-0.10.el4_7")) flag++; }
      else { if (rpm_check(release:"RHEL4", reference:"samba-3.0.33-0.19.el4_8.1")) flag++; }
    
    if (sp == "7") {   if (rpm_check(release:"RHEL4", sp:"7", reference:"samba-client-3.0.28-0.10.el4_7")) flag++; }
      else { if (rpm_check(release:"RHEL4", reference:"samba-client-3.0.33-0.19.el4_8.1")) flag++; }
    
    if (sp == "7") {   if (rpm_check(release:"RHEL4", sp:"7", reference:"samba-common-3.0.28-0.10.el4_7")) flag++; }
      else { if (rpm_check(release:"RHEL4", reference:"samba-common-3.0.33-0.19.el4_8.1")) flag++; }
    
    if (sp == "7") {   if (rpm_check(release:"RHEL4", sp:"7", reference:"samba-swat-3.0.28-0.10.el4_7")) flag++; }
      else { if (rpm_check(release:"RHEL4", reference:"samba-swat-3.0.33-0.19.el4_8.1")) flag++; }
    
    
      if (rpm_check(release:"RHEL5", reference:"libsmbclient-3.0.33-3.29.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", reference:"libsmbclient-devel-3.0.33-3.29.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", reference:"libtalloc-1.2.0-52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", reference:"libtalloc-devel-1.2.0-52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", reference:"libtdb-1.1.2-52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", reference:"libtdb-devel-1.1.2-52.el5_5")) flag++;
    
    if (sp == "4") {   if (rpm_check(release:"RHEL5", sp:"4", cpu:"i386", reference:"samba-3.0.33-3.15.el5_4.2")) flag++; }
    else if (sp == "3") {   if (rpm_check(release:"RHEL5", sp:"3", cpu:"i386", reference:"samba-3.0.33-3.7.el5_3.2")) flag++; }
      else { if (rpm_check(release:"RHEL5", cpu:"i386", reference:"samba-3.0.33-3.29.el5_5")) flag++; }
    
    if (sp == "4") {   if (rpm_check(release:"RHEL5", sp:"4", cpu:"s390x", reference:"samba-3.0.33-3.15.el5_4.2")) flag++; }
    else if (sp == "3") {   if (rpm_check(release:"RHEL5", sp:"3", cpu:"s390x", reference:"samba-3.0.33-3.7.el5_3.2")) flag++; }
      else { if (rpm_check(release:"RHEL5", cpu:"s390x", reference:"samba-3.0.33-3.29.el5_5")) flag++; }
    
    if (sp == "4") {   if (rpm_check(release:"RHEL5", sp:"4", cpu:"x86_64", reference:"samba-3.0.33-3.15.el5_4.2")) flag++; }
    else if (sp == "3") {   if (rpm_check(release:"RHEL5", sp:"3", cpu:"x86_64", reference:"samba-3.0.33-3.7.el5_3.2")) flag++; }
      else { if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"samba-3.0.33-3.29.el5_5")) flag++; }
    
    if (sp == "4") {   if (rpm_check(release:"RHEL5", sp:"4", cpu:"i386", reference:"samba-client-3.0.33-3.15.el5_4.2")) flag++; }
    else if (sp == "3") {   if (rpm_check(release:"RHEL5", sp:"3", cpu:"i386", reference:"samba-client-3.0.33-3.7.el5_3.2")) flag++; }
      else { if (rpm_check(release:"RHEL5", cpu:"i386", reference:"samba-client-3.0.33-3.29.el5_5")) flag++; }
    
    if (sp == "4") {   if (rpm_check(release:"RHEL5", sp:"4", cpu:"s390x", reference:"samba-client-3.0.33-3.15.el5_4.2")) flag++; }
    else if (sp == "3") {   if (rpm_check(release:"RHEL5", sp:"3", cpu:"s390x", reference:"samba-client-3.0.33-3.7.el5_3.2")) flag++; }
      else { if (rpm_check(release:"RHEL5", cpu:"s390x", reference:"samba-client-3.0.33-3.29.el5_5")) flag++; }
    
    if (sp == "4") {   if (rpm_check(release:"RHEL5", sp:"4", cpu:"x86_64", reference:"samba-client-3.0.33-3.15.el5_4.2")) flag++; }
    else if (sp == "3") {   if (rpm_check(release:"RHEL5", sp:"3", cpu:"x86_64", reference:"samba-client-3.0.33-3.7.el5_3.2")) flag++; }
      else { if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"samba-client-3.0.33-3.29.el5_5")) flag++; }
    
    if (sp == "4") {   if (rpm_check(release:"RHEL5", sp:"4", reference:"samba-common-3.0.33-3.15.el5_4.2")) flag++; }
    else if (sp == "3") {   if (rpm_check(release:"RHEL5", sp:"3", reference:"samba-common-3.0.33-3.7.el5_3.2")) flag++; }
      else { if (rpm_check(release:"RHEL5", reference:"samba-common-3.0.33-3.29.el5_5")) flag++; }
    
    if (sp == "4") {   if (rpm_check(release:"RHEL5", sp:"4", cpu:"i386", reference:"samba-swat-3.0.33-3.15.el5_4.2")) flag++; }
    else if (sp == "3") {   if (rpm_check(release:"RHEL5", sp:"3", cpu:"i386", reference:"samba-swat-3.0.33-3.7.el5_3.2")) flag++; }
      else { if (rpm_check(release:"RHEL5", cpu:"i386", reference:"samba-swat-3.0.33-3.29.el5_5")) flag++; }
    
    if (sp == "4") {   if (rpm_check(release:"RHEL5", sp:"4", cpu:"s390x", reference:"samba-swat-3.0.33-3.15.el5_4.2")) flag++; }
    else if (sp == "3") {   if (rpm_check(release:"RHEL5", sp:"3", cpu:"s390x", reference:"samba-swat-3.0.33-3.7.el5_3.2")) flag++; }
      else { if (rpm_check(release:"RHEL5", cpu:"s390x", reference:"samba-swat-3.0.33-3.29.el5_5")) flag++; }
    
    if (sp == "4") {   if (rpm_check(release:"RHEL5", sp:"4", cpu:"x86_64", reference:"samba-swat-3.0.33-3.15.el5_4.2")) flag++; }
    else if (sp == "3") {   if (rpm_check(release:"RHEL5", sp:"3", cpu:"x86_64", reference:"samba-swat-3.0.33-3.7.el5_3.2")) flag++; }
      else { if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"samba-swat-3.0.33-3.29.el5_5")) flag++; }
    
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"samba3x-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"s390x", reference:"samba3x-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"samba3x-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"samba3x-client-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"s390x", reference:"samba3x-client-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"samba3x-client-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"samba3x-common-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"s390x", reference:"samba3x-common-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"samba3x-common-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"samba3x-doc-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"s390x", reference:"samba3x-doc-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"samba3x-doc-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"samba3x-domainjoin-gui-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"s390x", reference:"samba3x-domainjoin-gui-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"samba3x-domainjoin-gui-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"samba3x-swat-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"s390x", reference:"samba3x-swat-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"samba3x-swat-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", reference:"samba3x-winbind-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", reference:"samba3x-winbind-devel-3.3.8-0.52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"tdb-tools-1.1.2-52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"s390x", reference:"tdb-tools-1.1.2-52.el5_5")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"tdb-tools-1.1.2-52.el5_5")) flag++;
    
    
      if (flag)
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_HOLE,
          extra      : rpm_report_get() + redhat_report_package_caveat()
        );
        exit(0);
      }
      else
      {
        tested = pkg_tests_get();
        if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
        else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libsmbclient / libsmbclient-devel / libtalloc / libtalloc-devel / etc");
      }
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE9_12622.NASL
    descriptionThis update of the Samba server package fixes the following security issue : - A buffer overrun was possible in chain_reply code in 3.3.x and below, which could be used to crash the samba server or potentially execute code. (CVE-2010-2063) Also, the following bug has been fixed : - An uninitialized variable read could cause smbd to crash (bso#7254, bnc#605935).
    last seen2020-06-01
    modified2020-06-02
    plugin id47568
    published2010-07-01
    reporterThis script is Copyright (C) 2010-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/47568
    titleSuSE9 Security Update : Samba (YOU Patch Number 12622)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The text description of this plugin is (C) Novell, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(47568);
      script_version("1.7");
      script_cvs_date("Date: 2019/10/25 13:36:37");
    
      script_cve_id("CVE-2010-2063");
    
      script_name(english:"SuSE9 Security Update : Samba (YOU Patch Number 12622)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SuSE 9 host is missing a security-related patch."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update of the Samba server package fixes the following security
    issue :
    
      - A buffer overrun was possible in chain_reply code in
        3.3.x and below, which could be used to crash the samba
        server or potentially execute code. (CVE-2010-2063)
    
    Also, the following bug has been fixed :
    
      - An uninitialized variable read could cause smbd to crash
        (bso#7254, bnc#605935)."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://support.novell.com/security/cve/CVE-2010-2063.html"
      );
      script_set_attribute(attribute:"solution", value:"Apply YOU patch number 12622.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"metasploit_name", value:'Samba chain_reply Memory Corruption (Linux x86)');
      script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:suse:suse_linux");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/06/14");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/07/01");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-2019 Tenable Network Security, Inc.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/rpm-list");
    
      exit(0);
    }
    
    
    include("global_settings.inc");
    include("rpm.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) exit(0, "Local checks are not enabled.");
    if (!get_kb_item("Host/SuSE/release")) exit(0, "The host is not running SuSE.");
    if (!get_kb_item("Host/SuSE/rpm-list")) exit(1, "Could not obtain the list of installed packages.");
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) exit(1, "Failed to determine the architecture type.");
    if (cpu >!< "x86_64" && cpu !~ "^i[3-6]86$") exit(1, "Local checks for SuSE 9 on the '"+cpu+"' architecture have not been implemented.");
    
    
    flag = 0;
    if (rpm_check(release:"SUSE9", reference:"libsmbclient-3.0.26a-0.15")) flag++;
    if (rpm_check(release:"SUSE9", reference:"libsmbclient-devel-3.0.26a-0.15")) flag++;
    if (rpm_check(release:"SUSE9", reference:"samba-3.0.26a-0.15")) flag++;
    if (rpm_check(release:"SUSE9", reference:"samba-client-3.0.26a-0.15")) flag++;
    if (rpm_check(release:"SUSE9", reference:"samba-doc-3.0.26a-0.15")) flag++;
    if (rpm_check(release:"SUSE9", reference:"samba-pdb-3.0.26a-0.15")) flag++;
    if (rpm_check(release:"SUSE9", reference:"samba-python-3.0.26a-0.15")) flag++;
    if (rpm_check(release:"SUSE9", reference:"samba-vscan-0.3.6b-0.43")) flag++;
    if (rpm_check(release:"SUSE9", reference:"samba-winbind-3.0.26a-0.15")) flag++;
    if (rpm_check(release:"SUSE9", cpu:"x86_64", reference:"libsmbclient-32bit-9-201006132231")) flag++;
    if (rpm_check(release:"SUSE9", cpu:"x86_64", reference:"samba-32bit-9-201006132231")) flag++;
    if (rpm_check(release:"SUSE9", cpu:"x86_64", reference:"samba-client-32bit-9-201006132231")) flag++;
    if (rpm_check(release:"SUSE9", cpu:"x86_64", reference:"samba-winbind-32bit-9-201006132231")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else exit(0, "The host is not affected.");
    
  • NASL familyVMware ESX Local Security Checks
    NASL idVMWARE_VMSA-2010-0013.NASL
    descriptiona. Service Console update for cpio The service console package cpio is updated to version 2.5-6.RHEL3 for ESX 3.x versions and updated to version 2.6-23.el5_4.1 for ESX 4.x versions. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the names CVE-2005-4268 and CVE-2010-0624 to the issues addressed in the update for ESX 3.x and the names CVE-2007-4476 and CVE-2010-0624 to the issues addressed in the update for ESX 4.x. b. Service Console update for tar The service console package tar is updated to version 1.13.25-16.RHEL3 for ESX 3.x versions and updated to version 1.15.1-23.0.1.el5_4.2 for ESX 4.x versions. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2010-0624 to the issue addressed in the update for ESX 3.x and the names CVE-2007-4476 and CVE-2010-0624 to the issues addressed in the update for ESX 4.x. c. Service Console update for samba The service console packages for samba are updated to version samba-3.0.9-1.3E.17vmw, samba-client-3.0.9-1.3E.17vmw and samba-common-3.0.9-1.3E.17vmw. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2010-2063 to the issue addressed in this update. Note : The issue mentioned above is present in the Samba server (smbd) and is not present in the Samba client or Samba common packages. To determine if your system has Samba server installed do a
    last seen2020-06-01
    modified2020-06-02
    plugin id49085
    published2010-09-02
    reporterThis script is Copyright (C) 2010-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/49085
    titleVMSA-2010-0013 : VMware ESX third-party updates for Service Console
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from VMware Security Advisory 2010-0013. 
    # The text itself is copyright (C) VMware Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(49085);
      script_version("1.23");
      script_cvs_date("Date: 2018/08/06 14:03:16");
    
      script_cve_id("CVE-2005-4268", "CVE-2007-4476", "CVE-2008-5302", "CVE-2008-5303", "CVE-2010-0624", "CVE-2010-1168", "CVE-2010-1321", "CVE-2010-1447", "CVE-2010-2063");
      script_bugtraq_id(16057, 38628, 40235, 40302, 40305, 40884);
      script_xref(name:"VMSA", value:"2010-0013");
    
      script_name(english:"VMSA-2010-0013 : VMware ESX third-party updates for Service Console");
      script_summary(english:"Checks esxupdate output for the patches");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote VMware ESX host is missing one or more security-related
    patches."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "a. Service Console update for cpio
    
       The service console package cpio is updated to version 2.5-6.RHEL3
       for ESX 3.x versions and updated to version 2.6-23.el5_4.1 for
       ESX 4.x versions.
    
       The Common Vulnerabilities and Exposures project (cve.mitre.org)
       has assigned the names CVE-2005-4268 and CVE-2010-0624 to the issues
       addressed in the update for ESX 3.x and the names CVE-2007-4476 and
       CVE-2010-0624 to the issues addressed in the update for ESX 4.x.
    
    b. Service Console update for tar
    
       The service console package tar is updated to version
       1.13.25-16.RHEL3 for ESX 3.x versions and updated to version
       1.15.1-23.0.1.el5_4.2 for ESX 4.x versions.
    
       The Common Vulnerabilities and Exposures project (cve.mitre.org)
       has assigned the name CVE-2010-0624 to the issue addressed in the
       update for ESX 3.x and the names CVE-2007-4476 and CVE-2010-0624
       to the issues addressed in the update for ESX 4.x.
    
    c. Service Console update for samba
    
       The service console packages for samba are updated to version
       samba-3.0.9-1.3E.17vmw, samba-client-3.0.9-1.3E.17vmw and
       samba-common-3.0.9-1.3E.17vmw.
    
       The Common Vulnerabilities and Exposures project (cve.mitre.org)
       has assigned the name CVE-2010-2063 to the issue addressed in this
       update.
    
       Note :
       The issue mentioned above is present in the Samba server (smbd) and
       is not present in the Samba client or Samba common packages.
    
       To determine if your system has Samba server installed do a
       'rpm -q samba`.
    
       The following lists when the Samba server is installed on the ESX
       service console :
    
       - ESX 4.0, ESX 4.1
         The Samba server is not present on ESX 4.0 and ESX 4.1.
    
       - ESX 3.5
         The Samba server is present if an earlier patch for Samba has been
         installed.
    
       - ESX 3.0.3
         The Samba server is present if ESX 3.0.3 was upgraded from an
         earlier version of ESX 3 and a Samba patch was installed on that
         version.
    
       The Samba server is not needed to operate the service console and
       can be be disabled without loss of functionality to the service
       console.
    
    d. Service Console update for krb5
    
       The service console package krb5 is updated to version 1.2.7-72
       for ESX 3.x versions and to version 1.6.1-36.el5_5.4 for ESX 4.x
       versions.
    
       The Common Vulnerabilities and Exposures project (cve.mitre.org)
       has assigned the name CVE-2010-1321 to the issue addressed in
       these updates.
    
    e. Service Console update for perl
    
       The service console package perl is updated to version
       5.8.0-101.EL3 for ESX 3.x versions and version 5.8.8-32.el5_5.1
       for ESX 4.x versions.
    
       The Common Vulnerabilities and Exposures project (cve.mitre.org)
       has assigned the names CVE-2010-1168 and CVE-2010-1447 to the issues
       addressed in the update for ESX 3.x and the names CVE-2008-5302,
       CVE-2008-5303, CVE-2010-1168, and CVE-2010-1447 to the issues
       addressed in the update for ESX 4.x."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://lists.vmware.com/pipermail/security-announce/2011/000125.html"
      );
      script_set_attribute(attribute:"solution", value:"Apply the missing patches.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:S/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"metasploit_name", value:'Samba chain_reply Memory Corruption (Linux x86)');
      script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
      script_cwe_id(119, 362);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esx:3.0.3");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esx:3.5");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esx:4.0");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esx:4.1");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/08/31");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/09/02");
      script_set_attribute(attribute:"vuln_publication_date", value:"2005/11/07");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-2018 Tenable Network Security, Inc.");
      script_family(english:"VMware ESX Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/VMware/release", "Host/VMware/version");
      script_require_ports("Host/VMware/esxupdate", "Host/VMware/esxcli_software_vibs");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("vmware_esx_packages.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/VMware/release")) audit(AUDIT_OS_NOT, "VMware ESX / ESXi");
    if (
      !get_kb_item("Host/VMware/esxcli_software_vibs") &&
      !get_kb_item("Host/VMware/esxupdate")
    ) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    init_esx_check(date:"2010-08-31");
    flag = 0;
    
    
    if (esx_check(ver:"ESX 3.0.3", patch:"ESX303-201102402-SG")) flag++;
    
    if (esx_check(ver:"ESX 3.5.0", patch:"ESX350-201008405-SG")) flag++;
    if (esx_check(ver:"ESX 3.5.0", patch:"ESX350-201008407-SG")) flag++;
    if (
      esx_check(
        ver           : "ESX 3.5.0",
        patch         : "ESX350-201008410-SG",
        patch_updates : make_list("ESX350-201012408-SG")
      )
    ) flag++;
    if (esx_check(ver:"ESX 3.5.0", patch:"ESX350-201008411-SG")) flag++;
    if (esx_check(ver:"ESX 3.5.0", patch:"ESX350-201008412-SG")) flag++;
    
    if (
      esx_check(
        ver           : "ESX 4.0",
        patch         : "ESX400-201009402-SG",
        patch_updates : make_list("ESX400-Update03", "ESX400-Update04")
      )
    ) flag++;
    if (
      esx_check(
        ver           : "ESX 4.0",
        patch         : "ESX400-201009403-SG",
        patch_updates : make_list("ESX400-201110403-SG", "ESX400-201203407-SG", "ESX400-Update03", "ESX400-Update04")
      )
    ) flag++;
    if (
      esx_check(
        ver           : "ESX 4.0",
        patch         : "ESX400-201009406-SG",
        patch_updates : make_list("ESX400-Update03", "ESX400-Update04")
      )
    ) flag++;
    if (
      esx_check(
        ver           : "ESX 4.0",
        patch         : "ESX400-201009411-SG",
        patch_updates : make_list("ESX400-Update03", "ESX400-Update04")
      )
    ) flag++;
    
    if (
      esx_check(
        ver           : "ESX 4.1",
        patch         : "ESX410-201010409-SG",
        patch_updates : make_list("ESX40-TO-ESX41UPDATE01", "ESX410-Update01", "ESX410-Update02", "ESX410-Update03")
      )
    ) flag++;
    if (
      esx_check(
        ver           : "ESX 4.1",
        patch         : "ESX410-201010412-SG",
        patch_updates : make_list("ESX40-TO-ESX41UPDATE01", "ESX410-Update01", "ESX410-Update02", "ESX410-Update03")
      )
    ) flag++;
    if (
      esx_check(
        ver           : "ESX 4.1",
        patch         : "ESX410-201010413-SG",
        patch_updates : make_list("ESX40-TO-ESX41UPDATE01", "ESX410-Update01", "ESX410-Update02", "ESX410-Update03")
      )
    ) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:esx_report_get());
      else security_hole(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyMacOS X Local Security Checks
    NASL idMACOSX_SECUPD2010-005.NASL
    descriptionThe remote host is running a version of Mac OS X 10.6 or 10.5 that does not have Security Update 2010-005 applied. This security update contains fixes for the following products : - ATS - CFNetwork - ClamAV - CoreGraphics - libsecurity - PHP - Samba
    last seen2020-06-01
    modified2020-06-02
    plugin id48424
    published2010-08-24
    reporterThis script is Copyright (C) 2010-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/48424
    titleMac OS X Multiple Vulnerabilities (Security Update 2010-005)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    
    if (!defined_func("bn_random")) exit(0);
    if (NASL_LEVEL < 3000) exit(0);
    
    
    include("compat.inc");
    
    
    if (description)
    {
      script_id(48424);
      script_version("1.14");
      script_cvs_date("Date: 2018/07/14  1:59:35");
    
      script_cve_id(
        "CVE-2010-0098",
        "CVE-2010-0397",
        "CVE-2010-1129",
        "CVE-2010-1205",
        "CVE-2010-1311",
        "CVE-2010-1800",
        "CVE-2010-1801",
        "CVE-2010-1802",
        "CVE-2010-1808",
        "CVE-2010-2063",
        "CVE-2010-2225",
        "CVE-2010-2484",
        "CVE-2010-2531"
      );
      script_bugtraq_id(
        38708, 
        39262, 
        40884, 
        40948, 
        41174, 
        42651, 
        42652, 
        42653, 
        42655
      );
    
      script_name(english:"Mac OS X Multiple Vulnerabilities (Security Update 2010-005)");
      script_summary(english:"Check for the presence of Security Update 2010-005");
    
      script_set_attribute(
        attribute:"synopsis",
        value:
    "The remote host is missing a Mac OS X update that fixes security
    issues."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The remote host is running a version of Mac OS X 10.6 or 10.5 that
    does not have Security Update 2010-005 applied. 
    
    This security update contains fixes for the following products :
    
      - ATS
      - CFNetwork
      - ClamAV
      - CoreGraphics
      - libsecurity
      - PHP
      - Samba"
      );
      script_set_attribute(
        attribute:"see_also", 
        value:"http://support.apple.com/kb/HT4312"
      );
      script_set_attribute(
        attribute:"see_also", 
        value:"http://lists.apple.com/archives/security-announce/2010/Aug/msg00003.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Install Security Update 2010-005 or later."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"metasploit_name", value:'Samba chain_reply Memory Corruption (Linux x86)');
      script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
      script_set_attribute(attribute:"vuln_publication_date", value:"2010/03/12");
      script_set_attribute(attribute:"patch_publication_date", value:"2010/08/24");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/08/24");
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:apple:mac_os_x");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"MacOS X Local Security Checks");
      script_copyright(english:"This script is Copyright (C) 2010-2018 Tenable Network Security, Inc.");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/MacOSX/packages", "Host/uname");
    
      exit(0);
    }
    
    
    uname = get_kb_item("Host/uname");
    if (!uname) exit(1, "The 'Host/uname' KB item is missing.");
    
    pat = "^.+Darwin.* ([0-9]+\.[0-9.]+).*$";
    if (!ereg(pattern:pat, string:uname)) exit(1, "Can't identify the Darwin kernel version from the uname output ("+uname+").");
    
    
    darwin = ereg_replace(pattern:pat, replace:"\1", string:uname);
    if (ereg(pattern:"^(9\.[0-8]\.|10\.[0-4]\.)", string:darwin))
    {
      packages = get_kb_item("Host/MacOSX/packages/boms");
      if (!packages) exit(1, "The 'Host/MacOSX/packages/boms' KB item is missing.");
    
      if (egrep(pattern:"^com\.apple\.pkg\.update\.security\.(2010\.00[5-9]|201[1-9]\.[0-9]+)(\.snowleopard)?\.bom", string:packages)) 
        exit(0, "The host has Security Update 2010-005 or later installed and therefore is not affected.");
      else 
        security_hole(0);
    }
    else exit(0, "The host is running Darwin kernel version "+darwin+" and therefore is not affected.");
    
  • NASL familySlackware Local Security Checks
    NASL idSLACKWARE_SSA_2010-169-01.NASL
    descriptionNew samba packages are available for Slackware 10.0, 10.1, 10.2, 11.0, 12.0, 12.1, 12.2, and 13.0 to fix a security issue.
    last seen2020-06-01
    modified2020-06-02
    plugin id47047
    published2010-06-20
    reporterThis script is Copyright (C) 2010-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/47047
    titleSlackware 10.0 / 10.1 / 10.2 / 11.0 / 12.0 / 12.1 / 12.2 / 13.0 : samba (SSA:2010-169-01)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Slackware Security Advisory 2010-169-01. The text 
    # itself is copyright (C) Slackware Linux, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(47047);
      script_version("1.14");
      script_cvs_date("Date: 2019/10/25 13:36:21");
    
      script_cve_id("CVE-2010-2063");
      script_bugtraq_id(40884);
      script_xref(name:"SSA", value:"2010-169-01");
    
      script_name(english:"Slackware 10.0 / 10.1 / 10.2 / 11.0 / 12.0 / 12.1 / 12.2 / 13.0 : samba (SSA:2010-169-01)");
      script_summary(english:"Checks for updated package in /var/log/packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Slackware host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "New samba packages are available for Slackware 10.0, 10.1, 10.2,
    11.0, 12.0, 12.1, 12.2, and 13.0 to fix a security issue."
      );
      # http://www.slackware.com/security/viewer.php?l=slackware-security&y=2010&m=slackware-security.471914
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?0497d567"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected samba package.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"metasploit_name", value:'Samba chain_reply Memory Corruption (Linux x86)');
      script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:slackware:slackware_linux:samba");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:slackware:slackware_linux:10.0");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:slackware:slackware_linux:10.1");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:slackware:slackware_linux:10.2");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:slackware:slackware_linux:11.0");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:slackware:slackware_linux:12.0");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:slackware:slackware_linux:12.1");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:slackware:slackware_linux:12.2");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:slackware:slackware_linux:13.0");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/06/18");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/06/20");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-2019 Tenable Network Security, Inc.");
      script_family(english:"Slackware Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Slackware/release", "Host/Slackware/packages");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("slackware.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/Slackware/release")) audit(AUDIT_OS_NOT, "Slackware");
    if (!get_kb_item("Host/Slackware/packages")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Slackware", cpu);
    
    
    flag = 0;
    if (slackware_check(osver:"10.0", pkgname:"samba", pkgver:"3.0.37", pkgarch:"i486", pkgnum:"2_slack10.0")) flag++;
    
    if (slackware_check(osver:"10.1", pkgname:"samba", pkgver:"3.0.37", pkgarch:"i486", pkgnum:"2_slack10.1")) flag++;
    
    if (slackware_check(osver:"10.2", pkgname:"samba", pkgver:"3.0.37", pkgarch:"i486", pkgnum:"2_slack10.2")) flag++;
    
    if (slackware_check(osver:"11.0", pkgname:"samba", pkgver:"3.0.37", pkgarch:"i486", pkgnum:"2_slack11.0")) flag++;
    
    if (slackware_check(osver:"12.0", pkgname:"samba", pkgver:"3.0.37", pkgarch:"i486", pkgnum:"2_slack12.0")) flag++;
    
    if (slackware_check(osver:"12.1", pkgname:"samba", pkgver:"3.0.37", pkgarch:"i486", pkgnum:"2_slack12.1")) flag++;
    
    if (slackware_check(osver:"12.2", pkgname:"samba", pkgver:"3.2.15", pkgarch:"i486", pkgnum:"2_slack12.2")) flag++;
    
    if (slackware_check(osver:"13.0", pkgname:"samba", pkgver:"3.2.15", pkgarch:"i486", pkgnum:"2_slack13.0")) flag++;
    if (slackware_check(osver:"13.0", arch:"x86_64", pkgname:"samba", pkgver:"3.2.15", pkgarch:"x86_64", pkgnum:"2_slack13.0")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:slackware_report_get());
      else security_hole(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-951-1.NASL
    descriptionJun Mao discovered that Samba did not correctly validate SMB1 packet contents. An unauthenticated remote attacker could send specially crafted network traffic that could execute arbitrary code as the root user. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id47035
    published2010-06-17
    reporterUbuntu Security Notice (C) 2010-2019 Canonical, Inc. / NASL script (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/47035
    titleUbuntu 6.06 LTS / 8.04 LTS / 9.04 : samba vulnerability (USN-951-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Ubuntu Security Notice USN-951-1. The text 
    # itself is copyright (C) Canonical, Inc. See 
    # <http://www.ubuntu.com/usn/>. Ubuntu(R) is a registered 
    # trademark of Canonical, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(47035);
      script_version("1.12");
      script_cvs_date("Date: 2019/09/19 12:54:26");
    
      script_cve_id("CVE-2010-2063");
      script_xref(name:"USN", value:"951-1");
    
      script_name(english:"Ubuntu 6.06 LTS / 8.04 LTS / 9.04 : samba vulnerability (USN-951-1)");
      script_summary(english:"Checks dpkg output for updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Ubuntu host is missing one or more security-related
    patches."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Jun Mao discovered that Samba did not correctly validate SMB1 packet
    contents. An unauthenticated remote attacker could send specially
    crafted network traffic that could execute arbitrary code as the root
    user.
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Ubuntu security advisory. Tenable
    has attempted to automatically clean and format it as much as possible
    without introducing additional issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://usn.ubuntu.com/951-1/"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"metasploit_name", value:'Samba chain_reply Memory Corruption (Linux x86)');
      script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libpam-smbpass");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libsmbclient");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libsmbclient-dev");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libwbclient0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:python2.4-samba");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:samba");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:samba-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:samba-dbg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:samba-doc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:samba-doc-pdf");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:samba-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:smbclient");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:smbfs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:swat");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:winbind");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:6.06:-:lts");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:8.04:-:lts");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:9.04");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2010/06/17");
      script_set_attribute(attribute:"patch_publication_date", value:"2010/06/16");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/06/17");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"Ubuntu Security Notice (C) 2010-2019 Canonical, Inc. / NASL script (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Ubuntu Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/cpu", "Host/Ubuntu", "Host/Ubuntu/release", "Host/Debian/dpkg-l");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("ubuntu.inc");
    include("misc_func.inc");
    
    if ( ! get_kb_item("Host/local_checks_enabled") ) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/Ubuntu/release");
    if ( isnull(release) ) audit(AUDIT_OS_NOT, "Ubuntu");
    release = chomp(release);
    if (! preg(pattern:"^(6\.06|8\.04|9\.04)$", string:release)) audit(AUDIT_OS_NOT, "Ubuntu 6.06 / 8.04 / 9.04", "Ubuntu " + release);
    if ( ! get_kb_item("Host/Debian/dpkg-l") ) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Ubuntu", cpu);
    
    flag = 0;
    
    if (ubuntu_check(osver:"6.06", pkgname:"libpam-smbpass", pkgver:"3.0.22-1ubuntu3.12")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"libsmbclient", pkgver:"3.0.22-1ubuntu3.12")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"libsmbclient-dev", pkgver:"3.0.22-1ubuntu3.12")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"python2.4-samba", pkgver:"3.0.22-1ubuntu3.12")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"samba", pkgver:"3.0.22-1ubuntu3.12")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"samba-common", pkgver:"3.0.22-1ubuntu3.12")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"samba-dbg", pkgver:"3.0.22-1ubuntu3.12")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"samba-doc", pkgver:"3.0.22-1ubuntu3.12")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"samba-doc-pdf", pkgver:"3.0.22-1ubuntu3.12")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"smbclient", pkgver:"3.0.22-1ubuntu3.12")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"smbfs", pkgver:"3.0.22-1ubuntu3.12")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"swat", pkgver:"3.0.22-1ubuntu3.12")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"winbind", pkgver:"3.0.22-1ubuntu3.12")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"libpam-smbpass", pkgver:"3.0.28a-1ubuntu4.12")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"libsmbclient", pkgver:"3.0.28a-1ubuntu4.12")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"libsmbclient-dev", pkgver:"3.0.28a-1ubuntu4.12")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"samba", pkgver:"3.0.28a-1ubuntu4.12")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"samba-common", pkgver:"3.0.28a-1ubuntu4.12")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"samba-dbg", pkgver:"3.0.28a-1ubuntu4.12")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"samba-doc", pkgver:"3.0.28a-1ubuntu4.12")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"samba-doc-pdf", pkgver:"3.0.28a-1ubuntu4.12")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"smbclient", pkgver:"3.0.28a-1ubuntu4.12")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"smbfs", pkgver:"3.0.28a-1ubuntu4.12")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"swat", pkgver:"3.0.28a-1ubuntu4.12")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"winbind", pkgver:"3.0.28a-1ubuntu4.12")) flag++;
    if (ubuntu_check(osver:"9.04", pkgname:"libpam-smbpass", pkgver:"3.3.2-1ubuntu3.5")) flag++;
    if (ubuntu_check(osver:"9.04", pkgname:"libsmbclient", pkgver:"3.3.2-1ubuntu3.5")) flag++;
    if (ubuntu_check(osver:"9.04", pkgname:"libsmbclient-dev", pkgver:"3.3.2-1ubuntu3.5")) flag++;
    if (ubuntu_check(osver:"9.04", pkgname:"libwbclient0", pkgver:"3.3.2-1ubuntu3.5")) flag++;
    if (ubuntu_check(osver:"9.04", pkgname:"samba", pkgver:"2:3.3.2-1ubuntu3.5")) flag++;
    if (ubuntu_check(osver:"9.04", pkgname:"samba-common", pkgver:"3.3.2-1ubuntu3.5")) flag++;
    if (ubuntu_check(osver:"9.04", pkgname:"samba-dbg", pkgver:"3.3.2-1ubuntu3.5")) flag++;
    if (ubuntu_check(osver:"9.04", pkgname:"samba-doc", pkgver:"3.3.2-1ubuntu3.5")) flag++;
    if (ubuntu_check(osver:"9.04", pkgname:"samba-doc-pdf", pkgver:"3.3.2-1ubuntu3.5")) flag++;
    if (ubuntu_check(osver:"9.04", pkgname:"samba-tools", pkgver:"3.3.2-1ubuntu3.5")) flag++;
    if (ubuntu_check(osver:"9.04", pkgname:"smbclient", pkgver:"3.3.2-1ubuntu3.5")) flag++;
    if (ubuntu_check(osver:"9.04", pkgname:"smbfs", pkgver:"3.3.2-1ubuntu3.5")) flag++;
    if (ubuntu_check(osver:"9.04", pkgname:"swat", pkgver:"3.3.2-1ubuntu3.5")) flag++;
    if (ubuntu_check(osver:"9.04", pkgname:"winbind", pkgver:"3.3.2-1ubuntu3.5")) flag++;
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_HOLE,
        extra      : ubuntu_report_get()
      );
      exit(0);
    }
    else
    {
      tested = ubuntu_pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libpam-smbpass / libsmbclient / libsmbclient-dev / libwbclient0 / etc");
    }
    
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201206-22.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201206-22 (Samba: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in Samba. Please review the CVE identifiers referenced below for details. Impact : A remote attacker could possibly execute arbitrary code with root privileges, cause a Denial of Service condition, take ownership of shared files, or bypass file permissions. Furthermore, a local attacker may be able to cause a Denial of Service condition or obtain sensitive information in a Samba credentials file. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id59675
    published2012-06-25
    reporterThis script is Copyright (C) 2012-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/59675
    titleGLSA-201206-22 : Samba: Multiple vulnerabilities
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Gentoo Linux Security Advisory GLSA 201206-22.
    #
    # The advisory text is Copyright (C) 2001-2016 Gentoo Foundation, Inc.
    # and licensed under the Creative Commons - Attribution / Share Alike 
    # license. See http://creativecommons.org/licenses/by-sa/3.0/
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(59675);
      script_version("1.12");
      script_cvs_date("Date: 2018/07/11 17:09:26");
    
      script_cve_id("CVE-2009-2906", "CVE-2009-2948", "CVE-2010-0728", "CVE-2010-1635", "CVE-2010-1642", "CVE-2010-2063", "CVE-2010-3069", "CVE-2011-0719", "CVE-2011-1678", "CVE-2011-2724", "CVE-2012-0870", "CVE-2012-1182", "CVE-2012-2111");
      script_bugtraq_id(36572, 36573, 38326, 38606, 40097, 40884, 43212, 46597, 49939, 52103, 52973, 53307);
      script_xref(name:"GLSA", value:"201206-22");
    
      script_name(english:"GLSA-201206-22 : Samba: Multiple vulnerabilities");
      script_summary(english:"Checks for updated package(s) in /var/db/pkg");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Gentoo host is missing one or more security-related
    patches."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The remote host is affected by the vulnerability described in GLSA-201206-22
    (Samba: Multiple vulnerabilities)
    
        Multiple vulnerabilities have been discovered in Samba. Please review
          the CVE identifiers referenced below for details.
      
    Impact :
    
        A remote attacker could possibly execute arbitrary code with root
          privileges, cause a Denial of Service condition, take ownership of shared
          files, or bypass file permissions. Furthermore, a local attacker may be
          able to cause a Denial of Service condition or obtain sensitive
          information in a Samba credentials file.
      
    Workaround :
    
        There is no known workaround at this time."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security.gentoo.org/glsa/201206-22"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "All Samba users should upgrade to the latest version:
          # emerge --sync
          # emerge --ask --oneshot --verbose '>=net-fs/samba-3.5.15'"
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"exploit_framework_core", value:"true");
      script_set_attribute(attribute:"metasploit_name", value:'Samba SetInformationPolicy AuditEventsInfo Heap Overflow');
      script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
      script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
      script_set_attribute(attribute:"canvas_package", value:'CANVAS');
      script_cwe_id(264);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:samba");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:gentoo:linux");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2012/06/24");
      script_set_attribute(attribute:"plugin_publication_date", value:"2012/06/25");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2012-2018 Tenable Network Security, Inc.");
      script_family(english:"Gentoo Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Gentoo/release", "Host/Gentoo/qpkg-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("qpkg.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/Gentoo/release")) audit(AUDIT_OS_NOT, "Gentoo");
    if (!get_kb_item("Host/Gentoo/qpkg-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    
    if (qpkg_check(package:"net-fs/samba", unaffected:make_list("ge 3.5.15"), vulnerable:make_list("lt 3.5.15"))) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:qpkg_report_get());
      else security_hole(0);
      exit(0);
    }
    else
    {
      tested = qpkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "Samba");
    }
    
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20100616_SAMBA_ON_SL3_X.NASL
    descriptionAn input sanitization flaw was found in the way Samba parsed client data. A malicious client could send a specially crafted SMB packet to the Samba server, resulting in arbitrary code execution with the privileges of the Samba server (smbd). (CVE-2010-2063) After installing this update, the smb service will be restarted automatically.
    last seen2020-06-01
    modified2020-06-02
    plugin id60805
    published2012-08-01
    reporterThis script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/60805
    titleScientific Linux Security Update : samba on SL3.x, SL4.x i386/x86_64
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text is (C) Scientific Linux.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(60805);
      script_version("1.5");
      script_cvs_date("Date: 2019/10/25 13:36:19");
    
      script_cve_id("CVE-2010-2063");
    
      script_name(english:"Scientific Linux Security Update : samba on SL3.x, SL4.x i386/x86_64");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Scientific Linux host is missing one or more security
    updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "An input sanitization flaw was found in the way Samba parsed client
    data. A malicious client could send a specially crafted SMB packet to
    the Samba server, resulting in arbitrary code execution with the
    privileges of the Samba server (smbd). (CVE-2010-2063)
    
    After installing this update, the smb service will be restarted
    automatically."
      );
      # https://listserv.fnal.gov/scripts/wa.exe?A2=ind1006&L=scientific-linux-errata&T=0&P=1259
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?537cd28b"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"metasploit_name", value:'Samba chain_reply Memory Corruption (Linux x86)');
      script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"x-cpe:/o:fermilab:scientific_linux");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/06/16");
      script_set_attribute(attribute:"plugin_publication_date", value:"2012/08/01");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Scientific Linux Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/RedHat/release", "Host/RedHat/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Scientific Linux " >!< release) audit(AUDIT_HOST_NOT, "running Scientific Linux");
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu >!< "x86_64" && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Scientific Linux", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"SL3", reference:"samba-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"SL3", reference:"samba-client-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"SL3", reference:"samba-common-3.0.9-1.3E.17")) flag++;
    if (rpm_check(release:"SL3", reference:"samba-swat-3.0.9-1.3E.17")) flag++;
    
    if (rpm_check(release:"SL4", reference:"samba-3.0.33-0.19.el4_8.1")) flag++;
    if (rpm_check(release:"SL4", reference:"samba-client-3.0.33-0.19.el4_8.1")) flag++;
    if (rpm_check(release:"SL4", reference:"samba-common-3.0.33-0.19.el4_8.1")) flag++;
    if (rpm_check(release:"SL4", reference:"samba-swat-3.0.33-0.19.el4_8.1")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20100616_SAMBA_AND_SAMBA3X_ON_SL5_X.NASL
    descriptionAn input sanitization flaw was found in the way Samba parsed client data. A malicious client could send a specially crafted SMB packet to the Samba server, resulting in arbitrary code execution with the privileges of the Samba server (smbd). (CVE-2010-2063) After installing this update, the smb service will be restarted automatically.
    last seen2020-06-01
    modified2020-06-02
    plugin id60804
    published2012-08-01
    reporterThis script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/60804
    titleScientific Linux Security Update : samba and samba3x on SL5.x i386/x86_64
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_1_CIFS-MOUNT-100613.NASL
    descriptionThis update of the Samba server package fixes security issues and bugs. Following security issues were fixed: CVE-2010-2063: A buffer overrun was possible in chain_reply code in 3.3.x and below, which could be used to crash the samba server or potentially execute code. CVE-2010-0787: Take extra care that a mount point of mount.cifs isn
    last seen2020-06-01
    modified2020-06-02
    plugin id47572
    published2010-07-01
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/47572
    titleopenSUSE Security Update : cifs-mount (openSUSE-SU-2010:0346-1)
  • NASL familyVMware ESX Local Security Checks
    NASL idVMWARE_VMSA-2010-0013_REMOTE.NASL
    descriptionThe remote VMware ESX host is missing a security-related patch. It is, therefore, affected by multiple vulnerabilities, including remote code execution vulnerabilities, in several third-party components and libraries : - GNU cpio - GNU cpio on 64-bit - GNU tar - Kerberos 5 - Perl - PostgreSQL - Safe Module for Perl Automagic Methods - Samba smbd
    last seen2020-06-01
    modified2020-06-02
    plugin id89741
    published2016-03-08
    reporterThis script is Copyright (C) 2016-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/89741
    titleVMware ESX Multiple Vulnerabilities (VMSA-2010-0013) (remote check)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_CIFS-MOUNT-7072.NASL
    descriptionThis update of the Samba server package fixes the following security issues : - A buffer overrun was possible in chain_reply code in 3.3.x and below, which could be used to crash the samba server or potentially execute code. (CVE-2010-2063) - Take extra care that a mount point of mount.cifs does not get changed during mount. (CVE-2010-0787) Also, the following bugs have been fixed : - Honor interface list in net ads dns register. (bnc#606947) - An uninitialized variable read could cause smbd to crash (bso#7254, bnc#605935).
    last seen2020-06-01
    modified2020-06-02
    plugin id49835
    published2010-10-11
    reporterThis script is Copyright (C) 2010-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/49835
    titleSuSE 10 Security Update : Samba (ZYPP Patch Number 7072)
  • NASL familyMandriva Local Security Checks
    NASL idMANDRIVA_MDVSA-2010-119.NASL
    descriptionA vulnerability has been discovered and corrected in samba : Samba versions 3.0.x, 3.2.x and 3.3.x are affected by a memory corruption vulnerability. Code dealing with the chaining of SMB1 packets did not correctly validate an input field provided by the client, making it possible for a specially crafted packet to crash the server or potentially cause the server to execute arbitrary code (CVE-2010-2063). Packages for 2008.0 and 2009.0 are provided as of the Extended Maintenance Program. Please visit this link to learn more: http://store.mandriva.com/product_info.php?cPath=149&amp;products_id=4 90 The updated packages have been patched to correct this issue.
    last seen2020-06-01
    modified2020-06-02
    plugin id47042
    published2010-06-18
    reporterThis script is Copyright (C) 2010-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/47042
    titleMandriva Linux Security Advisory : samba (MDVSA-2010:119)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_CIFS-MOUNT-100613.NASL
    descriptionThis update of the Samba server package fixes the following security issues : - A buffer overrun was possible in chain_reply code in 3.3.x and below, which could be used to crash the samba server or potentially execute code. (CVE-2010-2063) - Take extra care that a mount point of mount.cifs does not get changed during mount. (CVE-2010-0787) Also, the following bugs have been fixed : - Honor interface list in net ads dns register. (bnc#606947) - An uninitialized variable read could cause smbd to crash (bso#7254, bnc#605935).
    last seen2020-06-01
    modified2020-06-02
    plugin id50894
    published2010-12-02
    reporterThis script is Copyright (C) 2010-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/50894
    titleSuSE 11 Security Update : (SAT Patch Number 2544)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_0_CIFS-MOUNT-100613.NASL
    descriptionThis update of the Samba server package fixes security issues and bugs. Following security issues were fixed: CVE-2010-2063: A buffer overrun was possible in chain_reply code in 3.3.x and below, which could be used to crash the samba server or potentially execute code. CVE-2010-0787: Take extra care that a mount point of mount.cifs isn
    last seen2020-06-01
    modified2020-06-02
    plugin id47570
    published2010-07-01
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/47570
    titleopenSUSE Security Update : cifs-mount (openSUSE-SU-2010:0346-1)
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-2061.NASL
    descriptionJun Mao discovered that Samba, an implementation of the SMB/CIFS protocol for Unix systems, is not properly handling certain offset values when processing chained SMB1 packets. This enables an unauthenticated attacker to write to an arbitrary memory location resulting in the possibility to execute arbitrary code with root privileges or to perform denial of service attacks by crashing the samba daemon.
    last seen2020-06-01
    modified2020-06-02
    plugin id47103
    published2010-06-21
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/47103
    titleDebian DSA-2061-1 : samba - memory corruption

Oval

  • accepted2015-04-20T04:00:24.933-04:00
    classvulnerability
    contributors
    • nameSudha Akula
      organizationHewlett-Packard
    • nameSushant Kumar Singh
      organizationHewlett-Packard
    • nameSushant Kumar Singh
      organizationHewlett-Packard
    • namePrashant Kumar
      organizationHewlett-Packard
    • nameMike Cokus
      organizationThe MITRE Corporation
    descriptionBuffer overflow in the SMB1 packet chaining implementation in the chain_reply function in process.c in smbd in Samba 3.0.x before 3.3.13 allows remote attackers to cause a denial of service (memory corruption and daemon crash) or possibly execute arbitrary code via a crafted field in a packet.
    familyunix
    idoval:org.mitre.oval:def:12427
    statusaccepted
    submitted2011-01-31T13:53:30.000-05:00
    titleCIFS Server (Samba), Remote Execution of Arbitrary Code, Denial of Service (DoS)
    version48
  • accepted2010-11-15T04:00:40.449-05:00
    classvulnerability
    contributors
    nameVarun
    organizationHewlett-Packard
    definition_extensions
    commentVMware ESX Server 3.5.0 is installed
    ovaloval:org.mitre.oval:def:5887
    descriptionBuffer overflow in the SMB1 packet chaining implementation in the chain_reply function in process.c in smbd in Samba 3.0.x before 3.3.13 allows remote attackers to cause a denial of service (memory corruption and daemon crash) or possibly execute arbitrary code via a crafted field in a packet.
    familyunix
    idoval:org.mitre.oval:def:7115
    statusaccepted
    submitted2010-10-01T16:37:39.000-05:00
    titleVMware ESX,Service Console update for samba.
    version5
  • accepted2013-04-29T04:22:49.617-04:00
    classvulnerability
    contributors
    • nameAharon Chernin
      organizationSCAP.com, LLC
    • nameDragos Prisaca
      organizationG2, Inc.
    definition_extensions
    • commentThe operating system installed on the system is Red Hat Enterprise Linux 3
      ovaloval:org.mitre.oval:def:11782
    • commentCentOS Linux 3.x
      ovaloval:org.mitre.oval:def:16651
    • commentThe operating system installed on the system is Red Hat Enterprise Linux 4
      ovaloval:org.mitre.oval:def:11831
    • commentCentOS Linux 4.x
      ovaloval:org.mitre.oval:def:16636
    • commentOracle Linux 4.x
      ovaloval:org.mitre.oval:def:15990
    • commentThe operating system installed on the system is Red Hat Enterprise Linux 5
      ovaloval:org.mitre.oval:def:11414
    • commentThe operating system installed on the system is CentOS Linux 5.x
      ovaloval:org.mitre.oval:def:15802
    • commentOracle Linux 5.x
      ovaloval:org.mitre.oval:def:15459
    descriptionBuffer overflow in the SMB1 packet chaining implementation in the chain_reply function in process.c in smbd in Samba 3.0.x before 3.3.13 allows remote attackers to cause a denial of service (memory corruption and daemon crash) or possibly execute arbitrary code via a crafted field in a packet.
    familyunix
    idoval:org.mitre.oval:def:9859
    statusaccepted
    submitted2010-07-09T03:56:16-04:00
    titleBuffer overflow in the SMB1 packet chaining implementation in the chain_reply function in process.c in smbd in Samba 3.0.x before 3.3.13 allows remote attackers to cause a denial of service (memory corruption and daemon crash) or possibly execute arbitrary code via a crafted field in a packet.
    version27

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/91907/chain_reply.rb.txt
idPACKETSTORM:91907
last seen2016-12-05
published2010-07-17
reporterjduck
sourcehttps://packetstormsecurity.com/files/91907/Samba-chain_reply-Memory-Corruption-Linux-x86.html
titleSamba chain_reply Memory Corruption (Linux x86)

Redhat

advisories
bugzilla
id601419
titleCVE-2010-2063 samba: memory corruption vulnerability
oval
OR
  • commentRed Hat Enterprise Linux must be installed
    ovaloval:com.redhat.rhba:tst:20070304026
  • AND
    • commentRed Hat Enterprise Linux 4 is installed
      ovaloval:com.redhat.rhba:tst:20070304025
    • OR
      • AND
        • commentsamba is earlier than 0:3.0.33-0.19.el4_8.1
          ovaloval:com.redhat.rhsa:tst:20100488001
        • commentsamba is signed with Red Hat master key
          ovaloval:com.redhat.rhsa:tst:20060591006
      • AND
        • commentsamba-common is earlier than 0:3.0.33-0.19.el4_8.1
          ovaloval:com.redhat.rhsa:tst:20100488003
        • commentsamba-common is signed with Red Hat master key
          ovaloval:com.redhat.rhsa:tst:20060591002
      • AND
        • commentsamba-client is earlier than 0:3.0.33-0.19.el4_8.1
          ovaloval:com.redhat.rhsa:tst:20100488005
        • commentsamba-client is signed with Red Hat master key
          ovaloval:com.redhat.rhsa:tst:20060591004
      • AND
        • commentsamba-swat is earlier than 0:3.0.33-0.19.el4_8.1
          ovaloval:com.redhat.rhsa:tst:20100488007
        • commentsamba-swat is signed with Red Hat master key
          ovaloval:com.redhat.rhsa:tst:20060591008
  • AND
    • commentRed Hat Enterprise Linux 5 is installed
      ovaloval:com.redhat.rhba:tst:20070331005
    • OR
      • AND
        • commentlibsmbclient-devel is earlier than 0:3.0.33-3.29.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488010
        • commentlibsmbclient-devel is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20100488011
      • AND
        • commentsamba-swat is earlier than 0:3.0.33-3.29.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488012
        • commentsamba-swat is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20070061008
      • AND
        • commentsamba-client is earlier than 0:3.0.33-3.29.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488014
        • commentsamba-client is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20070061002
      • AND
        • commentsamba is earlier than 0:3.0.33-3.29.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488016
        • commentsamba is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20070061006
      • AND
        • commentsamba-common is earlier than 0:3.0.33-3.29.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488018
        • commentsamba-common is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20070061004
      • AND
        • commentlibsmbclient is earlier than 0:3.0.33-3.29.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488020
        • commentlibsmbclient is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20100488021
      • AND
        • commentsamba3x-doc is earlier than 0:3.3.8-0.52.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488022
        • commentsamba3x-doc is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhba:tst:20110054012
      • AND
        • commentsamba3x-common is earlier than 0:3.3.8-0.52.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488024
        • commentsamba3x-common is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhba:tst:20110054002
      • AND
        • commentlibtalloc is earlier than 0:1.2.0-52.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488026
        • commentlibtalloc is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20100488027
      • AND
        • commentsamba3x-client is earlier than 0:3.3.8-0.52.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488028
        • commentsamba3x-client is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhba:tst:20110054006
      • AND
        • commentlibtdb is earlier than 0:1.1.2-52.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488030
        • commentlibtdb is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20100488031
      • AND
        • commentsamba3x-swat is earlier than 0:3.3.8-0.52.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488032
        • commentsamba3x-swat is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhba:tst:20110054008
      • AND
        • commentsamba3x-winbind is earlier than 0:3.3.8-0.52.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488034
        • commentsamba3x-winbind is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhba:tst:20110054014
      • AND
        • commentlibtdb-devel is earlier than 0:1.1.2-52.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488036
        • commentlibtdb-devel is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20100488037
      • AND
        • commentsamba3x-domainjoin-gui is earlier than 0:3.3.8-0.52.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488038
        • commentsamba3x-domainjoin-gui is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhba:tst:20110054010
      • AND
        • commentsamba3x is earlier than 0:3.3.8-0.52.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488040
        • commentsamba3x is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhba:tst:20110054004
      • AND
        • commentsamba3x-winbind-devel is earlier than 0:3.3.8-0.52.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488042
        • commentsamba3x-winbind-devel is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhba:tst:20110054016
      • AND
        • commenttdb-tools is earlier than 0:1.1.2-52.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488044
        • commenttdb-tools is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20100488045
      • AND
        • commentlibtalloc-devel is earlier than 0:1.2.0-52.el5_5
          ovaloval:com.redhat.rhsa:tst:20100488046
        • commentlibtalloc-devel is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20100488047
rhsa
idRHSA-2010:0488
released2010-06-16
severityCritical
titleRHSA-2010:0488: samba and samba3x security update (Critical)
rpms
  • libsmbclient-0:3.0.33-3.29.el5_5
  • libsmbclient-devel-0:3.0.33-3.29.el5_5
  • libtalloc-0:1.2.0-52.el5_5
  • libtalloc-devel-0:1.2.0-52.el5_5
  • libtdb-0:1.1.2-52.el5_5
  • libtdb-devel-0:1.1.2-52.el5_5
  • samba-0:3.0.28-0.10.el4_7
  • samba-0:3.0.33-0.19.el4_8.1
  • samba-0:3.0.33-3.15.el5_4.2
  • samba-0:3.0.33-3.29.el5_5
  • samba-0:3.0.33-3.7.el5_3.2
  • samba-0:3.0.9-1.3E.17
  • samba-client-0:3.0.28-0.10.el4_7
  • samba-client-0:3.0.33-0.19.el4_8.1
  • samba-client-0:3.0.33-3.15.el5_4.2
  • samba-client-0:3.0.33-3.29.el5_5
  • samba-client-0:3.0.33-3.7.el5_3.2
  • samba-client-0:3.0.9-1.3E.17
  • samba-common-0:3.0.28-0.10.el4_7
  • samba-common-0:3.0.33-0.19.el4_8.1
  • samba-common-0:3.0.33-3.15.el5_4.2
  • samba-common-0:3.0.33-3.29.el5_5
  • samba-common-0:3.0.33-3.7.el5_3.2
  • samba-common-0:3.0.9-1.3E.17
  • samba-debuginfo-0:3.0.28-0.10.el4_7
  • samba-debuginfo-0:3.0.33-0.19.el4_8.1
  • samba-debuginfo-0:3.0.33-3.15.el5_4.2
  • samba-debuginfo-0:3.0.33-3.29.el5_5
  • samba-debuginfo-0:3.0.33-3.7.el5_3.2
  • samba-debuginfo-0:3.0.9-1.3E.17
  • samba-swat-0:3.0.28-0.10.el4_7
  • samba-swat-0:3.0.33-0.19.el4_8.1
  • samba-swat-0:3.0.33-3.15.el5_4.2
  • samba-swat-0:3.0.33-3.29.el5_5
  • samba-swat-0:3.0.33-3.7.el5_3.2
  • samba-swat-0:3.0.9-1.3E.17
  • samba3x-0:3.3.8-0.52.el5_5
  • samba3x-client-0:3.3.8-0.52.el5_5
  • samba3x-common-0:3.3.8-0.52.el5_5
  • samba3x-debuginfo-0:3.3.8-0.52.el5_5
  • samba3x-doc-0:3.3.8-0.52.el5_5
  • samba3x-domainjoin-gui-0:3.3.8-0.52.el5_5
  • samba3x-swat-0:3.3.8-0.52.el5_5
  • samba3x-winbind-0:3.3.8-0.52.el5_5
  • samba3x-winbind-devel-0:3.3.8-0.52.el5_5
  • tdb-tools-0:1.1.2-52.el5_5

Seebug

  • bulletinFamilyexploit
    descriptionBUGTRAQ ID: 40884 CVE ID: CVE-2010-2063 Samba是一套实现SMB(Server Messages Block)协议、跨平台进行文件共享和打印共享服务的程序。 Samba中负责处理链接起SMB1报文的代码没有正确地验证客户端所提供的输入字段,恶意客户端可以向Samba服务器发送特制的SMB报文触发堆内存破坏,导致以Samba服务器(smbd)的权限执行任意代码。利用这个漏洞无需认证,且samba的默认配置便受这个漏洞影响。 Samba 3.0.x - 3.3.12 厂商补丁: RedHat ------ RedHat已经为此发布了一个安全公告(RHSA-2010:0488-01)以及相应补丁: RHSA-2010:0488-01:Critical: samba and samba3x security update 链接:https://www.redhat.com/support/errata/RHSA-2010-0488.html Samba ----- 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: http://www.samba.org/samba/security/
    idSSV:19816
    last seen2017-11-19
    modified2010-06-18
    published2010-06-18
    reporterRoot
    titleSamba SMB1报文链接远程内存破坏漏洞
  • bulletinFamilyexploit
    descriptionCVE ID: CVE-2005-4268,CVE-2010-0624,CVE-2007-4476,CVE-2010-2063,CVE-2010-1321,CVE-2010-1168,CVE-2010-1447,CVE-2008-5302,CVE-2008-5303 VMware ESX Server是为适用于任何系统环境的企业级虚拟计算机软件。 ESX Console OS (COS)在cpio、tar、perl、krb5、samba等应用的实现上存在多个漏洞,其中最严重的漏洞可造成服务器拒绝服务或执行任意代码。 0 VMWare ESX Server 厂商补丁: VMWare ------ VMWare已经为此发布了一个安全公告(VMSA-2010-0013)以及相应补丁: VMSA-2010-0013:VMware ESX third party updates for Service Console 链接:http://www.vmware.com/security/advisories/VMSA-2010-0013.html
    idSSV:30015
    last seen2017-11-19
    modified2012-01-13
    published2012-01-13
    reporterRoot
    titleVMware ESX Service Console多个安全漏洞

References