7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
0.083 Low
EPSS
Percentile
94.4%
The remote server is running IMP < 2.2.7. Such versions are potentially affected by a cross-site scripting attack which can be used by an attacker to hijack a victim’s IMP session.
*** Nessus solely relied on the version number of your*** installation, so if you applied the hotfix already,
*** consider this alert as a false positive
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(10801);
script_version("1.32");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");
script_cve_id("CVE-2001-0857");
script_bugtraq_id(3525);
script_name(english:"Horde Imp Webmail status.php3 message Parameter XSS");
script_set_attribute(attribute:"synopsis", value:
"The remote web server is hosting a PHP application that is affected by
a cross-site scripting vulnerability.");
script_set_attribute(attribute:"description", value:
"The remote server is running IMP < 2.2.7. Such versions are
potentially affected by a cross-site scripting attack which can be
used by an attacker to hijack a victim's IMP session.
*** Nessus solely relied on the version number of your
*** installation, so if you applied the hotfix already,
*** consider this alert as a false positive");
script_set_attribute(attribute:"solution", value:
"Upgrade to IMP 2.2.7 or later.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);
script_set_attribute(attribute:"vuln_publication_date", value:"2001/11/09");
script_set_attribute(attribute:"plugin_publication_date", value:"2001/11/10");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:horde:imp");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2001-2022 Tenable Network Security, Inc.");
script_dependencies("find_service1.nasl", "http_version.nasl");
script_require_keys("www/PHP");
script_require_ports("Services/www", 80);
exit(0);
}
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
port = get_http_port(default:80);
if(!can_host_php(port:port))exit(0);
dir[0] = "/";
dir[1] = "/imp/";
dir[2] = "/horde/imp/";
for(i=0;dir[i];i=i+1)
{
res = http_send_recv3(method:"GET", item:string(dir[i],"status.php3"), port:port);
if (isnull(res)) exit(1, "The web server on port "+port+" failed to respond.");
res[2] = strstr(res[2], "IMP, Version");
if (res[2])
{
r2 = strstr(res[2], "</font>");
version = res[2] - r2;
if (ereg(pattern:"IMP, Version ([0-1]\..*)|(2\.([0-1]\..*|2\.[0-6][^0-9]))", string:version))
{
security_hole(port);
set_kb_item(name:'www/'+port+'/XSS', value:TRUE);
exit(0);
}
}
}