Justin Hagstrom Auto Directory Index 1.2.3 - Cross-Site Scripting

Author: David Sopas Ferreira
type: webapps
platform: php
port: 
date_added: 2003-11-17  
date_updated: 2012-12-14  
verified: 1  
codes: OSVDB-2820  
tags:   
aliases:   
screenshot_url:   
application_url:   

raw file: 23386.txt  
source: https://www.securityfocus.com/bid/9056/info


It has been reported that Auto Directory Index is prone to a cross-site scripting vulnerability. The issue is reported to exist due insufficient sanitization of user-supplied data through the 'dir' parameter, which will then be included in a dynamically generated web page. The problem may allow a remote attacker to execute HTML or script code in the browser of a user following a malicious link created by an attacker.

Auto Directory Index version 1.2.3 is reported to be prone to this issue, however other versions may be affected as well.

http://www.example.com/index.php?dir=<script>malicious_code</script>