| Reporter | Title | Published | Views | Family All 5 |
|---|---|---|---|---|
| Apache on Windows mod_alias URL Validation Canonicalization CGI Source Information Disclosure | 18 Nov 201100:00 | – | nessus | |
| CVE-2006-4110 | 14 Aug 200620:00 | – | cve | |
| CVE-2006-4110 | 14 Aug 200620:00 | – | cvelist | |
| CVE-2006-4110 | 14 Aug 200620:00 | – | debiancve | |
| CVE-2006-4110 | 14 Aug 200620:04 | – | nvd |
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/archive/1/442882/30/0/threaded |
| cve | www.cve.mitre.org/cgi-bin/cvename.cgi |
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(22203);
script_version("1.25");
script_cve_id("CVE-2006-4110");
script_bugtraq_id(19447);
script_name(english:"Apache on Windows mod_alias URL Validation Canonicalization CGI Source Disclosure");
script_summary(english:"Tries to read source of print-env.pl with Apache for Windows");
script_set_attribute(attribute:"synopsis", value:
"The remote web server is affected by an information disclosure issue." );
script_set_attribute(attribute:"description", value:
"The version of Apache for Windows running on the remote host can be
tricked into disclosing the source of its CGI scripts because of a
configuration issue. Specifically, if the CGI directory is located
within the document root, then requests that alter the case of the
directory name will bypass the mod_cgi cgi-script handler and be
treated as requests for ordinary files." );
script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/442882/30/0/threaded" );
script_set_attribute(attribute:"solution", value:
"Reconfigure Apache so that the scripts directory is located outside of
the document root." );
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:N/A:N");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N");
script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/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/08/11");
script_set_attribute(attribute:"vuln_publication_date", value: "2006/08/09");
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:apache:http_server");
script_set_attribute(attribute:"exploited_by_nessus", value:"true");
script_end_attributes();
script_category(ACT_ATTACK);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2006-2021 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencie("apache_http_version.nasl");
script_exclude_keys("installed_sw/Apache", "Settings/disable_cgi_scanning");
script_require_ports("Services/www", 80);
exit(0);
}
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("audit.inc");
include("webapp_func.inc");
get_install_count(app_name:"Apache", exit_if_zero:TRUE);
port = get_http_port(default:80);
install = get_single_install(app_name:"Apache", port:port);
# Loop through CGI directories.
foreach dir (cgi_dirs()) {
# Try to exploit the flaw to read a CGI script.
#
# nb: printenv.pl is included by default.
file = "printenv.pl";
r = http_send_recv3(method:"GET", item:string(toupper(dir), "/", file), port:port);
if (isnull(r)) exit(0);
res = r[2];
# There's a problem if it looks like the source.
if (
"foreach $var (sort(keys(%ENV))) {" >< res &&
pgrep(pattern:"^#!.+/perl\.exe", string:res)
)
{
report = string(
"Here are the contents of the '", dir, "/", file, "' CGI script that\n",
"Nessus was able to read from the remote host :\n",
"\n",
res
);
security_warning(port:port, extra:report);
exit(0);
}
}
audit(AUDIT_LISTEN_NOT_VULN, "Apache", port, install["version"]);
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