AutoIndex PHP Script index.php search Parameter XSS

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


Synopsis :

The remote web server contains a PHP script that is vulnerable to a
cross-site scripting issue.

Description :

The remote host is running AutoIndex, a free PHP script for indexing
files in a directory.

The installed version of AutoIndex fails to properly sanitize
user-supplied input to the 'search' parameter of the 'index.php'
script. By leveraging this flaw, an attacker may be able to cause
arbitrary HTML and script code to be executed by a user's browser
within the context of the affected application, leading to cookie
theft and similar attacks.

See also :

http://archives.neohapsis.com/archives/bugtraq/2005-07/0038.html

Solution :

Upgrade to AutoIndex version 1.5.3 or later if using 1.x, or to version
2.1.1 or later if using 2.x.

Risk factor :

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

Family: CGI abuses : XSS

Nessus Plugin ID: 19385 (autoindex_search_xss.nasl)

Bugtraq ID: 14154

CVE ID: CVE-2005-2163