Vulnerabilities > CVE-2010-3268 - Improper Input Validation vulnerability in multiple products

047910
CVSS 5.0 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
NONE
Availability impact
PARTIAL
network
low complexity
intel
symantec
microsoft
CWE-20
nessus

Summary

The GetStringAMSHandler function in prgxhndl.dll in hndlrsvc.exe in the Intel Alert Handler service (aka Symantec Intel Handler service) in Intel Alert Management System (AMS), as used in Symantec Antivirus Corporate Edition 10.1.4.4010 on Windows 2000 SP4 and Symantec Endpoint Protection before 11.x, does not properly validate the CommandLine field of an AMS request, which allows remote attackers to cause a denial of service (application crash) via a crafted request.

Common Weakness Enumeration (CWE)

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.
  • Server Side Include (SSI) Injection
    An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
  • Cross Zone Scripting
    An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
  • Cross Site Scripting through Log Files
    An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
  • Command Line Execution through SQL Injection
    An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.

Nessus

  • NASL familyWindows
    NASL idSYMANTEC_AMS2_SYM11-002.NASL
    descriptionAlert Management System 2 (AMS2), an optional component included with multiple Symantec products, is installed on the remote host. Versions before build 156 are affected by multiple stack-based buffer overflow vulnerabilities. A remote attacker could exploit these issues to crash the service or to execute arbitrary code as SYSTEM.
    last seen2020-06-01
    modified2020-06-02
    plugin id51813
    published2011-01-28
    reporterThis script is Copyright (C) 2011-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/51813
    titleSymantec Alert Management System 2 Multiple Vulnerabilities (SYM11-002, SYM11-003)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    
    include("compat.inc");
    
    
    if (description)
    {
      script_id(51813);
      script_version("1.27");
      script_cvs_date("Date: 2018/11/15 20:50:28");
    
      script_cve_id("CVE-2010-0110", "CVE-2010-0111", "CVE-2010-3268", "CVE-2011-0688");
      script_bugtraq_id(41959, 45935, 45936);
      script_xref(name:"EDB-ID", value:"17700");
      script_xref(name:"IAVA", value:"2011-A-0011");
      script_xref(name:"Secunia", value:"43099");
    
      script_name(english:"Symantec Alert Management System 2 Multiple Vulnerabilities (SYM11-002, SYM11-003)");
      script_summary(english:"Checks version number of iao.exe");
    
      script_set_attribute(
        attribute:"synopsis",
        value:
    "The remote Windows host has a service that is affected by multiple
    remote buffer overflow vulnerabilities."
      );
      script_set_attribute(
        attribute:"description",
        value:
    "Alert Management System 2 (AMS2), an optional component included with
    multiple Symantec products, is installed on the remote host.  Versions
    before build 156 are affected by multiple stack-based buffer overflow
    vulnerabilities. 
    
    A remote attacker could exploit these issues to crash the service or
    to execute arbitrary code as SYSTEM."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://web.archive.org/web/20160305233709/http://telussecuritylabs.com/threats/show/fsc20100727-01"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://telussecuritylabs.com/threats/show/FSC20101213-06"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.zerodayinitiative.com/advisories/ZDI-11-028/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.zerodayinitiative.com/advisories/ZDI-11-029/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.zerodayinitiative.com/advisories/ZDI-11-030/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.zerodayinitiative.com/advisories/ZDI-11-031/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.zerodayinitiative.com/advisories/ZDI-11-032/"
      );
      # https://www.secureauth.com/labs/advisories/symantec-intel-handler-service-remote-dos"
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?3ccc88b8"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://seclists.org/fulldisclosure/2010/Dec/261"
      );
      # http://www.symantec.com/security_response/securityupdates/detail.jsp?fid=security_advisory&pvid=security_advisory&suid=20110126_00
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?47017164"
      );
      # http://www.symantec.com/security_response/securityupdates/detail.jsp?fid=security_advisory&pvid=security_advisory&suid=20110126_01
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?2281a594"
      );
      script_set_attribute(
        attribute:"solution",
        value:
    "Apply the relevant upgrade referenced in the Symantec advisory
    or disable AMS2."
      );
      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:'Symantec System Center Alert Management System (hndlrsvc.exe) Arbitrary 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:'White_Phosphorus');
      script_set_attribute(attribute:"vuln_publication_date", value:"2010/01/28");
      script_set_attribute(attribute:"patch_publication_date", value:"2011/01/28");
      script_set_attribute(attribute:"plugin_publication_date", value:"2011/01/28");
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe",value:"cpe:/a:symantec:antivirus");
      script_set_attribute(attribute:"stig_severity", value:"I");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2011-2018 Tenable Network Security, Inc.");
    
      script_dependencies("smb_hotfixes.nasl", "smb_enum_services.nasl");
      script_require_keys("SMB/Registry/Enumerated");
      script_require_ports(139, 445);
    
      exit(0);
    }
    
    
    include("smb_func.inc");
    include("smb_hotfixes.inc");
    include("smb_hotfixes_fcheck.inc");
    include("misc_func.inc");
    
    
    if (report_paranoia < 2)
    {
      status = get_kb_item_or_exit("SMB/svc/Intel Alert Originator");
    
      if (status != SERVICE_ACTIVE)
        exit(0, "The Alert Originator service is installed but not active.");
    }
    
    if (!is_accessible_share()) exit(1, "is_accessible_share() failed.");
    
    if (
      hotfix_is_vulnerable(file:"iao.exe", version:"6.12.0.156", dir:"\system32\ams_ii")
    )
    {
      hotfix_security_hole();
      hotfix_check_fversion_end();
      exit(0);
    }
    else
    {
      hotfix_check_fversion_end();
      exit(0, "The host is not affected.");
    }
    
  • NASL familyWindows
    NASL idSYMANTEC_INTEL_ALERT_HANDLER_SVC_DOS.NASL
    descriptionIntel Alert Handler Service (hndlrsvc.exe) included with Alert Management System 2 (AMS2), an optional component included with either Symantec Antivirus Corporate Edition or Symantec Endpoint Protection version prior to 11.x, is installed on the remote host. The installed service reportedly fails to correctly handle
    last seen2020-06-01
    modified2020-06-02
    plugin id51190
    published2010-12-15
    reporterThis script is Copyright (C) 2010-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/51190
    titleSymantec Products Intel Alert Handler Remote DoS
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(51190);
      script_version("1.11");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/12");
    
      script_cve_id("CVE-2010-3268");
      script_bugtraq_id(45368);
      script_xref(name:"Secunia", value:"42593");
    
      script_name(english:"Symantec Products Intel Alert Handler Remote DoS");
      script_summary(english:"Checks version number of Symantec Antivirus/SEP");
    
      script_set_attribute(attribute:"synopsis",
        value:
    "The remote Windows host has a service that is affected by a denial of
    service vulnerability."
      );
      script_set_attribute(
        attribute:"description",
        value:
    "Intel Alert Handler Service (hndlrsvc.exe) included with Alert
    Management System 2 (AMS2), an optional component included with either
    Symantec Antivirus Corporate Edition or Symantec Endpoint Protection
    version prior to 11.x, is installed on the remote host.  The installed 
    service reportedly fails to correctly handle 'CommandLine' field in an 
    AMS request, and could be exploited by a remote attacker to crash the 
    affected service.");
    
       # https://www.secureauth.com/labs/advisories/symantec-intel-handler-service-remote-dos
      script_set_attribute(attribute:"see_also",value:"http://www.nessus.org/u?3ccc88b8");
      script_set_attribute(attribute:"see_also",value:"https://seclists.org/fulldisclosure/2010/Dec/261");
      script_set_attribute(attribute:"solution",value:
    "Either upgrade to version 11.x since it does not use Intel AMS code
    or disable Intel AMS.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/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:"exploit_framework_core", value:"true");
      script_set_attribute(attribute:"vuln_publication_date",value:"2010/12/13");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/12/15");
      script_set_attribute(attribute:"patch_publication_date", value:"2010/12/13");
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe",value:"cpe:/a:symantec:endpoint_protection");
      script_set_attribute(attribute:"cpe",value:"cpe:/a:intel:intel_alert_management_system");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2010-2020 Tenable Network Security, Inc.");
    
      script_dependencies("savce_installed.nasl", "smb_enum_services.nasl");
      script_require_keys("Antivirus/SAVCE/version", "SMB/svc/Intel Alert Handler");
      script_require_ports(139, 445);
    
      exit(0);
    }
    
    include("smb_func.inc");
    
    version = get_kb_item_or_exit("Antivirus/SAVCE/version");
    
    status = get_kb_item_or_exit("SMB/svc/Intel Alert Handler");
    if (status != SERVICE_ACTIVE && report_paranoia < 2 )
        exit(0, "The Intel Alert Handler service is installed but not active.");
    
    if (ver_compare(ver:version, fix:'11.0',strict:FALSE) == -1)
    {
     if (report_verbosity > 0)
     {
       report =
          '\n  Installed version : ' + version +
          '\n  Fixed version     : 11.x\n';
       security_warning(port:get_kb_item("SMB/transport"),extra:report);
     }
     else security_warning(get_kb_item("SMB/transport"));
     exit(0);
    }
    else exit(0,"Version "+ version + " is installed, and is not known to be affected.");
    

Saint

  • bid45936
    descriptionSymantec Alert Management System AMSSendAlertAck Buffer Overflow
    idmisc_av_symantec_antiviruspinbo
    osvdb72623
    titlesymantec_ams_amssendalertack
    typeremote
  • bid45936
    descriptionSymantec Alert Management System Intel Alert Handler modem string buffer overflow
    idmisc_av_symantec_antiviruspinbo
    titlesymantec_ams_modem
    typeremote
  • bid45936
    descriptionSymantec Alert Management System PIN number buffer overflow
    idmisc_av_symantec_antiviruspinbo
    titlesymantec_ams_pin
    typeremote