Apache mod_proxy_ftp Directory Component Wildcard Character Globbing XSS

This script is Copyright (C) 2008-2012 Tenable Network Security, Inc.


Synopsis :

The remote web server is vulnerable to a cross-site scripting attack.

Description :

The mod_proxy_ftp module in the version of Apache installed on the
remote host fails to properly sanitize user-supplied URL input before
using it to generate dynamic HTML output. Using specially crafted
requests for FTP URLs with globbing characters (such as asterisk,
tilde, opening square bracket, etc), an attacker may be able to
leverage this issue to inject arbitrary HTML and script code into a
user's browser to be executed within the security context of the
affected site.

See also :

http://www.rapid7.com/advisories/R7-0033
http://www.securityfocus.com/archive/1/495180/100/0/threaded
http://www.apache.org/dist/httpd/CHANGES_2.2
http://httpd.apache.org/security/vulnerabilities_22.html

Solution :

Either disable the affected module or upgrade to Apache version 2.2.10
or later.

Risk factor :

Medium / CVSS Base Score : 4.3
(CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N)
CVSS Temporal Score : 3.6
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Web Servers

Nessus Plugin ID: 34433 (apache_mod_proxy_ftp_glob_xss.nasl)

Bugtraq ID: 30560

CVE ID: CVE-2008-2939