Anaconda Foundation Directory远程目录遍历漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1106042 漏洞类型 未知
发布时间 2000-10-13 更新时间 2006-08-16
CVE编号 CVE-2000-0975 CNNVD-ID CNNVD-200012-116
漏洞平台 CGI CVSS评分 5.0
|漏洞来源
https://www.exploit-db.com/exploits/20611
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200012-116
|漏洞详情
AnacondaFoundationDirectory是一个基于开放目录项目(www.dmoz.org)类似Yahoo的搜索引擎。AnacondaFoundationDirectory存在漏洞,远程攻击者可以遍历目标主机的文件系统,获取服务器上的目录和文件内容。脚本'apexec.pl'的'template'变量没有检查用户输入的数据,远程攻击者在请求的url里使用'../'技术和在文件扩展名后加null字节加'.html'就可以遍历目录访问任意文件。
|漏洞EXP
source: http://www.securityfocus.com/bid/2338/info

A vulnerability exists in Anaconda Foundation Directory which allows a remote user to traverse the filesystem of a target computer. This may lead to the disclosure of file and directory contents.

Arbitrary files can be accessed through the use of double dot '../' techniques and by appending a null byte followed by '.html' to the extension of the filename in question. The file 'apexec.pl' in conjunction with the variable 'template' are subject to this directory traversal vulnerability.

Update: It was originally believed that this issue does not affect Anaconda Foundation Directory versions 1.5 and subsequent. New information suggests that newer versions of the script are still vulnerable to this issue. 

http://www.example.com/cgi-bin/apexec.pl?etype=odp&template=../../../../../../../../../directory/filename.ext%00.html&passurl=/category/

http://www.example.com/cgi-bin/apexec.pl?template=/etc/passwd%%0000.html
|参考资料

来源:BUGTRAQ
名称:20001012AnacondaAdvisory
链接:http://archives.neohapsis.com/archives/bugtraq/2000-10/0210.html
来源:XF
名称:anaconda-apexec-directory-traversal
链接:http://xforce.iss.net/static/5750.php
来源:OSVDB
名称:435
链接:http://www.osvdb.org/435