| Reporter | Title | Published | Views | Family All 4 |
|---|---|---|---|---|
| CVE-2006-3430 | 7 Jul 200600:00 | – | cve | |
| CVE-2006-3430 | 7 Jul 200600:00 | – | cvelist | |
| EUVD-2006-3426 | 7 Oct 202500:30 | – | euvd | |
| CVE-2006-3430 | 7 Jul 200600:05 | – | nvd |
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(22115);
script_version("1.17");
script_cve_id("CVE-2006-3430");
script_bugtraq_id(18715);
script_name(english:"PatchLink Update Server checkprofile.asp checkid Parameter SQL Injection");
script_summary(english:"Tries to exploit SQL injection issue in PatchLink Update");
script_set_attribute(attribute:"synopsis", value:
"The remote web server contains an ASP script that is prone to a SQL
injection attack." );
script_set_attribute(attribute:"description", value:
"The remote host is running PatchLink Update Server, a patch and
vulnerability management solution.
The version of PatchLink Update Server installed on the remote host
fails to sanitize user-supplied input to the 'agentid' parameter of
the '/dagent/checkprofile.php' script before using it to construct
database queries. An unauthenticated attacker can exploit this flaw
to manipulate database queries, which might lead to disclosure of
sensitive information, modification of data, or attacks against the
underlying database.
Note that Novell ZENworks Patch Management is based on PatchLink
Update Server and is affected as well." );
script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/438710/30/0/threaded" );
script_set_attribute(attribute:"see_also", value:"http://support.novell.com/cgi-bin/search/searchtid.cgi?10100709.htm" );
script_set_attribute(attribute:"solution", value:
"Apply patch 6.1 P1 / 6.2 SR1 P1 if using PatchLink Update Server or
6.2 SR1 P1 if using Novell ZENworks Patch Management." );
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: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_set_attribute(attribute:"plugin_publication_date", value: "2006/07/28");
script_set_attribute(attribute:"vuln_publication_date", value: "2006/06/28");
script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:lumension:patchlink_update_server");
script_end_attributes();
script_category(ACT_ATTACK);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2006-2021 Tenable Network Security, Inc.");
script_dependencies("http_version.nasl");
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);
# Try to exploit the flaw to generate a SQL error.
r = http_send_recv3(method:"GET", port: port,
item:string(
"/dagent/checkprofile.asp?",
"agentid=11111'", SCRIPT_NAME ) );
if (isnull(r)) exit(0);
res = r[2];
# There's a problem if we see an error with our script name.
if (
"Microsoft OLE DB Provider for SQL Server" >< res &&
"error '80040e14'" >< res &&
# nb: the error message does not include the script's extension.
string("Incorrect syntax near '", (SCRIPT_NAME - strstr(SCRIPT_NAME, "."))) >< res
) {
security_hole(port);
set_kb_item(name: 'www/'+port+'/SQLInjection', value: TRUE);
}
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation