Lucene search
K

Apache on Windows mod_alias URL Validation Canonicalization CGI Source Information Disclosure

🗓️ 18 Nov 2011 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 237 Views

The remote web server is affected by an information disclosure issue due to improper configuration, allowing the source of CGI scripts to be disclosed

Related
Refs
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
Apache on Windows mod_alias URL Validation Canonicalization CGI Source Disclosure
11 Aug 200600:00
nessus
CVE
CVE-2006-4110
14 Aug 200620:00
cve
Cvelist
CVE-2006-4110
14 Aug 200620:00
cvelist
Debian CVE
CVE-2006-4110
14 Aug 200620:00
debiancve
NVD
CVE-2006-4110
14 Aug 200620:04
nvd
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

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

if (description)
{
  script_id(17694);
  script_version("1.13");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/12/04");

  script_cve_id("CVE-2006-4110");
  script_bugtraq_id(19447);

  script_name(english:"Apache on Windows mod_alias URL Validation Canonicalization CGI Source Information Disclosure");

 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 running on the remote Windows 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:F/RL:U/RC:ND");
 script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L");
 script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:U/RC:X");
 script_set_attribute(attribute:"cvss_score_source", value:"CVE-2006-4110");
 script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"true");

 script_set_attribute(attribute:"plugin_publication_date", value:"2011/11/18");
 script_set_attribute(attribute:"vuln_publication_date", value:"2006/08/09");

 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_set_attribute(attribute:"cpe", value:"cpe:/a:apache:http_server");
 script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2011-2025 Tenable Network Security, Inc.");

  script_dependencies("apache_http_version.nasl");
  script_require_keys("installed_sw/Apache", "Settings/PCI_DSS");
  script_require_ports("Services/www", 80);

  exit(0);
}

include('http.inc');
include('install_func.inc');

if (!get_kb_item('Settings/PCI_DSS')) exit(0, 'PCI-DSS compliance checking is not enabled.');

get_install_count(app_name:'Apache', exit_if_zero:TRUE);
var port = get_http_port(default:80);
var install = get_single_install(app_name:'Apache', port:port, exit_if_unknown_ver:TRUE);

var source = get_kb_item_or_exit('www/apache/'+port+'/pristine/source', exit_code:1);
var version = get_kb_item_or_exit('www/apache/'+port+'/pristine/version', exit_code:1);

#Only Apache on Windows is Vuln
var regexes = "\((CentOS|Darwin|Debian.*|Fedora|FreeBSD|Mac OS X.*|Mageia|Mandr(ake|iva).+" +
              "|NETWARE|OpenBSD|OpenVMS|OS/2|Red Hat.*|.*RedHat|SuSE.+|Trustix.*|Unix|.*[Ll]inux.*|Ubuntu)\)";

if (preg(pattern:regexes, string:source)) 
  exit(0, 'The Apache install listening on port '+port+' is not running under Windows.');

var report =
  '\n  Version source    : ' + source +
  '\n  Installed version : ' + version +
  '\n';
security_report_v4(severity:SECURITY_WARNING, port:port, extra:report);

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

04 Dec 2025 00:00Current
5.5Medium risk
Vulners AI Score5.5
CVSS 24.3
EPSS0.17318
237