6.8 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
8.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
0.005 Low
EPSS
Percentile
77.3%
The Trend Micro Smart Protection Server running on the remote host is affected by a session hijacking vulnerability due to the disclosure of session IDs in the diagnostic.log file that can be accessed via HTTP without authentication. An unauthenticated, remote attacker can grab the log file and hijack active user sessions to perform authenticated requests.
Note that the product is reportedly affected by other vulnerabilities; however, this plugin has not tested for them.
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(107224);
script_version("1.7");
script_cvs_date("Date: 2019/04/30 14:30:16");
script_cve_id("CVE-2017-11398");
script_bugtraq_id(102275);
script_name(english:"Trend Micro Smart Protection Server Session Hijacking Via Log File Disclosure");
script_summary(english:"Attempts to fetch a log file");
script_set_attribute(attribute:"synopsis", value:
"The remote host is running a web application that is affected by a
session hijacking vulnerability.");
script_set_attribute(attribute:"description", value:
"The Trend Micro Smart Protection Server running on the remote host is
affected by a session hijacking vulnerability due to the disclosure
of session IDs in the diagnostic.log file that can be accessed via
HTTP without authentication. An unauthenticated, remote attacker can
grab the log file and hijack active user sessions to perform
authenticated requests.
Note that the product is reportedly affected by other
vulnerabilities; however, this plugin has not tested for them.");
script_set_attribute(attribute:"see_also", value:"https://success.trendmicro.com/solution/1118992");
# https://www.secureauth.com/labs/advisories/trend-micro-smart-protection-server-multiple-vulnerabilities
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4a9ef707");
script_set_attribute(attribute:"solution", value:
"Apply updates in accordance with the vendor advisory.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"d2_elliot_name", value:"Trend Micro Smart Protection Server Encryption Key Disclosure");
script_set_attribute(attribute:"exploit_framework_d2_elliot", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2017/12/19");
script_set_attribute(attribute:"patch_publication_date", value:"2017/12/19");
script_set_attribute(attribute:"plugin_publication_date", value:"2018/03/08");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:trend_micro:smart_protection_server");
script_end_attributes();
script_category(ACT_ATTACK);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("trendmicro_smart_protection_server_detect.nbin");
script_require_keys("installed_sw/Trend Micro Smart Protection Server");
script_require_ports("Services/www", 4343);
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("webapp_func.inc");
app = "Trend Micro Smart Protection Server";
# Exit if app is not detected on the target
get_install_count(app_name:app, exit_if_zero:TRUE);
# Exit if app is not detected on this port
port = get_http_port(default:4343);
install = get_single_install(app_name:app, port:port);
file = 'diagnostic.log';
url = '/widget/repository/log/' + file;
res = http_send_recv3(
method : 'GET',
item : url,
port : port,
exit_on_fail : TRUE
);
if(res[0] =~ "^HTTP/[0-9]\.[0-9] 200" &&
# Session ID in log line:
# 2018-02-21 17:58:15,930,INFO,f3tt3d3hak6mtvjgjds3g27447,null,<br />
res[2] =~"\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d+,[A-Z]+,.+?,"
)
{
security_report_v4(
port : port,
severity : SECURITY_WARNING,
file : file,
request : make_list(http_last_sent_request()),
output : res[2],
rep_extra : 'This file contains session IDs.',
attach_type: 'text/html'
);
}
else
{
audit(AUDIT_WEB_APP_NOT_AFFECTED, app, build_url(qs:install['path'], port:port));
}
Vendor | Product | Version | CPE |
---|---|---|---|
trend_micro | smart_protection_server | cpe:/a:trend_micro:smart_protection_server |
6.8 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
8.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
0.005 Low
EPSS
Percentile
77.3%