Vulnerabilities > CVE-2015-2748 - Information Exposure vulnerability in Websense products

047910
CVSS 5.0 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
NONE
Availability impact
NONE
network
low complexity
websense
CWE-200
nessus

Summary

Websense TRITON AP-WEB before 8.0.0 does not properly restrict access to files in explorer_wse/, which allows remote attackers to obtain sensitive information via a direct request to a (1) Web Security incident report or the (2) Explorer configuration (websense.ini) file.

Vulnerable Configurations

Part Description Count
Application
Websense
4

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Subverting Environment Variable Values
    The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
  • Footprinting
    An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
  • 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.
  • Browser Fingerprinting
    An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
  • Session Credential Falsification through Prediction
    This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.

Nessus

  • NASL familyCGI abuses
    NASL idWEBSENSE_TRITON_USC_EXPLORER_DISCLOSURE.NASL
    descriptionThe version of Websense TRITON running on the remote web server does not properly restrict access to files in the
    last seen2020-06-01
    modified2020-06-02
    plugin id83740
    published2015-05-21
    reporterThis script is Copyright (C) 2015-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/83740
    titleWebsense TRITON Unauthorized File Disclosure
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(83740);
      script_version("1.4");
      script_cvs_date("Date: 2018/08/06 14:03:14");
    
      script_cve_id("CVE-2015-2748");
      script_bugtraq_id(73236, 73241);
    
      script_name(english:"Websense TRITON Unauthorized File Disclosure");
      script_summary(english:"Attempts to exploit the flaw.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The application on the remote web server is affected by an
    unauthorized file disclosure vulnerability.");
      script_set_attribute(attribute:"description", value:
    "The version of Websense TRITON running on the remote web server does
    not properly restrict access to files in the 'explorer_wse/' path. A
    remote attacker, by using a direct request to a Web Security incident
    report or the Explorer configuration (websense.ini) file, can thereby
    gain access to sensitive information.");
      # https://www.securify.nl/advisory/SFY20140909/missing_access_control_on_websense_explorer_web_folder.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?7a11e40c");
      # http://www.websense.com/support/article/kbarticle/Vulnerabilities-resolved-in-TRITON-APX-Version-8-0
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c46d757d");
      script_set_attribute(attribute:"solution", value:"Update to version 8.0.0.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2014/09/01");
      script_set_attribute(attribute:"patch_publication_date", value:"2015/04/08");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/05/21");
    
      script_set_attribute(attribute:"plugin_type", value:"remote");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:websense:triton_unified_security_center");
      script_end_attributes();
    
      script_category(ACT_ATTACK);
      script_family(english:"CGI abuses");
    
      script_copyright(english:"This script is Copyright (C) 2015-2018 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("websense_triton_usc_detect.nbin");
      script_require_keys("installed_sw/Websense TRITON");
      script_require_ports("Services/www", 9443);
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("http.inc");
    include("url_func.inc");
    include("install_func.inc");
    include("data_protection.inc");
    
    app = "Websense TRITON";
    get_install_count(app_name:app, exit_if_zero:TRUE);
    port     = get_http_port(default:9443);
    install  = get_single_install(app_name:app,port:port);
    url      = build_url(port:port, qs:install["path"]);
    item     = "/explorer_wse/websense.ini";
    if(install["path"] != "/")
      item = install["path"] + item;
    
    res = http_send_recv3(
      method : "GET",
      item   : item,
      port   : port,
      exit_on_fail:TRUE
    );
    
    if ('[PolicyServer]' >< res[2] && '# Websense' >< res[2])
    {
      security_report_v4(
        port     : port,
        request  : make_list(build_url(port:port,qs:item)),
        output   : data_protection::sanitize_user_full_redaction(output:res[2]),
        severity : SECURITY_WARNING,
        generic  : TRUE
      );
      exit(0);
    }
    else audit(AUDIT_WEB_APP_NOT_AFFECTED, app, url);
    
  • NASL familyWindows
    NASL idWEBSENSE_TRITON_USC_8.NASL
    descriptionThe remote host is running Websense TRITON version 7.8.2 through 7.8.4. It is, therefore, potentially affected by multiple vulnerabilities : - Multiple cross-site scripting vulnerabilities exist in the Investigative Reports due to a failure to properly validate the input to the
    last seen2020-06-01
    modified2020-06-02
    plugin id83739
    published2015-05-21
    reporterThis script is Copyright (C) 2015-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/83739
    titleWebsense TRITON 7.8 Multiple Vulnerabilities
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(83739);
      script_version("1.3");
      script_cvs_date("Date: 2018/08/06 14:03:16");
    
      script_cve_id(
        "CVE-2014-9711",
        "CVE-2015-2702",
        "CVE-2015-2703",
        "CVE-2015-2746",
        "CVE-2015-2748"
      );
      script_bugtraq_id(
        73233,
        73236,
        73240,
        73241,
        73242,
        73243,
        73345
      );
    
      script_name(english:"Websense TRITON 7.8 Multiple Vulnerabilities");
      script_summary(english:"Do a paranoid version check for Websense TRITON.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote web server hosts an information security application with
    multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The remote host is running Websense TRITON version 7.8.2 through
    7.8.4. It is, therefore, potentially affected by multiple 
    vulnerabilities :
    
      - Multiple cross-site scripting vulnerabilities exist in
        the Investigative Reports due to a failure to properly
        validate the input to the 'ReportName' parameter to the
        Explorer report scheduler and the input to the 'col'
        parameter to the Names and Anonymous summary report
        pages. A remote attacker can exploit these
        vulnerabilities to inject arbitrary script or HTML in
        the user's browser session. (CVE-2014-9711)
    
      - A stored cross-site scripting flaw exists due to a
        failure to validate input to the sender address field
        from an email when viewing audit log details. Websense
        TRITON is affected only if the Email Security component
        is installed. (CVE-2015-2702)
    
      - Multiple cross-site scripting vulnerabilities exist due
        to a failure to validate the input to the 'ws-encdata'
        parameter of the 'moreBlockInfo.cgi' script in the Data
        Security block page and the input to the 'admin_msg'
        parameter to the 'client-cert-import_wsoem.html' in the
        Content Gateway. A remote attacker can exploit these
        vulnerabilities to inject arbitrary script or HTML in
        the user's browser session. Websense TRITON is affected
        only if the Web Security component is installed.
        (CVE-2015-2703)
    
      - A command injection flaw exists due to a failure to
        validate the 'Destination' parameter of the
        CommandLineServlet of the Appliance Manager interface.
        An authenticated attacker can submit a specially crafted
        request to the servlet resulting in arbitrary commands
        being run as the root user on any V-Series appliances
        being managed by Websense TRITON. Note that the commands
        are executed on the appliance only and not the server
        that Websense TRITON is running on. (CVE-2015-2746)
    
      - Websense TRITON does not properly restrict access to
        files in the 'explorer_wse/' path. A remote attacker, by
        using a direct request to a Web Security incident report
        or the Explorer configuration (websense.ini) file, can
        thereby gain access to sensitive information. Websense
        TRITON is affected only if the Web Security component is
        installed. (CVE-2015-2748)");
      # https://www.securify.nl/advisory/SFY20140914/multiple_cross_site_scripting_vulnerabilities_in_websense_reporting.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3bff864f");
      # https://www.securify.nl/advisory/SFY20140906/command_injection_vulnerability_in_network_diagnostics_tool_of_websense_appliance_manager.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?1605810b");
      # https://www.securify.nl/advisory/SFY20140916/error_messages_of_websense_content_gateway_are_vulnerable_to_cross_site_scripting.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?f5915409");
      # https://www.securify.nl/advisory/SFY20140910/cross_site_scripting_vulnerability_in_websense_data_security_block_page.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?b4f2a526");
      # https://www.securify.nl/advisory/SFY20140911/cross_site_scripting_vulnerability_in_websense_explorer_report_scheduler.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?35904cd7");
      # https://www.securify.nl/advisory/SFY20140905/websense_email_security_vulnerable_to_persistent_cross_site_scripting_in_audit_log_details_view.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d81ea8fc");
      # http://www.websense.com/support/article/kbarticle/Vulnerabilities-resolved-in-TRITON-APX-Version-8-0
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c46d757d");
      script_set_attribute(attribute:"solution", value:
    "Some hotfixes have been released to address individual issues;
    however, only updating to 8.0 resolves all the issues listed.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:POC/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:"vuln_publication_date", value:"2014/09/01");
      script_set_attribute(attribute:"patch_publication_date", value:"2015/04/08");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/05/21");
    
      script_set_attribute(attribute:"potential_vulnerability", value:"true");
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:websense:triton_ap_data");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:websense:triton_ap_email");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:websense:triton_ap_web");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:websense:triton_unified_security_center");
      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("websense_triton_usc_installed.nbin");
      script_require_keys("installed_sw/Websense TRITON", "Settings/ParanoidReport");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("install_func.inc");
    
    app     = "Websense TRITON";
    install = get_single_install(app_name:app, port:port, exit_if_unknown_ver:TRUE);
    version = install['version'];
    path    = install['path'];
    
    if(report_paranoia < 2)
      audit(AUDIT_PARANOID);
    
    # Can only confirm 7.8.2 - 7.8.4 are affected by this set
    if(ver_compare(ver:version, fix:"7.8.2", strict:FALSE) <= -1 ||
       ver_compare(ver:version, fix:"7.8.4", strict:FALSE) >=  1)
      audit(AUDIT_INST_PATH_NOT_VULN,app,version,path);
    
    port = get_kb_item("SMB/transport");
    if (!port) port = 445;
    
    set_kb_item(name:'www/'+port+'/XSS', value:TRUE);
    
    if(report_verbosity > 0)
    {
      report = '\n  Path    : '+path+
               '\n  Version : '+version+
               '\n  Fixed   : 8.0.0'+
               '\n';
      security_warning(port:port, extra:report);
    }
    else security_warning(port);