Vulnerabilities > CVE-2015-6554 - OS Command Injection vulnerability in Symantec Endpoint Protection Manager

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
low complexity
symantec
CWE-78
nessus

Summary

Symantec Endpoint Protection Manager (SEPM) 12.1 before 12.1-RU6-MP3 allows remote attackers to execute arbitrary OS commands via crafted data.

Vulnerable Configurations

Part Description Count
Application
Symantec
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • 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.
  • Command Delimiters
    An attack of this type exploits a programs' vulnerabilities that allows an attacker's commands to be concatenated onto a legitimate command with the intent of targeting other resources such as the file system or database. The system that uses a filter or a blacklist input validation, as opposed to whitelist validation is vulnerable to an attacker who predicts delimiters (or combinations of delimiters) not present in the filter or blacklist. As with other injection attacks, the attacker uses the command delimiter payload as an entry point to tunnel through the application and activate additional attacks through SQL queries, shell commands, network scanning, and so on.
  • Exploiting Multiple Input Interpretation Layers
    An attacker supplies the target software with input data that contains sequences of special characters designed to bypass input validation logic. This exploit relies on the target making multiples passes over the input data and processing a "layer" of special characters with each pass. In this manner, the attacker can disguise input that would otherwise be rejected as invalid by concealing it with layers of special/escape characters that are stripped off by subsequent processing steps. The goal is to first discover cases where the input validation layer executes before one or more parsing layers. That is, user input may go through the following logic in an application: In such cases, the attacker will need to provide input that will pass through the input validator, but after passing through parser2, will be converted into something that the input validator was supposed to stop.
  • Argument Injection
    An attacker changes the behavior or state of a targeted application through injecting data or command syntax through the targets use of non-validated and non-filtered arguments of exposed services or methods.
  • OS Command Injection
    In this type of an attack, an adversary injects operating system commands into existing application functions. An application that uses untrusted input to build command strings is vulnerable. An adversary can leverage OS command injection in an application to elevate privileges, execute arbitrary commands and compromise the underlying operating system.

Nessus

  • NASL familyWindows
    NASL idSYMANTEC_ENDPOINT_PROT_MGR_SYM15-011.NASL
    descriptionThe version of Symantec Endpoint Protection Manager (SEPM) installed on the remote host is prior to 12.1 RU6 MP3. It is, therefore, affected by the following vulnerabilities : - A local privilege escalation vulnerability exists due to an untrusted search path flaw. A local attacker can exploit this, via a trojan DLL in a client install package, to gain privileges. (CVE-2015-1492, CVE-2015-8113) - A remote command execution vulnerability exists due to an unspecified flaw in the management console. An unauthenticated, remote attacker can exploit this, via a specially crafted request, to execute arbitrary Java commands. (CVE-2015-6554) - An arbitrary code execution vulnerability exists due to an unspecified flaw in the management console. An authenticated, remote attacker can exploit this by connecting to the console Java port, to execute arbitrary code with administrator privileges. (CVE-2015-6555)
    last seen2020-06-01
    modified2020-06-02
    plugin id86873
    published2015-11-13
    reporterThis script is Copyright (C) 2015-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/86873
    titleSymantec Endpoint Protection Manager < 12.1 RU6 MP3 Multiple Vulnerabilities (SYM15-011)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(86873);
      script_version("1.11");
      script_cvs_date("Date: 2018/11/15 20:50:29");
    
      script_cve_id(
        "CVE-2015-1492",
        "CVE-2015-6554",
        "CVE-2015-6555",
        "CVE-2015-8113"
      );
      script_bugtraq_id(
        76083,
        77494,
        77495
      );
    
      script_name(english:"Symantec Endpoint Protection Manager < 12.1 RU6 MP3 Multiple Vulnerabilities (SYM15-011)");
      script_summary(english:"Checks the SEPM version.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The version of Symantec Endpoint Protection Manager installed on the
    remote host is affected by multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of Symantec Endpoint Protection Manager (SEPM) installed
    on the remote host is prior to 12.1 RU6 MP3. It is, therefore,
    affected by the following vulnerabilities :
    
      - A local privilege escalation vulnerability exists due to
        an untrusted search path flaw. A local attacker can
        exploit this, via a trojan DLL in a client install
        package, to gain privileges. (CVE-2015-1492,
        CVE-2015-8113)
    
      - A remote command execution vulnerability exists due to
        an unspecified flaw in the management console. An
        unauthenticated, remote attacker can exploit this, via a
        specially crafted request, to execute arbitrary Java
        commands. (CVE-2015-6554)
    
      - An arbitrary code execution vulnerability exists due to
        an unspecified flaw in the management console. An
        authenticated, remote attacker can exploit this by
        connecting to the console Java port, to execute
        arbitrary code with administrator privileges.
        (CVE-2015-6555)");
      # https://support.symantec.com/en_US/article.SYMSA1334.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?41466b33");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Symantec Endpoint Protection Manager 12.1 RU6 MP3 or later.");
      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:"exploit_framework_core", value:"true");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2015/11/09");
      script_set_attribute(attribute:"patch_publication_date", value:"2015/11/09");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/11/13");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:symantec:endpoint_protection_manager");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2015-2018 Tenable Network Security, Inc.");
    
      script_dependencies("symantec_endpoint_prot_mgr_installed.nasl");
      script_require_keys("installed_sw/Symantec Endpoint Protection Manager");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("install_func.inc");
    
    app = 'Symantec Endpoint Protection Manager';
    
    install = get_single_install(app_name:app, exit_if_unknown_ver:TRUE);
    
    version = install['version'];
    path    = install['path'   ];
    
    fixed_ver = '12.1.6306.6300';
    
    if (version =~ "^12\.1\." && ver_compare(ver:version, fix:fixed_ver, strict:FALSE) == -1)
    {
      port = get_kb_item("SMB/transport");
      if (!port) port = 445;
    
      set_kb_item(name:'www/'+port+'/SQLInjection', value:TRUE);
    
      if (report_verbosity > 0)
      {
        report =
          '\n  Path              : '+ path +
          '\n  Installed version : '+ version +
          '\n  Fixed version     : '+ fixed_ver +
          '\n';
        security_hole(port:port, extra:report);
      }
      else security_hole(port);
    }
    else audit(AUDIT_INST_PATH_NOT_VULN, app, version, path);
    
  • NASL familyWeb Servers
    NASL idSYMANTEC_ENDPOINT_PROT_MGR_2015_6554.NASL
    descriptionThe remote Symantec Endpoint Protection Manager server is affected by a remote command execution vulnerability due to unsafe deserialize calls of unauthenticated Java objects to the Apache Commons Collections (ACC) library. An unauthenticated, remote attacker can exploit this, by sending a crafted multipart HTTP POST request, to execute arbitrary commands on the target host.
    last seen2020-06-01
    modified2020-06-02
    plugin id87505
    published2015-12-18
    reporterThis script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/87505
    titleSymantec Endpoint Protection Manager Java Object Deserialization RCE (SYM15-011)