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
EPSS
Percentile
73.2%
The remote host is running a version of the SiteEnable CMS package that has several vulnerabilities :
SQL Injection Vulnerability Due to a failure to properly sanitize user input to the ‘sortby’ parameter of the ‘content.asp’ script, an attacker can execute SQL queries against the underlying database.
Multiple Cross-Site Scripting Vulnerabilities An attacker can pass arbitrary HTML and script code through the ‘contenttype’ parameter (and likely others) of the ‘content.asp’ script to be executed in a user’s browser in the context of the affected website.
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(17970);
script_version("1.19");
script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
script_cve_id("CVE-2005-1011", "CVE-2005-1012");
script_bugtraq_id(12985);
script_name(english:"SiteEnable Multiple Input Validation Vulnerabilities");
script_summary(english:"Checks for XSS and SQL injection vulnerabilities in SiteEnable");
script_set_attribute(attribute:"synopsis", value:
"The remote web server contains an ASP application that is affected by
multiple flaws." );
script_set_attribute(attribute:"description", value:
"The remote host is running a version of the SiteEnable CMS package
that has several vulnerabilities :
- SQL Injection Vulnerability
Due to a failure to properly sanitize user input to the 'sortby'
parameter of the 'content.asp' script, an attacker can
execute SQL queries against the underlying database.
- Multiple Cross-Site Scripting Vulnerabilities
An attacker can pass arbitrary HTML and script code through
the 'contenttype' parameter (and likely others) of the
'content.asp' script to be executed in a user's browser in
the context of the affected website." );
script_set_attribute(attribute:"see_also", value:"http://securitytracker.com/alerts/2005/Apr/1013631.html" );
script_set_attribute(attribute:"solution", value:
"Unknown at this time." );
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:POC/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(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);
script_set_attribute(attribute:"plugin_publication_date", value: "2005/04/05");
script_set_attribute(attribute:"vuln_publication_date", value: "2005/04/03");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();
script_category(ACT_ATTACK);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2005-2021 Tenable Network Security, Inc.");
script_dependencies("http_version.nasl");
script_exclude_keys("Settings/disable_cgi_scanning");
script_require_ports("Services/www", 80);
script_require_keys("www/ASP");
exit(0);
}
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
port = get_http_port(default:80);
if (!can_host_asp(port:port)) exit(0);
# Check various directories for SiteEnable.
foreach dir (cgi_dirs()) {
# Pull up goto.asp and look for a string identifying SiteEnable.
w = http_send_recv3(method:"GET", item:string(dir, "/goto.asp"), port:port);
if (isnull(w)) exit(1, "The web server did not answer");
res = w[2];
# If it's SiteEnable.
if ('A "gotourl=" parameter must be passed to this page' >< res) {
# Try the exploit.
w = http_send_recv3(method:"GET",
item:string(
dir, "/content.asp?",
"CatId=&",
"ContentType=&",
"keywoards=Contact&",
"search=%3E&",
"do_search=1&",
# nb: cause a syntax error.
"sortby=foo%20bar"
),
port:port
);
if (isnull(w)) exit(1, "The web server did not answer");
res = w[2];
# If we get a database error, there's a problem.
if (egrep(string:res, pattern:"Microsoft JET Database Engine.+error '80040e10'", icase:TRUE)) {
security_hole(port);
set_kb_item(name: 'www/'+port+'/XSS', value: TRUE);
set_kb_item(name: 'www/'+port+'/SQLInjection', value: TRUE);
exit(0);
}
}
}