AutoIndex PHP Script index.php search Parameter XSS

This script is Copyright (C) 2005-2015 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 :

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
CVSS Temporal Score : 4.3
Public Exploit Available : true

Family: CGI abuses : XSS

Nessus Plugin ID: 19385 (autoindex_search_xss.nasl)

Bugtraq ID: 14154

CVE ID: CVE-2005-2163