4.3 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
AV:N/AC:M/Au:N/C:N/I:P/A:N
6.2 Medium
AI Score
Confidence
High
0.007 Low
EPSS
Percentile
80.6%
The remote server runs a version of CjOverkill, a free traffic trading
script which is as old as or older than version 4.0.3.
The remote version of this software is affected by a cross-site scripting vulnerability in the script
# SPDX-FileCopyrightText: 2004 David Maciejak
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.15462");
script_version("2023-12-13T05:05:23+0000");
script_tag(name:"last_modification", value:"2023-12-13 05:05:23 +0000 (Wed, 13 Dec 2023)");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_cve_id("CVE-2004-2193");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/11359");
script_tag(name:"cvss_base", value:"4.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
script_name("CjOverkill trade.php XSS");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2004 David Maciejak");
script_family("Web application abuses");
script_dependencies("find_service.nasl", "httpver.nasl", "webmirror.nasl", "DDI_Directory_Scanner.nasl", "gb_php_http_detect.nasl", "global_settings.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
script_tag(name:"solution", value:"Upgrade to version 4.0.4 or newer.");
script_tag(name:"summary", value:"The remote server runs a version of CjOverkill, a free traffic trading
script which is as old as or older than version 4.0.3.
The remote version of this software is affected by a cross-site scripting vulnerability in the script
'trade.php'. This issue is due to a failure of the application to properly sanitize user-supplied input.");
script_tag(name:"impact", value:"As a result of this vulnerability, it is possible for a remote attacker
to create a malicious link containing script code that will be executed in the browser of an unsuspecting
user when followed.
This may facilitate the theft of cookie-based authentication credentials as well as other attacks.");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
port = http_get_port(default:80);
if(!http_can_host_php(port:port))
exit(0);
url = "/trade.php";
r = http_get_cache(item:url, port:port);
if(!r)
exit(0);
if(egrep(pattern:"<title>CjOverkill Version ([0-3]\.|4\.0\.[0-3][^0-9])</title>", string:r)) {
report = http_report_vuln_url(port:port, url:url);
security_message(port:port, data:report);
exit(0);
}
exit(99);