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.3 Medium
AI Score
Confidence
High
0.002 Low
EPSS
Percentile
56.9%
Aardvark Topsites PHP CMS is prone to cross site scripting vulnerabilities.
# SPDX-FileCopyrightText: 2010 Greenbone AG
# 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.801556");
script_version("2023-07-28T16:09:07+0000");
script_tag(name:"last_modification", value:"2023-07-28 16:09:07 +0000 (Fri, 28 Jul 2023)");
script_tag(name:"creation_date", value:"2010-12-09 06:36:39 +0100 (Thu, 09 Dec 2010)");
script_cve_id("CVE-2010-4097");
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("Aardvark Topsites PHP 'index.php' Multiple Cross Site Scripting Vulnerabilities");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2010 Greenbone AG");
script_family("Web application abuses");
script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/62767");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/44390");
script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/archive/1/514423/100/0/threaded");
script_tag(name:"impact", value:"Successful exploitation will allow attacker to execute arbitrary
script code in the browser of an unsuspecting user in the context of the affected site.");
script_tag(name:"affected", value:"Aardvark Topsites PHP version 5.2 and 5.2.1");
script_tag(name:"insight", value:"The flaws are caused by improper validation of user-supplied
input via the 'mail', 'title', 'u', and 'url' parameters to 'index.php' that
allows the attackers to execute arbitrary HTML and script code.");
script_tag(name:"solution", value:"No known solution was made available for at least one year since the disclosure
of this vulnerability. Likely none will be provided anymore. General solution options are to upgrade to a newer
release, disable respective features, remove the product or replace the product by another one.");
script_tag(name:"summary", value:"Aardvark Topsites PHP CMS is prone to cross site scripting vulnerabilities.");
script_tag(name:"qod_type", value:"remote_vul");
script_tag(name:"solution_type", value:"WillNotFix");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
port = http_get_port( default:80 );
foreach path( make_list( "/atsphp", "/" ) ) {
if( path == "/" ) path = "";
res = http_get_cache(item:path + "/index.php", port:port);
if(">Aardvark Topsites PHP<" >< res) {
url = path + '/index.php?a=search&q="onmouseover=alert("XSS-TEST") par="';
req = http_get(item:url, port:port);
res = http_keepalive_send_recv(port:port, data:req);
if(res =~ "^HTTP/1\.[01] 200" && 'onmouseover=alert("XSS-TEST")" />' >< res) {
report = http_report_vuln_url(port:port, url:url);
security_message(port:port, data:report);
exit(0);
}
}
}
exit(99);