Lucene search

K
nessusThis script is Copyright (C) 2003-2021 Tenable Network Security, Inc.CC_GUESTBOOK.NASL
HistoryMar 30, 2003 - 12:00 a.m.

CC GuestBook cc_guestbook.pl Multiple Parameter XSS

2003-03-3000:00:00
This script is Copyright (C) 2003-2021 Tenable Network Security, Inc.
www.tenable.com
232

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

0.002 Low

EPSS

Percentile

57.0%

The remote host is running cc_guestbook.pl, a guestbook written in Perl.

This CGI is vulnerable to a cross-site scripting attack. An attacker may use this flaw to steal the cookies of your users.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

# Ref:
#
# From: "BrainRawt ." <[email protected]>
# To: [email protected]
# Subject: CGI-City's CCGuestBook Script Injection Vulns
# Date: Sat, 29 Mar 2003 18:47:04 +0000


include('deprecated_nasl_level.inc');
include('compat.inc');

if(description)
{
 script_id(11503);
 script_version("1.22");
 script_cve_id("CVE-2003-1556");
 script_bugtraq_id(7237);

 script_name(english:"CC GuestBook cc_guestbook.pl Multiple Parameter XSS");

 script_set_attribute(attribute:"synopsis", value:
"The remote web server contains a Perl script is affected by a cross-
site scripting vulnerability." );
 script_set_attribute(attribute:"description", value:
"The remote host is running cc_guestbook.pl, a guestbook written in
Perl. 

This CGI is vulnerable to a cross-site scripting attack.  An attacker
may use this flaw to steal the cookies of your users." );
 script_set_attribute(attribute:"solution", value:
"Delete this CGI." );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
 script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
 script_set_attribute(attribute:"exploit_available", value:"false");
 script_cwe_id(79);

 script_set_attribute(attribute:"plugin_publication_date", value: "2003/03/30");
 script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();

 script_summary(english:"Checks for the presence of view.php");
 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2003-2021 Tenable Network Security, Inc.");
 script_family(english:"CGI abuses : XSS");
 script_dependencie("find_service1.nasl", "http_version.nasl");
 script_require_ports("Services/www", 80);
 script_exclude_keys("Settings/disable_cgi_scanning");
 exit(0);
}

#
# The script code starts here
#
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");

port = get_http_port(default:80);

if(!get_port_state(port))exit(0);



foreach dir ( cgi_dirs() )
{
 r = http_send_recv3(port:port, method: 'GET', item: strcat(dir, "/cc_guestbook.pl"));

 if (isnull(r)) exit(0);

 if("Please enter a valid email address" >< r[2] &&
    "Please enter your homepage title" >< r[2])
 	{
	security_warning(port);
	set_kb_item(name: 'www/'+port+'/XSS', value: TRUE);
	exit(0);
	}
}

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

0.002 Low

EPSS

Percentile

57.0%

Related for CC_GUESTBOOK.NASL