Vulnerabilities > CVE-2007-0061 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in multiple products

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
vmware
canonical
CWE-119
critical
nessus

Summary

The DHCP server in EMC VMware Workstation before 5.5.5 Build 56455 and 6.x before 6.0.1 Build 55017, Player before 1.0.5 Build 56455 and Player 2 before 2.0.1 Build 55017, ACE before 1.0.3 Build 54075 and ACE 2 before 2.0.1 Build 55017, and Server before 1.0.4 Build 56528 allows remote attackers to execute arbitrary code via a malformed packet that triggers "corrupt stack memory."

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.

Nessus

  • NASL familyVMware ESX Local Security Checks
    NASL idVMWARE_VMSA-2007-0006.NASL
    descriptionProblems addressed by these patches : I Arbitrary code execution and denial of service vulnerabilities This release fixes a security vulnerability that could allow a guest operating system user with administrative privileges to cause memory corruption in a host process, and thus potentially execute arbitrary code on the host. (CVE-2007-4496) This release fixes a denial of service vulnerability that could allow a guest operating system to cause a host process to become unresponsive or exit unexpectedly. (CVE-2007-4497) Thanks to Rafal Wojtczvk of McAfee for identifying and reporting these issues. II Hosted products DHCP security vulnerabilities addressed This release fixes several vulnerabilities in the DHCP server that could enable a specially crafted packets to gain system-level privileges. (CVE-2007-0061, CVE-2007-0062, CVE-2007-0063) Thanks to Neel Mehta and Ryan Smith of the IBM Internet Security Systems X-Force for discovering and researching these vulnerabilities. III Windows based hosted product vulnerability in IntraProcessLogging.dll and vielib.dll. This release fixes a security vulnerability that could allow a malicious remote user to exploit the library file IntraProcessLogging.dll to overwrite files in a system. (CVE-2007-4059) This release fixes a security vulnerability that could allow a malicious remote user to exploit the library file vielib.dll to overwrite files in a system. (CVE-2007-4155) Thanks to the Goodfellas Security Research Team for discovering and researching these vulnerabilities. IV Escalation of privileges on Windows hosted systems This release fixes a security vulnerability in which Workstation was starting registered Windows services in an insecure manner. This vulnerability could allow a malicious user to escalate user privileges. Thanks to Foundstone for discovering this vulnerability. V Potential denial of service using VMware Player This release fixes a problem that prevented VMware Player from launching. This problem was accompanied by the error message VMware Player unrecoverable error: (player) Exception 0xc0000005 (access violation) has occurred. VI ESX Service Console updates a. Service console package Samba, has been updated to address the following issues : Various bugs were found in NDR parsing, used to decode MS-RPC requests in Samba. A remote attacker could have sent carefully crafted requests causing a heap overflow, which may have led to the ability to execute arbitrary code on the server. (CVE-2007-2446) Unescaped user input parameters were being passed as arguments to /bin/sh. A remote, authenticated, user could have triggered this flaw and executed arbitrary code on the server. Additionally, this flaw could be triggered by a remote unauthenticated user if Samba was configured to use the non-default username map script option. (CVE-2007-2447) Thanks to the Samba developers, TippingPoint, and iDefense for identifying and reporting these issues. Note: These issues only affect the service console network, and are not remote vulnerabilities for ESX Server hosts that have been set up with the security best practices provided by VMware. http://www.vmware.com/resources/techresources/726 b. Updated bind package for the service console fixes a flaw with the way ISC BIND processed certain DNS query responses. ISC BIND (Berkeley Internet Name Domain) is an implementation of the DNS (Domain Name System) protocols. Under some circumstances, a malicious remote user could launch a Denial-of-Service attack on ESX Server hosts that had enabled DNSSEC validation. (CVE-2007-0494) Note: These issues only affect the service console network, and are not remote vulnerabilities for ESX Server hosts that have been set up with the security best practices provided by VMware. http://www.vmware.com/resources/techresources/726 c. This patch provides updated service console package krb5 update. The Common Vulnerabilities and Exposures project (cve.mitre.org) assigned the names CVE-2007-2442, CVE-2007-2443, and CVE-2007-2798 to these security issues. Thanks to Wei Wang of McAfee Avert Labs discovered these vulnerabilities. Note: The VMware service console does not provide the kadmind binary, and is not affected by these issues, but a update has been provided for completeness. d. Service console update for vixie-cron This patch provides an updated service console package vixie-cron. Cron is a standard UNIX daemon that runs specified programs at scheduled times. A denial of service issue was found in the way vixie-cron verified crontab file integrity. A local user with the ability to create a hardlink to /etc/crontab could potentially prevent vixie-cron from executing certain system cron jobs. (CVE-2007-1856) Thanks to Raphael Marichez for identifying this issue. e. Service console update for shadow-utils This patch provides an updated shadow-utils package. A new user
    last seen2020-06-01
    modified2020-06-02
    plugin id40370
    published2009-07-27
    reporterThis script is Copyright (C) 2009-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/40370
    titleVMSA-2007-0006 : Critical security updates for all supported versions of VMware ESX Server, VMware Server, VMware Workstation, VMware ACE, and VMware Player
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from VMware Security Advisory 2007-0006. 
    # The text itself is copyright (C) VMware Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(40370);
      script_version("1.24");
      script_cvs_date("Date: 2018/08/06 14:03:16");
    
      script_cve_id("CVE-2004-0813", "CVE-2006-1174", "CVE-2006-3619", "CVE-2006-4146", "CVE-2006-4600", "CVE-2007-0061", "CVE-2007-0062", "CVE-2007-0063", "CVE-2007-0494", "CVE-2007-1716", "CVE-2007-1856", "CVE-2007-2442", "CVE-2007-2443", "CVE-2007-2446", "CVE-2007-2447", "CVE-2007-2798", "CVE-2007-4059", "CVE-2007-4155", "CVE-2007-4496", "CVE-2007-4497");
      script_bugtraq_id(18111, 19832, 22231, 23520, 23972, 23973, 24195, 24196, 24197, 24198, 24653, 24655, 24657, 25110, 25131, 25729, 25731, 25732);
      script_xref(name:"VMSA", value:"2007-0006");
    
      script_name(english:"VMSA-2007-0006 : Critical security updates for all supported versions of VMware ESX Server, VMware Server, VMware Workstation, VMware ACE, and VMware Player");
      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:
    "Problems addressed by these patches :
    
    I    Arbitrary code execution and denial of service vulnerabilities
    
         This release fixes a security vulnerability that could allow a
         guest operating system user with administrative privileges to cause
         memory corruption in a host process, and thus potentially execute
         arbitrary code on the host. (CVE-2007-4496)
    
         This release fixes a denial of service vulnerability that could
         allow a guest operating system to cause a host process to become
         unresponsive or exit unexpectedly. (CVE-2007-4497)
    
         Thanks to Rafal Wojtczvk of McAfee for identifying and reporting
         these issues.
    
    II   Hosted products DHCP security vulnerabilities addressed
    
         This release fixes several vulnerabilities in the DHCP server
         that could enable a specially crafted packets to gain system-level
         privileges. (CVE-2007-0061, CVE-2007-0062, CVE-2007-0063)
    
         Thanks to Neel Mehta and Ryan Smith of the IBM Internet Security
         Systems X-Force for discovering and researching these
         vulnerabilities.
    
    III  Windows based hosted product vulnerability in
         IntraProcessLogging.dll and vielib.dll.
    
         This release fixes a security vulnerability that could allow a
         malicious remote user to exploit the library file
         IntraProcessLogging.dll to overwrite files in a system.
         (CVE-2007-4059)
    
         This release fixes a security vulnerability that could allow a
         malicious remote user to exploit the library file vielib.dll to
         overwrite files in a system. (CVE-2007-4155)
    
         Thanks to the Goodfellas Security Research Team for discovering and
         researching these vulnerabilities.
    
    IV  Escalation of privileges on Windows hosted systems
    
         This release fixes a security vulnerability in which Workstation
         was starting registered Windows services in an insecure manner.
         This vulnerability could allow a malicious user to escalate user
         privileges.
    
         Thanks to Foundstone for discovering this vulnerability.
    
    V    Potential denial of service using VMware Player
    
         This release fixes a problem that prevented VMware Player from
         launching. This problem was accompanied by the error message VMware
         Player unrecoverable error: (player) Exception 0xc0000005 (access
         violation) has occurred.
    
    VI   ESX Service Console updates
    
    a.   Service console package Samba, has been updated to address the
         following issues :
    
         Various bugs were found in NDR parsing, used to decode MS-RPC
         requests in Samba. A remote attacker could have sent carefully
         crafted requests causing a heap overflow, which may have led to the
         ability to execute arbitrary code on the server. (CVE-2007-2446)
    
         Unescaped user input parameters were being passed as arguments to
         /bin/sh. A remote, authenticated, user could have triggered this
         flaw and executed arbitrary code on the server. Additionally, this
         flaw could be triggered by a remote unauthenticated user if Samba
         was configured to use the non-default username map script option.
         (CVE-2007-2447)
    
         Thanks to the Samba developers, TippingPoint, and iDefense for
         identifying and reporting these issues.
    
         Note: These issues only affect the service console network, and are
         not remote vulnerabilities for ESX Server hosts that have been set
         up with the security best practices provided by VMware.
         http://www.vmware.com/resources/techresources/726
    
    b.   Updated bind package for the service console fixes a flaw with the
         way ISC BIND processed certain DNS query responses.
    
         ISC BIND (Berkeley Internet Name Domain) is an implementation of
         the DNS (Domain Name System) protocols. Under some circumstances, a
         malicious remote user could launch a Denial-of-Service attack on
         ESX Server hosts that had enabled DNSSEC validation.
         (CVE-2007-0494)
    
         Note: These issues only affect the service console network, and are
         not remote vulnerabilities for ESX Server hosts that have been set
         up with the security best practices provided by VMware.
         http://www.vmware.com/resources/techresources/726
    
    c.   This patch provides updated service console package krb5 update.
    
         The Common Vulnerabilities and Exposures project (cve.mitre.org)
         assigned the names CVE-2007-2442, CVE-2007-2443, and CVE-2007-2798
         to these security issues.
    
         Thanks to Wei Wang of McAfee Avert Labs discovered these
         vulnerabilities.
    
         Note: The VMware service console does not provide the kadmind
         binary, and is not affected by these issues, but a update has been
         provided for completeness.
    
    d.   Service console update for vixie-cron
    
         This patch provides an updated service console package vixie-cron.
         Cron is a standard UNIX daemon that runs specified programs at
         scheduled times.
    
         A denial of service issue was found in the way vixie-cron verified
         crontab file integrity. A local user with the ability to create a
         hardlink to /etc/crontab could potentially prevent vixie-cron from
         executing certain system cron jobs. (CVE-2007-1856)
    
         Thanks to Raphael Marichez for identifying this issue.
    
    e.   Service console update for shadow-utils
    
         This patch provides an updated shadow-utils package.  A new
         user's mailbox, when created, could have random permissions for a
         short period. This could enable a local malicious user to
         read or modify the mailbox. (CVE-2006-1174)
    
    f.  Service console update for OpenLDAP
    
         This patch provides a updated OpenLDAP package. A flaw could
         allow users with selfwrite access to modify the distinguished
         name of any user, instead of being limited to modify only
         their own distinguished name. (CVE-2006-4600)
    
    g.   Service console update for PAM
    
         This patch provides an updated PAM package A vulnerability was
         found that could allow console users with access to certain device
         files to cause damage to recordable CD drives. Certain file
         permissions have now been modified to disallow access.
         (CVE-2004-0813)
    
         A flaw was found with console device permissions. It was possible
         for various console devices to retain ownership of the previoius
         console user after logging out, which could result in leakage of
         information to an unauthorized user. (CVE-2007-1716)
    
    h.   Service console update for GCC
    
         This patch provides security fixes for the service console GNU
         Compiler Collection (GCC) packages that include C, C++, Java,
         Fortran 77, Objective C, and Ada 95 GNU compilers and related
         support libraries.
    
         A flaw was found in the fastjar utility that could potentially
         allow a malicious user to create a JAR file which, if unpacked
         using fastjar, could write to any file that an authorized user had
         write access to. (CVE-2006-3619)
    
         Thanks to Jürgen Weigert for identifying this issue.
    
    i.   Service Console update for GDB
    
         This patch provides a security fix for the service console GNU
         debugger (GDB).  Various vulnerabilities were found in GDB. These
         vulnerabilities may allow a malicious user to deceive a user into
         loading debugging information into GDB, enabling the execution of
         arbitrary code with the privileges of the user. (CVE-2006-4146)"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://lists.vmware.com/pipermail/security-announce/2007/000001.html"
      );
      script_set_attribute(attribute:"solution", value:"Apply the missing patches.");
      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 "username map script" Command Execution');
      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(119, 189, 264, 399);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esx:2.0.2");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esx:2.1.3");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esx:2.5.3");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esx:2.5.4");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esx:3.0.0");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esx:3.0.1");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esx:3.0.2");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2007/09/18");
      script_set_attribute(attribute:"plugin_publication_date", value:"2009/07/27");
      script_set_attribute(attribute:"vuln_publication_date", value:"2004/07/30");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2009-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:"2007-09-18");
    flag = 0;
    
    
    if (esx_check(ver:"ESX 2.0.2", patch:"8")) flag++;
    
    if (esx_check(ver:"ESX 2.1.3", patch:"8")) flag++;
    
    if (esx_check(ver:"ESX 2.5.3", patch:"13")) flag++;
    
    if (esx_check(ver:"ESX 2.5.4", patch:"10")) flag++;
    
    if (esx_check(ver:"ESX 3.0.0", patch:"ESX-1001204")) flag++;
    if (esx_check(ver:"ESX 3.0.0", patch:"ESX-1001205")) flag++;
    if (esx_check(ver:"ESX 3.0.0", patch:"ESX-1001206")) flag++;
    if (esx_check(ver:"ESX 3.0.0", patch:"ESX-1001207")) flag++;
    if (esx_check(ver:"ESX 3.0.0", patch:"ESX-1001208")) flag++;
    if (esx_check(ver:"ESX 3.0.0", patch:"ESX-1001209")) flag++;
    if (esx_check(ver:"ESX 3.0.0", patch:"ESX-1001210")) flag++;
    if (esx_check(ver:"ESX 3.0.0", patch:"ESX-1001211")) flag++;
    if (esx_check(ver:"ESX 3.0.0", patch:"ESX-1001212")) flag++;
    if (esx_check(ver:"ESX 3.0.0", patch:"ESX-4809553")) flag++;
    
    if (esx_check(ver:"ESX 3.0.1", patch:"ESX-1001213")) flag++;
    if (esx_check(ver:"ESX 3.0.1", patch:"ESX-1001214")) flag++;
    if (esx_check(ver:"ESX 3.0.1", patch:"ESX-1001691")) flag++;
    if (esx_check(ver:"ESX 3.0.1", patch:"ESX-1001692")) flag++;
    if (esx_check(ver:"ESX 3.0.1", patch:"ESX-1001693")) flag++;
    if (esx_check(ver:"ESX 3.0.1", patch:"ESX-1001694")) flag++;
    if (esx_check(ver:"ESX 3.0.1", patch:"ESX-1001723")) flag++;
    if (esx_check(ver:"ESX 3.0.1", patch:"ESX-8253547")) flag++;
    if (esx_check(ver:"ESX 3.0.1", patch:"ESX-8258730")) flag++;
    if (esx_check(ver:"ESX 3.0.1", patch:"ESX-8567382")) flag++;
    
    if (esx_check(ver:"ESX 3.0.2", patch:"ESX-1001725")) flag++;
    if (esx_check(ver:"ESX 3.0.2", patch:"ESX-1001726")) flag++;
    if (esx_check(ver:"ESX 3.0.2", patch:"ESX-1001727")) flag++;
    if (esx_check(ver:"ESX 3.0.2", patch:"ESX-1001728")) flag++;
    if (esx_check(ver:"ESX 3.0.2", patch:"ESX-1001729")) flag++;
    if (esx_check(ver:"ESX 3.0.2", patch:"ESX-1001730")) flag++;
    if (esx_check(ver:"ESX 3.0.2", patch:"ESX-1001731")) 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 familyWindows
    NASL idVMWARE_WS_SERVER_MULTIPLE.NASL
    descriptionThe version of VMware Workstation/Server installed on the remote host is affected by multiple vulnerabilities, including a privelege elevation vulnerability that allows a guest to take over a host and a buffer overflow vulnerability in the DHCP daemon. The buffer overlflow in the DHCP server may allow a remote attacker to execute arbitrary code on the remote host with SYSTEM privileges.
    last seen2020-06-01
    modified2020-06-02
    plugin id26911
    published2007-10-04
    reporterThis script is Copyright (C) 2007-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/26911
    titleVMware Workstation < 5.5.5 and Server < 1.0.4 Multiple Vulnerabilities
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    
    
    include("compat.inc");
    
    if (description)
    {
      script_id(26911);
      script_version("1.17");
    
      script_cve_id(
        "CVE-2007-0061",
        "CVE-2007-0062",
        "CVE-2007-0063",
        "CVE-2007-4058",
        "CVE-2007-4059",
        "CVE-2007-4155",
        "CVE-2007-4496",
        "CVE-2007-4497",
        "CVE-2007-4591",
        "CVE-2007-5023"
      );
      script_bugtraq_id(25110,25118,25131,25441,25728,25729,25732);
    
      script_name(english:"VMware Workstation < 5.5.5 and Server < 1.0.4 Multiple Vulnerabilities");
      script_summary(english:"Checks version of VMware Workstation"); 
     
     script_set_attribute(attribute:"synopsis", value:
    "The remote Windows host has an application that is affected by
    multiple issues." );
     script_set_attribute(attribute:"description", value:
    "The version of VMware Workstation/Server installed on the remote host
    is affected by multiple vulnerabilities, including a privelege
    elevation vulnerability that allows a guest to take over a host and a
    buffer overflow vulnerability in the DHCP daemon. 
    
    The buffer overlflow in the DHCP server may allow a remote attacker to
    execute arbitrary code on the remote host with SYSTEM privileges." );
     script_set_attribute(attribute:"see_also", value:"https://www.vmware.com/support/ws6/doc/releasenotes_ws6.html" );
     script_set_attribute(attribute:"see_also", value:"https://www.vmware.com/support/server/doc/releasenotes_server.html" );
     script_set_attribute(attribute:"solution", value:
    "Upgrade to VMware Workstation 6.0.1/5.5.5 or VMware Server 1.0.4." );
     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_canvas", value:"true");
     script_set_attribute(attribute:"canvas_package", value:'D2ExploitPack');
     script_cwe_id(22, 119, 189, 264, 399);
     script_set_attribute(attribute:"plugin_publication_date", value: "2007/10/04");
     script_cvs_date("Date: 2018/11/15 20:50:29");
    script_set_attribute(attribute:"plugin_type", value:"local");
    script_set_attribute(attribute:"cpe",value:"cpe:/a:vmware:server");
    script_set_attribute(attribute:"cpe",value:"cpe:/a:vmware:vmware_workstation");
    script_end_attributes();
    
     
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2007-2018 Tenable Network Security, Inc.");
    
      script_dependencies("vmware_workstation_detect.nasl", "vmware_server_win_detect.nasl");
      script_require_ports(139, 445);
    
      exit(0);
    }
    
    version = get_kb_item("VMware/Workstation/Version");
    if (version)
    {
     v = split(version, sep:".", keep:FALSE);
    
     if ( ( int(v[0]) < 5 ) ||
         ( int(v[0]) == 5 && int(v[1]) < 5 ) ||
         ( int(v[0]) == 5 && int(v[1]) == 5 && int(v[2]) < 5 ) ||
         ( int(v[0]) == 6 && int(v[1]) == 0 && int(v[2]) < 1 ) )
         {
       	security_hole(get_kb_item("SMB/transport"));
    	exit(0);
         }
    }
    
    version = get_kb_item("VMware/Server/Version");
    if (version)
    {
     v = split(version, sep:".", keep:FALSE);
    
     if ( ( int(v[0]) < 1 ) ||
         ( int(v[0]) == 1 && int(v[1]) == 0 && int(v[2]) < 4 ) )
       security_hole(get_kb_item("SMB/transport"));
    }
    
    
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-543-1.NASL
    descriptionNeel Mehta and Ryan Smith discovered that the VMware Player DHCP server did not correctly handle certain packet structures. Remote attackers could send specially crafted packets and gain root privileges. (CVE-2007-0061, CVE-2007-0062, CVE-2007-0063) Rafal Wojtczvk discovered multiple memory corruption issues in VMware Player. Attackers with administrative privileges in a guest operating system could cause a denial of service or possibly execute arbitrary code on the host operating system. (CVE-2007-4496, CVE-2007-4497). 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 id28250
    published2007-11-16
    reporterUbuntu Security Notice (C) 2007-2019 Canonical, Inc. / NASL script (C) 2007-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/28250
    titleUbuntu 6.06 LTS / 6.10 / 7.04 : linux-restricted-modules-2.6.17/20, vmware-player-kernel-2.6.15 vulnerabilities (USN-543-1)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Ubuntu Security Notice USN-543-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(28250);
      script_version("1.20");
      script_cvs_date("Date: 2019/08/02 13:33:01");
    
      script_cve_id("CVE-2007-0061", "CVE-2007-0062", "CVE-2007-0063", "CVE-2007-4496", "CVE-2007-4497", "CVE-2007-5023", "CVE-2007-5024", "CVE-2007-5025", "CVE-2007-5617", "CVE-2007-5618", "CVE-2007-5619");
      script_xref(name:"USN", value:"543-1");
    
      script_name(english:"Ubuntu 6.06 LTS / 6.10 / 7.04 : linux-restricted-modules-2.6.17/20, vmware-player-kernel-2.6.15 vulnerabilities (USN-543-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:
    "Neel Mehta and Ryan Smith discovered that the VMware Player DHCP
    server did not correctly handle certain packet structures. Remote
    attackers could send specially crafted packets and gain root
    privileges. (CVE-2007-0061, CVE-2007-0062, CVE-2007-0063)
    
    Rafal Wojtczvk discovered multiple memory corruption issues in VMware
    Player. Attackers with administrative privileges in a guest operating
    system could cause a denial of service or possibly execute arbitrary
    code on the host operating system. (CVE-2007-4496, CVE-2007-4497).
    
    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/543-1/"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A: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_canvas", value:"true");
      script_set_attribute(attribute:"canvas_package", value:'CANVAS');
      script_cwe_id(119, 189, 264, 310, 399);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:avm-fritz-firmware-2.6.17-12");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:avm-fritz-firmware-2.6.20-16");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:avm-fritz-kernel-source");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:fglrx-control");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:fglrx-kernel-source");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:linux-restricted-modules-2.6-386");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:linux-restricted-modules-2.6-generic");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:linux-restricted-modules-2.6-lowlatency");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:linux-restricted-modules-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:nvidia-glx");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:nvidia-glx-dev");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:nvidia-glx-legacy");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:nvidia-glx-legacy-dev");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:nvidia-glx-new");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:nvidia-glx-new-dev");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:nvidia-kernel-source");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:nvidia-legacy-kernel-source");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:nvidia-new-kernel-source");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:vmware-player-kernel-modules");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:vmware-player-kernel-modules-2.6.15-29");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:vmware-player-kernel-modules-2.6.17-12");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:vmware-player-kernel-modules-2.6.20-16");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:vmware-player-kernel-source");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:vmware-server-kernel-modules-2.6.20-16");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:vmware-tools-kernel-modules-2.6.20-16");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:xorg-driver-fglrx");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:xorg-driver-fglrx-dev");
      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:6.10");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:7.04");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2007/09/21");
      script_set_attribute(attribute:"patch_publication_date", value:"2007/11/15");
      script_set_attribute(attribute:"plugin_publication_date", value:"2007/11/16");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"Ubuntu Security Notice (C) 2007-2019 Canonical, Inc. / NASL script (C) 2007-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Ubuntu Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl", "linux_alt_patch_detect.nasl");
      script_require_keys("Host/cpu", "Host/Ubuntu", "Host/Ubuntu/release", "Host/Debian/dpkg-l");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("ubuntu.inc");
    include("ksplice.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 (! ereg(pattern:"^(6\.06|6\.10|7\.04)$", string:release)) audit(AUDIT_OS_NOT, "Ubuntu 6.06 / 6.10 / 7.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);
    
    if (get_one_kb_item("Host/ksplice/kernel-cves"))
    {
      rm_kb_item(name:"Host/uptrack-uname-r");
      cve_list = make_list("CVE-2007-0061", "CVE-2007-0062", "CVE-2007-0063", "CVE-2007-4496", "CVE-2007-4497", "CVE-2007-5023", "CVE-2007-5024", "CVE-2007-5025", "CVE-2007-5617", "CVE-2007-5618", "CVE-2007-5619");
      if (ksplice_cves_check(cve_list))
      {
        audit(AUDIT_PATCH_INSTALLED, "KSplice hotfix for USN-543-1");
      }
      else
      {
        _ubuntu_report = ksplice_reporting_text();
      }
    }
    
    flag = 0;
    
    if (ubuntu_check(osver:"6.06", pkgname:"vmware-player-kernel-modules", pkgver:"2.6.15.11-13")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"vmware-player-kernel-modules-2.6.15-29", pkgver:"2.6.15.11-13")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"vmware-player-kernel-source", pkgver:"2.6.15.11-13")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"avm-fritz-firmware-2.6.17-12", pkgver:"3.11+2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"avm-fritz-kernel-source", pkgver:"3.11+2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"fglrx-control", pkgver:"8.28.8+2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"fglrx-kernel-source", pkgver:"8.28.8+2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"linux-restricted-modules-2.6.17-12-386", pkgver:"2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"linux-restricted-modules-2.6.17-12-generic", pkgver:"2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"linux-restricted-modules-common", pkgver:"2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"nvidia-glx", pkgver:"1.0.8776+2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"nvidia-glx-dev", pkgver:"1.0.8776+2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"nvidia-glx-legacy", pkgver:"1.0.7184+2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"nvidia-glx-legacy-dev", pkgver:"1.0.7184+2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"nvidia-kernel-source", pkgver:"1.0.8776+2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"nvidia-legacy-kernel-source", pkgver:"1.0.7184+2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"vmware-player-kernel-modules-2.6.17-12", pkgver:"2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"xorg-driver-fglrx", pkgver:"7.1.0-8.28.8+2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"6.10", pkgname:"xorg-driver-fglrx-dev", pkgver:"7.1.0-8.28.8+2.6.17.9-12.4")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"avm-fritz-firmware-2.6.20-16", pkgver:"3.11+2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"avm-fritz-kernel-source", pkgver:"3.11+2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"fglrx-control", pkgver:"8.34.8+2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"fglrx-kernel-source", pkgver:"8.34.8+2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"linux-restricted-modules-2.6.20-16-386", pkgver:"2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"linux-restricted-modules-2.6.20-16-generic", pkgver:"2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"linux-restricted-modules-2.6.20-16-lowlatency", pkgver:"2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"linux-restricted-modules-common", pkgver:"2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"nvidia-glx", pkgver:"1.0.9631+2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"nvidia-glx-dev", pkgver:"1.0.9631+2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"nvidia-glx-legacy", pkgver:"1.0.7184+2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"nvidia-glx-legacy-dev", pkgver:"1.0.7184+2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"nvidia-glx-new", pkgver:"1.0.9755+2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"nvidia-glx-new-dev", pkgver:"1.0.9755+2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"nvidia-kernel-source", pkgver:"1.0.9631+2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"nvidia-legacy-kernel-source", pkgver:"1.0.7184+2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"nvidia-new-kernel-source", pkgver:"1.0.9755+2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"vmware-player-kernel-modules-2.6.20-16", pkgver:"2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"vmware-server-kernel-modules-2.6.20-16", pkgver:"2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"vmware-tools-kernel-modules-2.6.20-16", pkgver:"2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"xorg-driver-fglrx", pkgver:"7.1.0-8.34.8+2.6.20.6-16.30")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"xorg-driver-fglrx-dev", pkgver:"7.1.0-8.34.8+2.6.20.6-16.30")) 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, "avm-fritz-firmware-2.6.17-12 / avm-fritz-firmware-2.6.20-16 / etc");
    }
    
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-200711-23.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-200711-23 (VMware Workstation and Player: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in several VMware products. Neel Mehta and Ryan Smith (IBM ISS X-Force) discovered that the DHCP server contains an integer overflow vulnerability (CVE-2007-0062), an integer underflow vulnerability (CVE-2007-0063) and another error when handling malformed packets (CVE-2007-0061), leading to stack-based buffer overflows or stack corruption. Rafal Wojtczvk (McAfee) discovered two unspecified errors that allow authenticated users with administrative or login privileges on a guest operating system to corrupt memory or cause a Denial of Service (CVE-2007-4496, CVE-2007-4497). Another unspecified vulnerability related to untrusted virtual machine images was discovered (CVE-2007-5617). VMware products also shipped code copies of software with several vulnerabilities: Samba (GLSA-200705-15), BIND (GLSA-200702-06), MIT Kerberos 5 (GLSA-200707-11), Vixie Cron (GLSA-200704-11), shadow (GLSA-200606-02), OpenLDAP (CVE-2006-4600), PAM (CVE-2004-0813, CVE-2007-1716), GCC (CVE-2006-3619) and GDB (CVE-2006-4146). Impact : Remote attackers within a guest system could possibly exploit these vulnerabilities to execute code on the host system with elevated privileges or to cause a Denial of Service. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id28262
    published2007-11-20
    reporterThis script is Copyright (C) 2007-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/28262
    titleGLSA-200711-23 : VMware Workstation and Player: Multiple vulnerabilities

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 25728,25729,25731,25732 CVE(CAN) ID: CVE-2007-0061,CVE-2007-0062,CVE-2007-0063,CVE-2007-4059,CVE-2007-4155,CVE-2007-4496,CVE-2007-4497 VMWare是一款虚拟PC软件,允许在一台机器上同时运行两个或多个Windows、DOS、LINUX系统。 VMWare的实现上存在多个安全漏洞,可导致多种威胁。 具体如下: 1) VMWare的DHCP服务器可被恶意网页用来获取系统权限。 2) VMWare的IntraProcessLogging.dll和vielib.dll程序库可被用来覆盖系统上的任意文件。 3) 虚拟机操作系统中具有管理权限的用户可以导致主机系统中的进程发生内存破坏,从而在主机系统上执行任意指令。 4) 虚拟机操作系统中的用户可以导致主机系统中的进程失去响应异常退出,从而使主机系统不可用。 5) Workstation使用未加引号括起来的路径启动系统服务,本地攻击者可能利用此漏洞执行恶意程序,获得权限提升。 VMWare Workstation 6.0 目前厂商已经在最新版本的软件中修复了这些安全问题,请到厂商的主页下载: <a href="http://www.vmware.com" target="_blank">http://www.vmware.com</a>
idSSV:2238
last seen2017-11-19
modified2007-09-20
published2007-09-20
reporterRoot
titleVMware Workstation 6.0多个安全漏洞

Statements

contributorMark J Cox
lastmodified2008-06-03
organizationRed Hat
statementNot vulnerable. This issue did not affect the versions of dhcp as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5.